summaryrefslogtreecommitdiff
path: root/dev-python/python-glanceclient
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-11 06:15:16 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-11 06:15:16 +0000
commit261ec5fcc9d9a0fb341c05472f26bc2df3c58b19 (patch)
treed18e917bde6406b01dc2a35a55b06f41539fc253 /dev-python/python-glanceclient
parent0f5515bc139488ed5cdb410d136b9bcefe32bd9e (diff)
downloadbaldeagleos-repo-261ec5fcc9d9a0fb341c05472f26bc2df3c58b19.tar.gz
baldeagleos-repo-261ec5fcc9d9a0fb341c05472f26bc2df3c58b19.tar.xz
baldeagleos-repo-261ec5fcc9d9a0fb341c05472f26bc2df3c58b19.zip
Adding metadata
Diffstat (limited to 'dev-python/python-glanceclient')
-rw-r--r--dev-python/python-glanceclient/Manifest1
-rw-r--r--dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest
index ca5ee8a5ab3e..b1c35712f959 100644
--- a/dev-python/python-glanceclient/Manifest
+++ b/dev-python/python-glanceclient/Manifest
@@ -1 +1,2 @@
DIST python_glanceclient-4.8.0.tar.gz 208444 BLAKE2B e880bb7eded96b933c40981d408d772e7486971ab243cec0ea8b09ff82f69f20dfe96bb0765eb5102996a16f052ab21bad220539b2903bbcc5f80a4f82659abe SHA512 2948ca3b215c3f3b32cfd7f60c8fd40aecceb96fcc005519b3c21e98f3045ad24a77aa1700962eae5ef707eb35b8afb58f6bf96911ce4146ced05219b1e4b58f
+DIST python_glanceclient-4.9.0.tar.gz 208601 BLAKE2B 5a66cb7c49eefebbd46737c373e5397557e97a19c72653c8da176cd0c46576c14fa9ed2803148ee71cfee0203e9e0ef29f831e17b3ee080c4f74280d4cb20dee SHA512 f3e04de7b2cc424344f4778a202cde3a2aae72bcc792beff1efd4cf9636289153b4dc5b90ed177cdda246b3413a4ed8a6b82197a134f26d25a71027ca3eb2dcc
diff --git a/dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild
new file mode 100644
index 000000000000..500aa6ae62f3
--- /dev/null
+++ b/dev-python/python-glanceclient/python-glanceclient-4.9.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A client for the OpenStack Glance API"
+HOMEPAGE="
+ https://opendev.org/openstack/python-glanceclient/
+ https://github.com/openstack/python-glanceclient/
+ https://pypi.org/project/python-glanceclient/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/keystoneauth1-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/wrapt-1.7.0[${PYTHON_USEDEP}]
+"
+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}]
+ )
+"
+
+distutils_enable_tests unittest
+
+PATCHES=(
+ # combined patch for urllib3-2 and py3.12 test failures
+ # https://bugs.launchpad.net/python-glanceclient/+bug/2069684
+ # https://bugs.launchpad.net/python-glanceclient/+bug/2069682
+ "${FILESDIR}/${PN}-4.6.0-test.patch"
+
+ # py3.13 added close() to mock_open calls
+ # https://review.opendev.org/c/openstack/python-glanceclient/+/923628
+ "${FILESDIR}/${PN}-4.6.0-test-py3.13.patch"
+)
+
+python_test() {
+ # functional tests require cloud instance access
+ eunittest -b glanceclient/tests/unit
+}