aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-09-28 17:06:59 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-09-28 17:07:21 +0200
commit226ce18fb6a37d2cd4fdb1e93449ff48838d95d0 (patch)
treef548d70dbc6ace5b1bd7397eac1aeb9818d4abfb /dev-python
parentdev-util/aws-cli-bin: add missing ||die to install (diff)
downloadguru-226ce18fb6a37d2cd4fdb1e93449ff48838d95d0.tar.gz
guru-226ce18fb6a37d2cd4fdb1e93449ff48838d95d0.tar.bz2
guru-226ce18fb6a37d2cd4fdb1e93449ff48838d95d0.zip
dev-python/oslo-vmware: add 3.9.1, drop 3.7.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/oslo-vmware/Manifest2
-rw-r--r--dev-python/oslo-vmware/oslo-vmware-3.9.1.ebuild (renamed from dev-python/oslo-vmware/oslo-vmware-3.7.0.ebuild)33
2 files changed, 25 insertions, 10 deletions
diff --git a/dev-python/oslo-vmware/Manifest b/dev-python/oslo-vmware/Manifest
index 32a9a44e9..af458b5d4 100644
--- a/dev-python/oslo-vmware/Manifest
+++ b/dev-python/oslo-vmware/Manifest
@@ -1 +1 @@
-DIST oslo.vmware-3.7.0.tar.gz 334704 BLAKE2B f3dd399a1cc53904070f687e1d16915097ed78147270e32c3ce71ff7621c19229a5ad1ff345bafa794567a41d83bfa613f87e07ee08f04b90b62d403be0cba63 SHA512 e9a1b0303b7208fd8071ba5c2a677ec09568cd837489d329667f9e4eb93b5aa56490fa1cda9b7927f6ee071c5b44f302742f80bfeab9812d38c3c6376b5d117f
+DIST oslo.vmware-3.9.1.tar.gz 466589 BLAKE2B cd4a29dc6131e9ac3afce3faae5153c24235b49c4cb51de5917b3d7fb68b5b88048f871e7448f9c84ec9b187d293624ce7e9614c9827ad2ae95bb5a5cb77090b SHA512 323eead60aa91f6fb82c928f5140d3447d45c657d889564bc5ad47eb53f057f54873210695734b3366d3b3b9cf9d248c92211168eb0bda61d7fadc7ca49bd1e9
diff --git a/dev-python/oslo-vmware/oslo-vmware-3.7.0.ebuild b/dev-python/oslo-vmware/oslo-vmware-3.9.1.ebuild
index e3b1e894b..3da8633e5 100644
--- a/dev-python/oslo-vmware/oslo-vmware-3.7.0.ebuild
+++ b/dev-python/oslo-vmware/oslo-vmware-3.9.1.ebuild
@@ -1,13 +1,19 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
+EPYTEST_DESELECT=( oslo_vmware/tests/test_service.py::RequestsTransportTest::test_send_with_local_file_url )
PYTHON_COMPAT=( python3_8 )
inherit distutils-r1
DESCRIPTION="Oslo VMware library for OpenStack projects"
-HOMEPAGE="https://pypi.org/project/oslo.vmware/"
+HOMEPAGE="
+ https://pypi.org/project/oslo.vmware
+ https://opendev.org/openstack/oslo.vmware
+ https://launchpad.net/oslo.vmware
+"
SRC_URI="mirror://pypi/${PN:0:1}/oslo.vmware/oslo.vmware-${PV}.tar.gz"
S="${WORKDIR}/oslo.vmware-${PV}"
@@ -15,13 +21,8 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-DEPEND="
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
-"
RDEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
>=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}]
@@ -30,12 +31,26 @@ RDEPEND="
>=dev-python/lxml-4.5.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}]
"
+DEPEND="
+ ${RDEPEND}
+ >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/hacking-3.0.1[${PYTHON_USEDEP}]
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/bandit-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
python_prepare() {
sed -i '/^suds-jurko/d' requirements.txt || die