dev-python/oslo-vmware: 3.3.1 bump
authorMatthew Thode <prometheanfire@gentoo.org>
Sat, 16 May 2020 18:34:33 +0000 (13:34 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Sat, 16 May 2020 21:21:08 +0000 (16:21 -0500)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
dev-python/oslo-vmware/Manifest
dev-python/oslo-vmware/oslo-vmware-3.3.1.ebuild [new file with mode: 0644]

index d03fa2af05fb2ac4e332ad13370b90aaa576a8e0..7683a922d40ebe4aefa89f8f68ad29f7cf1b5688 100644 (file)
@@ -1 +1,2 @@
 DIST oslo.vmware-2.32.2.tar.gz 334130 BLAKE2B ba1fcec92812613fc202afd8d5eab3c4de65f2451bf17dbae383dd6176a0fda73d1661c1d066e3c9fa24686562c46b0b8927f359632d8f2f94c9d3d185ef802d SHA512 2f18f38590221a14e876607ccb9b8d1b5f25cca1e714c3256980b1f818ac1a1d2f9d3f1418bee7289b1efe01bfff1ae17f76663eb4a96a90e4d17a05dc39e91f
+DIST oslo.vmware-3.3.1.tar.gz 334352 BLAKE2B 54fecc7ea66aa36091938ae47f4cf9c59eba9ae06644ee77d7a1caff11d59c4a2da2ed93c908735b9e8478e9bfcfde5db49a16134f78d898026cf447a4251d1e SHA512 db816da1c472ae861a3a28e17bf87c70fcb41c8f982bc461ce9e9c1c5607b84e5a72321f5f4761c6646c3b72335e450872f872d90980030d8f014e1f1d08ec46
diff --git a/dev-python/oslo-vmware/oslo-vmware-3.3.1.ebuild b/dev-python/oslo-vmware/oslo-vmware-3.3.1.ebuild
new file mode 100644 (file)
index 0000000..577e06d
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Oslo VMware library for OpenStack projects"
+HOMEPAGE="https://pypi.org/project/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"
+RESTRICT="!test? ( test )"
+
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+       !~dev-python/pbr-2.1.0"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       ${CDEPEND}
+       test? (
+               >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+               >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
+               >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+               >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+               >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
+               !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
+               >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
+               >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+               >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
+       )"
+RDEPEND="
+       ${CDEPEND}
+       >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
+       >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
+       >=dev-python/lxml-2.4.1[${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/eventlet-0.20.1[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
+       >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
+       >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-context-2.19.2[${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}"
+}