diff options
Diffstat (limited to 'dev-python/python-glanceclient')
| -rw-r--r-- | dev-python/python-glanceclient/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-glanceclient/python-glanceclient-4.13.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index 4268b76d1a64..f61d8143c1a4 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1 +1,2 @@ DIST python_glanceclient-4.12.0.tar.gz 205137 BLAKE2B 04a3ac06c940072fe4b5c59a966f41a7f4194465a7718232712636f8e48105bdf678868b89674e59525336ccc095f9cc562723634b7535ff4b95580c6327d9ac SHA512 0c8e3ecc0d03cfdc33f0427d5983cabe4140d2a66dec638f9348717183032660009eb832ec31c0ec78b83126a2c3b3b4674bfcbdb7c81de7725e4a88f1c27851 +DIST python_glanceclient-4.13.0.tar.gz 207246 BLAKE2B b51e5f7513aa36bcb1eb3614e1b7a6d66c05ffd188faa9d615c6d87e30bd12f465012e6a72d00743f04dd5ae67e90e2fe29bac6cbb7d78607be78c3a44fe40ab SHA512 c49f60ba05ca2ba4e001ff3a8d9962db9336e20d35fa22bc29ce47f9375a10272a584c737d4edd2516dd49ed833cf1305c0e81029c0c8673073bf4ffc47ddf79 diff --git a/dev-python/python-glanceclient/python-glanceclient-4.13.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.13.0.ebuild new file mode 100644 index 000000000000..d91ad3e285d0 --- /dev/null +++ b/dev-python/python-glanceclient/python-glanceclient-4.13.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYTHON_COMPAT=( python3_{13..14} ) + +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=" + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.10.0[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +PATCHES=( + # https://review.opendev.org/c/openstack/python-glanceclient/+/986313 + "${FILESDIR}/${PN}-4.12.0-py315.patch" +) + +python_test() { + # functional tests require cloud instance access + eunittest -b glanceclient/tests/unit +} |
