diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2017-07-06 11:37:25 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2017-07-06 11:57:55 -0500 |
commit | fc51e194890ef36611440b668305324c00d1e336 (patch) | |
tree | faefc701814a2f574fbfb30b72b2058a1de0f5ef /dev-python | |
parent | dev-python/stevedore: cleanup (diff) | |
download | gentoo-fc51e194890ef36611440b668305324c00d1e336.tar.gz gentoo-fc51e194890ef36611440b668305324c00d1e336.tar.bz2 gentoo-fc51e194890ef36611440b668305324c00d1e336.zip |
dev-python/stevedore: 1.20.1 bup
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/stevedore/Manifest | 1 | ||||
-rw-r--r-- | dev-python/stevedore/stevedore-1.20.1.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest index d56578537d1e..6b8a6db78ed8 100644 --- a/dev-python/stevedore/Manifest +++ b/dev-python/stevedore/Manifest @@ -1 +1,2 @@ DIST stevedore-1.20.0.tar.gz 505716 SHA256 83884f80ed0917346e658bfe51cdb2474512ec6521c18480b41f58b54c4a1f83 SHA512 c4519004eb61ab6ca48cf3b9e543d6c9d726d6f9e1208b6d6e44eb1e770cd7c5c1f378464e50a5510f99f3d91f1d2cf93e9cf3e1812aeab3bfa71a04dcb695d2 WHIRLPOOL 8b169c02d8e92dde53288fdc11b6dd02ce0bae81bf583e675cd9e959537cc54c19b9183468ec83d6206a6d3bf47f33d8597202acd2bae56dde81e8bd37255a5c +DIST stevedore-1.20.1.tar.gz 505908 SHA256 046200a915780b58bf1c84436e86701b741d664893aefa84d8aceadd15ed4734 SHA512 7518fb4cac2ea15867a616373521169fd114152ae7e657deb26dbcf874f2442336824ded480973b4334e9b56c349abd165aab7779defc219f57d7ba7f670048c WHIRLPOOL e67a89733def07e8425750d9bc742388de83f8cb13d95dd0001fba4136449e74c465b847a7218df423633d311f0af0003eda8087eb0a4e071ab4d2e78949fca7 diff --git a/dev-python/stevedore/stevedore-1.20.1.ebuild b/dev-python/stevedore/stevedore-1.20.1.ebuild new file mode 100644 index 000000000000..a10bbe2975d8 --- /dev/null +++ b/dev-python/stevedore/stevedore-1.20.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Manage dynamic plugins for Python applications" +HOMEPAGE="https://github.com/openstack/stevedore https://pypi.python.org/pypi/stevedore" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" + +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/pillow-2.4.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] + <dev-python/sphinx-1.4[${PYTHON_USEDEP}] + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${CDEPEND} + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]" + +python_prepare_all() { + # Delete spurious data in requirements.txt + sed -e '/^pbr/d' -i requirements.txt || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + nosetests --verbosity=3 stevedore || die +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + + distutils-r1_python_install_all +} |