commit:     9dc01c65fc0afcb3c15e49433ea321d39b91916e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Oct 11 21:53:20 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Oct 11 21:53:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9dc01c65

dev-python/python-saharaclient: add 3.4.0, drop 3.2.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/python-saharaclient/Manifest            |  2 +-
 ...2.1.ebuild => python-saharaclient-3.4.0.ebuild} | 35 ++++++++++++++--------
 2 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/dev-python/python-saharaclient/Manifest 
b/dev-python/python-saharaclient/Manifest
index 17d2a6b00..c869061a0 100644
--- a/dev-python/python-saharaclient/Manifest
+++ b/dev-python/python-saharaclient/Manifest
@@ -1 +1 @@
-DIST python-saharaclient-3.2.1.tar.gz 106266 BLAKE2B 
a9f439028ae523a452b5cdc0024e4d44527c3114826432cef837df1c32bbd89035ec09c8f72c349e7fc8347d438236b61e20df253119bf35bf69e27b00c2affa
 SHA512 
a0e9dec4a8a1b86de182535060c99d79c7aa4c93f801088a0b7d6a40084294821c22de531b00cf73b4f6940e72dc43e505bea8aee218fdcb63ef0727aa806544
+DIST python-saharaclient-3.4.0.tar.gz 109109 BLAKE2B 
50cad26c0daeb93dd9a42e043303b3778013889eab161663f394ef0cad11a0bf1022b0101000b0bf635be9f3021a03077c1c7a2687b55e1543e7d43e7f4146f5
 SHA512 
8cc4fa2db5d5f84ed13c9975e27a03cceb36664fd2564e543981dfe7cbf2c38b3059695742e1fc20380332b8df14256ef900b34041f53ac358b99177d619094d

diff --git a/dev-python/python-saharaclient/python-saharaclient-3.2.1.ebuild 
b/dev-python/python-saharaclient/python-saharaclient-3.4.0.ebuild
similarity index 57%
rename from dev-python/python-saharaclient/python-saharaclient-3.2.1.ebuild
rename to dev-python/python-saharaclient/python-saharaclient-3.4.0.ebuild
index 80cc66be1..9285c3132 100644
--- a/dev-python/python-saharaclient/python-saharaclient-3.2.1.ebuild
+++ b/dev-python/python-saharaclient/python-saharaclient-3.4.0.ebuild
@@ -1,35 +1,46 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-PYTHON_COMPAT=( python3_8 )
+EAPI=8
+
 DISTUTILS_USE_SETUPTOOLS=bdepend
+PYTHON_COMPAT=( python3_8 )
 
 inherit distutils-r1
 
 DESCRIPTION="This is a client for the OpenStack Sahara API, aka HADOOP"
-HOMEPAGE="https://github.com/openstack/python-saharaclient";
+HOMEPAGE="
+       https://github.com/openstack/python-saharaclient
+       https://opendev.org/openstack/python-saharaclient
+       https://launchpad.net/python-saharaclient
+       https://pypi.org/project/python-saharaclient
+"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
+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/keystoneauth-3.4.0[${PYTHON_USEDEP}]
        >=dev-python/osc-lib-2.0.0[${PYTHON_USEDEP}]
        >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
-       >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}]
-       !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}]
+       >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}]
        >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
        >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
        >=dev-python/python-openstackclient-5.2.0[${PYTHON_USEDEP}]
        >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
        >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
 "
+DEPEND="
+       ${RDEPEND}
+       test? (
+               >=dev-python/hacking-3.0.1[${PYTHON_USEDEP}]
+               >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
+               >=dev-python/stestr-1.0.0[${PYTHON_USEDEP}]
+               >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest

Reply via email to