commit:     0eb707a79d8da52ef3d54ab907e3295af960ca8b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 18:52:38 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 19:41:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb707a7

dev-python/python-glanceclient: add 4.1.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/python-glanceclient/Manifest            |  1 +
 .../python-glanceclient-4.1.0.ebuild               | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/python-glanceclient/Manifest 
b/dev-python/python-glanceclient/Manifest
index 663cf8f0b608..cc2c40c14710 100644
--- a/dev-python/python-glanceclient/Manifest
+++ b/dev-python/python-glanceclient/Manifest
@@ -1 +1,2 @@
 DIST python-glanceclient-4.0.1.tar.gz 202810 BLAKE2B 
ccc328aac739979d9ef3b3c4b6cccbef0865860827112c73a7d15d257f1735c69bac54d5771a27d6e6dbfaada4825b624d312a17195b081f3b5800b662c3f926
 SHA512 
23e931741430c0ba9606b5f013c6724285f8d49691c092c11db97434d963bd257639df769cdbc0e18ea2f5a57c13b03c887e8a091fdb40b292ae6a33f28b4e31
+DIST python-glanceclient-4.1.0.tar.gz 204252 BLAKE2B 
484753886663f10b93fc2d9a0c3c2a1359324d989edfa26c0fe26cb7ab74897a5a81a3fac201d53af375d111e0b1e043fce79b1f3d3f153854bd9f63db756a9f
 SHA512 
413d5a77c4b014f6300513552aca33a04e9a34e9bfa9c93ecc9008c79123ba7f20e527f3ad7506d066c0d215aa7fbf57a589a5f015fe1bc52479b8c57c760adf

diff --git a/dev-python/python-glanceclient/python-glanceclient-4.1.0.ebuild 
b/dev-python/python-glanceclient/python-glanceclient-4.1.0.ebuild
new file mode 100644
index 000000000000..5d8029e264f1
--- /dev/null
+++ b/dev-python/python-glanceclient/python-glanceclient-4.1.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A client for the OpenStack Glance API"
+HOMEPAGE="https://github.com/openstack/python-glanceclient";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+       >=dev-python/keystoneauth-3.6.2[${PYTHON_USEDEP}]
+       >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
+       >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+       >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
+       >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
+       >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}]
+       <dev-python/warlock-2[${PYTHON_USEDEP}]
+       >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
+"
+# Tests fail with dev-python/prettytable-3.4.0
+BDEPEND="
+       >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
+       test? (
+               dev-python/ddt[${PYTHON_USEDEP}]
+               dev-python/fixtures[${PYTHON_USEDEP}]
+               dev-python/requests-mock[${PYTHON_USEDEP}]
+               dev-python/tempest[${PYTHON_USEDEP}]
+               dev-python/testscenarios[${PYTHON_USEDEP}]
+               dev-python/testtools[${PYTHON_USEDEP}]
+               <dev-python/prettytable-3.4.0[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+       # functional tests require cloud instance access
+       eunittest -b glanceclient/tests/unit
+}

Reply via email to