diff options
Diffstat (limited to 'dev-python/python-cinderclient')
| -rw-r--r-- | dev-python/python-cinderclient/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-cinderclient/metadata.xml | 22 | ||||
| -rw-r--r-- | dev-python/python-cinderclient/python-cinderclient-9.9.0.ebuild | 46 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest new file mode 100644 index 000000000000..265530a26726 --- /dev/null +++ b/dev-python/python-cinderclient/Manifest @@ -0,0 +1 @@ +DIST python_cinderclient-9.9.0.tar.gz 236806 BLAKE2B c4fe3f2b711e27defb2b585fe245e9b8f50eb68bc51ea2e2605e654983fc939fd1664e210f81a8ab264364150c7507d7046997477882a0584744f792a6ad5059 SHA512 7f3a8cdf6c3db29bf4e27cc63fbf7561e0edc5fab10faf0d03eef9993a902baf45a5fc5505af2bf03a971c2d73d2b42d6a4158e7ee2568be5fc3b30573e05e91 diff --git a/dev-python/python-cinderclient/metadata.xml b/dev-python/python-cinderclient/metadata.xml new file mode 100644 index 000000000000..67ae8c63517f --- /dev/null +++ b/dev-python/python-cinderclient/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">python-cinderclient</remote-id> + <remote-id type="launchpad">python-cinderclient</remote-id> + <remote-id type="github">openstack/python-cinderclient</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-cinderclient/python-cinderclient-9.9.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.9.0.ebuild new file mode 100644 index 000000000000..197e86aeeeb0 --- /dev/null +++ b/dev-python/python-cinderclient/python-cinderclient-9.9.0.ebuild @@ -0,0 +1,46 @@ +# 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 Cinder API" +HOMEPAGE=" + https://opendev.org/openstack/python-cinderclient/ + https://github.com/openstack/python-cinderclient/ + https://pypi.org/project/python-cinderclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" + +RDEPEND=" + >=dev-python/keystoneauth1-5.9.0[${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/stevedore-3.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + 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}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # functional tests require cloud instance access + eunittest -b cinderclient/tests/unit +} |
