diff options
Diffstat (limited to 'dev-python/python-glanceclient')
-rw-r--r-- | dev-python/python-glanceclient/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-glanceclient/python-glanceclient-4.8.0.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index 98fe924869dc..e0da5f1ce463 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1,5 +1,7 @@ AUX python-glanceclient-4.6.0-test-py3.13.patch 3309 BLAKE2B 10d1b031f0cc4014cb4a7027b4d7af5f3f271cc3bf7e7dc8222a9e81cb93e2e2351e1812d3a371da9eba09ae7eac39b9492005b2ca341849cb8820591c7abc7d SHA512 cd699eacd600df4aabdb67ec7017419023d48bbdef25909326bd722c0b8a8b4291edc71090ae32b2207e8fb1f2b0a2dd2c6de46dda50ddad11e40c510d1dd87e AUX python-glanceclient-4.6.0-test.patch 4172 BLAKE2B 3b2d7c7e132cb3a71e1be0f9a6306915ab757d83e814b88acec0a45f8bb44d0c22e428094c03dd6bdf786c12276883412cd979560fa33129039631429ae4aaa9 SHA512 75b5f8a1f85ae68f330d4c8370b06ac3be5f09285df4c608469b00f815332ec38de337075ad4053c64044bc2d2fe6e0d1ebf461aae81385888a344c24fc82bbc DIST python-glanceclient-4.7.0.tar.gz 208314 BLAKE2B 97a157781efc0fc67d67f25119edea2a3f85344447e4614f41c73a3f9abda1c9ba646ca7f8d7b2b315b4572997ec730e6eef1782852590e7021f69c61b02920b SHA512 5fff50d499b7fe439cb43c7d396a7dd28439f45cfc157e4fdefb029e7db4cc9955911aae9c4d748fc19bd10ad66d299e26a1178a63a866fef7fb60164467c79d +DIST python_glanceclient-4.8.0.tar.gz 208444 BLAKE2B e880bb7eded96b933c40981d408d772e7486971ab243cec0ea8b09ff82f69f20dfe96bb0765eb5102996a16f052ab21bad220539b2903bbcc5f80a4f82659abe SHA512 2948ca3b215c3f3b32cfd7f60c8fd40aecceb96fcc005519b3c21e98f3045ad24a77aa1700962eae5ef707eb35b8afb58f6bf96911ce4146ced05219b1e4b58f EBUILD python-glanceclient-4.7.0.ebuild 1799 BLAKE2B 062e6cf91bad2d7dc3d15a1f30c54a73e9842b6b6a8d5f28a1a074420df65f0c02ebc92b3d41d22fbf0e98c42c6dd229892ca0c14c110f5751ad5ed363940843 SHA512 3d2318764ea5d5deb0be45df540801bc19143b56acf4490a7fcd3db44d2050b383b1db7b1d0725fdf8ec45981a7bda40844c1883bf78ff9ab6a8e0a11a40cb54 +EBUILD python-glanceclient-4.8.0.ebuild 1782 BLAKE2B 0e3aca0e5ba2b62ad6ee98a156e5090806c4586412c907bd5417c92c16af225c311bcfea243a7e3fe244d203fa947925ddde66257f4aabc5449bb7f2ed52763d SHA512 14de7a71ba214550baa154def389ac1b9ab9f3151f27d13ed7aa36477a7362e1373e5534327ebc0c4075c85a26f90b274cd611e9d55c57c5a673b4d550ea827e MISC metadata.xml 663 BLAKE2B 642540f3f4d577797725731f2374b5801ec2d4ad799ee4ccfaa4e29d955bd93a8ade0e6c9ec7712ee27d9f1f93186854472d301016a732020575b8f7bc1c5138 SHA512 fa9b88dce5a10824dd0d6987698587666343c95d8b6c607e466f14883c34fb0ebc846b683ae7d8bb65efe88007e6db0d2b1b41ba389c3b656a24f1839d03d9e2 diff --git a/dev-python/python-glanceclient/python-glanceclient-4.8.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.8.0.ebuild new file mode 100644 index 000000000000..9f7a084837aa --- /dev/null +++ b/dev-python/python-glanceclient/python-glanceclient-4.8.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_{10..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 +} |