dev-python/stevedore: 1.25.1 bup
authorMatthew Thode <prometheanfire@gentoo.org>
Wed, 22 Nov 2017 01:45:30 +0000 (19:45 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Wed, 22 Nov 2017 01:59:57 +0000 (19:59 -0600)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

dev-python/stevedore/Manifest
dev-python/stevedore/stevedore-1.25.1.ebuild [new file with mode: 0644]

index be8a21e280d01b82a1a6e1999937dced5b3983dc..e7555ec912305d95fabc254dacf53d8b5b0b81de 100644 (file)
@@ -1,2 +1,3 @@
 DIST stevedore-1.20.1.tar.gz 505908 SHA256 046200a915780b58bf1c84436e86701b741d664893aefa84d8aceadd15ed4734 SHA512 7518fb4cac2ea15867a616373521169fd114152ae7e657deb26dbcf874f2442336824ded480973b4334e9b56c349abd165aab7779defc219f57d7ba7f670048c WHIRLPOOL e67a89733def07e8425750d9bc742388de83f8cb13d95dd0001fba4136449e74c465b847a7218df423633d311f0af0003eda8087eb0a4e071ab4d2e78949fca7
 DIST stevedore-1.25.0.tar.gz 505985 SHA256 c8a373b90487b7a1b52ebaa3ca5059315bf68d9ebe15b2203c2fa675bd7e1e7e SHA512 d0e01312e75f7166c49bc4b57f5ea54492f6bbb0dbb02ae8cd50ce4e4ba4e71db936715f3076c49e554d9f6cc87a5b0166a1814072c56d69950fb9b6cbecf05c WHIRLPOOL 62454f1b1d349f30d0ce5a0324261e42497a821803491c082b1c4ed4266cdd151b11e0584f1add4e7dd4b50ab83f3991beacc03393d5e7ffa4ea303ae760b869
+DIST stevedore-1.25.1.tar.gz 509014 SHA256 4def435de90ba69c69954e641cdf877f5e5d660568c355c5c6805710c15d8504 SHA512 f3d2a7360e783c800c3c2488f6adf6f9f76e34e4a4e6f3fc53d2f1114b889c443c13fdf217ddce65a41922dda2c782f19b2077847807c70e732a522fd2166ff0 WHIRLPOOL 1230a08c09b1a371e29e8eb24a2ded4d098eae3ad968f76f522beabf232a6f2393657dae7ecb80f9659a584062be41fe1e0d816fb1a2e43ac686824c0ea1d88a
diff --git a/dev-python/stevedore/stevedore-1.25.1.ebuild b/dev-python/stevedore/stevedore-1.25.1.ebuild
new file mode 100644 (file)
index 0000000..c26032f
--- /dev/null
@@ -0,0 +1,63 @@
+# 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-2.0.0[${PYTHON_USEDEP}]
+       !~dev-python/pbr-2.1.0[${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/coverage-4.4[${PYTHON_USEDEP}]
+               >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+               >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
+               !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
+       )
+       doc? (
+               >=dev-python/pillow-2.4.0[${PYTHON_USEDEP}]
+               >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
+               >=dev-python/openstackdocstheme-1.16.0[${PYTHON_USEDEP}]
+               >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
+               !~dev-python/reno-2.3.1[${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
+}