summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/oslo-vmware')
-rw-r--r--dev-python/oslo-vmware/Manifest1
-rw-r--r--dev-python/oslo-vmware/oslo-vmware-2.17.0.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/oslo-vmware/Manifest b/dev-python/oslo-vmware/Manifest
index 2d81612d6257..81b896590062 100644
--- a/dev-python/oslo-vmware/Manifest
+++ b/dev-python/oslo-vmware/Manifest
@@ -1,2 +1,3 @@
DIST oslo.vmware-2.14.0.tar.gz 86385 SHA256 ba93eff5cb672ddee3e58f8d10e7d121e387c8090b3acdff7acbbfb05389914f SHA512 6b1c40d28b32a92e15c89b71ad6f2aea79de18144812a6f865b34072b8643814663854a1a52b732bf24ccd825b395f0744ef8514c58fe57b25ec3fc5b72e66ff WHIRLPOOL 5ff5e039363fa8cc67567ac3c85ecedcc0b948f524fb2f4021fc5f04e783ec88b50f6408ce3256f8ed2d19c2e3bebe1bee19626d2730e0b18ad20c411304813a
+DIST oslo.vmware-2.17.0.tar.gz 205078 SHA256 f283a3c5b9ff79602519c758efebcb41d490eedf1d6f76e9d4e30e61fbd1d36d SHA512 03750c0bf498b45fe812e10e97c2efcbb04ea3c020f0dde26361c25ad4fc2ad10637930653ed4e667571ade02553e82adc79f9b74d3b766b5db923256d2cdcbb WHIRLPOOL 974ab36d2e4088b72cdd80376541c59f9d6ce18b3926051f6d7dfec2e8cf2291b36d14ad25bcb2290c547496dfb0a3c3bf6d67d1bf970a7d320f69bd1cc6ab8a
DIST oslo.vmware-2.5.0.tar.gz 81830 SHA256 cb1685acf7cb11be4cb72412c078d7b21350c4d34fd36e9a57361a4a51df018c SHA512 f5cc084e235fa48931744a30f6d8e1c42a95bf34b97a9adeeb79d29939b8feb76994de96e8e78b323436fd43846be5a0d2d1b140472ecfe99d33e77a2e28261a WHIRLPOOL f57db75ddb55c5a012dce85dbe86f03308e4f8ea577d9ad7937b7c3ab2f9e57ea6712de4d540480da1b8038ca3242383421d1c13300093fedfd8c4caf6cd62cc
diff --git a/dev-python/oslo-vmware/oslo-vmware-2.17.0.ebuild b/dev-python/oslo-vmware/oslo-vmware-2.17.0.ebuild
new file mode 100644
index 000000000000..e73a3fbf7894
--- /dev/null
+++ b/dev-python/oslo-vmware/oslo-vmware-2.17.0.ebuild
@@ -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 python3_5 )
+
+inherit distutils-r1
+
+DESCRIPTION="Oslo VMware library for OpenStack projects"
+HOMEPAGE="https://pypi.python.org/pypi/oslo.vmware"
+SRC_URI="mirror://pypi/${PN:0:1}/oslo.vmware/oslo.vmware-${PV}.tar.gz"
+S="${WORKDIR}/oslo.vmware-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ ${CDEPEND}
+ test? (
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/mock-2.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/coverage-4.0[${PYTHON_USEDEP}]
+ >=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}]
+ >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+RDEPEND="
+ ${CDEPEND}
+ >=dev-python/stevedore-1.17.1[${PYTHON_USEDEP}]
+ >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
+ !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
+ >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
+ >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
+ !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}]
+ >=dev-python/suds-0.6[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
+ !~dev-python/requests-2.12.2[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.15.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}]
+"
+python_prepare() {
+ sed -i '/^suds-jurko/d' requirements.txt || die
+ sed -i '/^hacking/d' test-requirements.txt || die
+}
+
+python_test() {
+ nosetests tests/ || die "test failed under ${EPYTHON}"
+}