diff options
Diffstat (limited to 'dev-python/python-cinderclient')
-rw-r--r-- | dev-python/python-cinderclient/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-cinderclient/python-cinderclient-9.2.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest index 55d91b620cdb..d83e21206a19 100644 --- a/dev-python/python-cinderclient/Manifest +++ b/dev-python/python-cinderclient/Manifest @@ -1,5 +1,7 @@ AUX python-cinderclient-9.1.0-fix-py3.11-argparse.patch 2529 BLAKE2B 28cc877b2e77ae034df5fcdfdbf12b9478eed4d952e547be76925cdc5d3932788f637fd2d043a1f7432f62cd3cffbe8a887279fe05956cf5ecfff645b94a7d55 SHA512 3b2f427a1d80ed9f5d0318cd738a6f3e3c0e1929febf8a872b1636843109cf3f4b44a81b371a35ce658562cf2563dac103fae8632bf06e856283b56a933dd507 AUX python-cinderclient-9.1.0-fix-py3.11-crashes.patch 2148 BLAKE2B f7e8a4512e48689d1ce17d13c01ac9dd6c0b875b0ff67307e35d2f9d4e85b13d97ba660f8b53452eebe55a6919a4f52a18ca4b20f57529eae3ae64e187f75c31 SHA512 79fe4a908609994550067f96454f4a4c12268fdebb9c8fccf2dd09d239d208adbfacd5f5591a1d5dd29bdf711c6b38a4800b97826a373f10a8cad472a30ef87f DIST python-cinderclient-9.1.0.tar.gz 234608 BLAKE2B 9ff63454e8162d731517ce2d98b6ea0c3cf04ef5a885e30afaa67444eb7f814c1ac205a0a216c7a3b92311be5687b9e2561aa02936e87b91ca61c8ea663e069f SHA512 2aa55331d5f372cccb946a4be2e25d4cc6a1d9d9676f1f32b9b51f141d107f74bcb1d0d7a5ef94b931fc5a5ccacb43f639db635217a7833d7738296734938f8b +DIST python-cinderclient-9.2.0.tar.gz 235773 BLAKE2B 1b4e1c27dec6d74a2c95e3aadbdfb296bf6105ba5a23599babfcf8fc5c37fb52eecf7897eaa0680277b903b1725de2cb7d9a108942fa1be5067b25dce8ca0c72 SHA512 76032779bfa2dbc6c7aecc6631ab42b80bff21437d5037e6bbc5d78a23ce493a7a185c4ee8c1657b41c0bf376a6c919b027f81577f2826fc4222334d8216fda5 EBUILD python-cinderclient-9.1.0.ebuild 1438 BLAKE2B 211ea96837679e08810eda0a1350f81d69299dfdc2cc803aba2a6320869c7e093f623c713a6f254231607dd74d259cf2b9fa1164a18fb9f850b217606d5277e7 SHA512 92165ff3605dbe60692b3bd2213a68487493fe5b4a5a6ab058b945127d8900225163a89e2dc39543424807b861ee3e20e9930c9f6700895801931380b8914863 +EBUILD python-cinderclient-9.2.0.ebuild 1454 BLAKE2B 4c08d1b07abb4969cb079743ca5f596c0610fb136639bf0e5b78c8a6a708a59c353ca21745602cef842fa5678caf8f4cbdf91329956f581ff2c67c61eab0bf2f SHA512 763f04d8a4caa5e33b99efec05f117d49cc2c540cdd28f74731eddf9ad6f0c4373d1972d94c0cfbcd9c3d2555fa561f406a641b206b0872f4e3f605f14de2411 MISC metadata.xml 727 BLAKE2B 0017cc08edf25f27b8a2816bc3ce1374148a17522bf2c5ea643ad10cde9f5779b1b6bf1e3c91627db76d2f77b8dcbfc87a29fb2cdd8064b3140fb14d1e6e00a1 SHA512 e30e64371f7a5f5fa506396f2edbbc7f862a585c7fe9af4f6fe63e99d4bbe9f9bf3a1f002a62c40ab9d75bd90ab99446bb80bf7f2fedf5b37287eeb54e5dacbe diff --git a/dev-python/python-cinderclient/python-cinderclient-9.2.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.2.0.ebuild new file mode 100644 index 000000000000..39b6c7ad8c83 --- /dev/null +++ b/dev-python/python-cinderclient/python-cinderclient-9.2.0.ebuild @@ -0,0 +1,52 @@ +# 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..11} ) + +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Cinder API" +HOMEPAGE="https://launchpad.net/python-cinderclient" +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-4.3.1[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}] + >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] + >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] +" +# Tests fail with dev-python/prettytable-3.4.0 +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslo-serialization[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + <dev-python/prettytable-3.4.0[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-9.1.0-fix-py3.11-argparse.patch" + "${FILESDIR}/${PN}-9.1.0-fix-py3.11-crashes.patch" +) + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b cinderclient/tests/unit +} |