summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-02-26 19:01:31 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2017-02-26 20:14:55 -0600
commit55dded05d01ecf3c7289328f025f862b80ef2b37 (patch)
tree2229ae78fcf82d9e01804e4d23c45278acc634f0
parentdev-python/python-keystoneclient: bup (diff)
downloadgentoo-55dded05d01ecf3c7289328f025f862b80ef2b37.tar.gz
gentoo-55dded05d01ecf3c7289328f025f862b80ef2b37.tar.bz2
gentoo-55dded05d01ecf3c7289328f025f862b80ef2b37.zip
dev-python/oslo-config: bup
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-python/oslo-config/Manifest1
-rw-r--r--dev-python/oslo-config/oslo-config-3.22.0.ebuild73
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/oslo-config/Manifest b/dev-python/oslo-config/Manifest
index 2b11f6e08de..b107ff1cd9e 100644
--- a/dev-python/oslo-config/Manifest
+++ b/dev-python/oslo-config/Manifest
@@ -1,2 +1,3 @@
DIST oslo-config-3.17.1.tar.gz 110680 SHA256 cca83fd492756239142b3ec4d49ca39cb32b7afc09cb1b26f66176577bc78ed2 SHA512 6079bb7185375a6d10774aa410780872fa910e9bdac1c92a90117d1bc626765186f710f8b44e7564bb68281ff07c043563527c3a99eff20500edbcb441562b7b WHIRLPOOL a17bd4c84511610f84331c66990db91d9129afc97b4f6c7aa7f18a36d4f607e88569e85d0b5db23e68c2a3f369d12b15d0328dad18404484dbf394d5f348afa6
+DIST oslo-config-3.22.0.tar.gz 118255 SHA256 6b7d341d8bdce8026028485f8238ee7865edb123ffb5f916956ed52f37de3e47 SHA512 2bc8b18f32baffc91a06b2b94b0adbe36c921d89b2737328689cec6646a0f8c34d9e015b330001ccdfcb606b381a27adeaa8da9461eee701f63f0edf963f43b8 WHIRLPOOL 9632b429b16d0b5764001cf046113fd6d97dc9154452b3e5c7f54c9be939e7ecf759e5f74e4aca75d9911a9fb0c0ca1c90b779b070ac5beb9b00cb82870cfbfe
DIST oslo-config-3.9.0.tar.gz 99255 SHA256 ec7bdf4a3d85f90cf07d2fa03a20783558ad0f490d71bd8faf50bf4ee2923df1 SHA512 c52d1ed16149a57748e81d4eed192636fc726a4f373cb5c5d7a1bcdbe43a0339f733f94a3d922aa85c6248749b69da06d6c671a152d301510603f50913176b1c WHIRLPOOL af288fc5b5c5fef3f6c5e128585355bf0624b9fc11519c679bb2d3399a67e5935510c677ef6d714c562197260081e9fbc7e8fc7b6cebcd7aa757eedf8b17eb2e
diff --git a/dev-python/oslo-config/oslo-config-3.22.0.ebuild b/dev-python/oslo-config/oslo-config-3.22.0.ebuild
new file mode 100644
index 00000000000..c271de48004
--- /dev/null
+++ b/dev-python/oslo-config/oslo-config-3.22.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit distutils-r1 vcs-snapshot
+
+MY_PN=${PN/-/.}
+
+DESCRIPTION="Oslo Configuration API"
+HOMEPAGE="https://launchpad.net/oslo"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+CDEPEND=">=dev-python/pbr-1.3[${PYTHON_USEDEP}]"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${CDEPEND}
+ test? (
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+ >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
+ >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/mock-2.0[${PYTHON_USEDEP}]
+ >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
+ )
+ doc? (
+ >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
+ <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
+ )
+"
+RDEPEND="
+ ${CDEPEND}
+ >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}]
+ !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/stevedore-1.17.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/rfc3986-0.3.1[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+ sed -i '/^hacking/d' test-requirements.txt || die
+ use doc && esetup.py build_sphinx
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ rm -rf .testrepository || die "could not remove '.testrepository' under ${EPTYHON}"
+
+ testr init || die "testr init failed under ${EPYTHON}"
+ testr run || die "testr run failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/build/html/. )
+
+ distutils-r1_python_install_all
+}