diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-07-30 04:36:00 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-07-30 04:45:46 +0200 |
commit | 658fab1fdb8ca5321083d8c09eb3692e58905d3d (patch) | |
tree | c6f85dbacfb07322ff4aec33d6d967f325ddf037 /dev-python | |
parent | dev-python/rapidfuzz: Bump to 3.9.5 (diff) | |
download | gentoo-658fab1fdb8ca5321083d8c09eb3692e58905d3d.tar.gz gentoo-658fab1fdb8ca5321083d8c09eb3692e58905d3d.tar.bz2 gentoo-658fab1fdb8ca5321083d8c09eb3692e58905d3d.zip |
dev-python/python-openstackclient: Bump to 6.6.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-openstackclient/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-openstackclient/python-openstackclient-6.6.1.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/python-openstackclient/Manifest b/dev-python/python-openstackclient/Manifest index ac034b7a1d13..4dafa14de1d4 100644 --- a/dev-python/python-openstackclient/Manifest +++ b/dev-python/python-openstackclient/Manifest @@ -1 +1,2 @@ DIST python-openstackclient-6.6.0.tar.gz 917251 BLAKE2B 9f11b357bdeede556e106a21b2c7bbd86804251612cd676525a8817b693733dfe72388213cfa16517b3b75725702090fa3e728ec6986dcda196aa1e8aac9fd0a SHA512 7b073263fe9d905b3c10b2a4dcfa7156c9cd5ae453d792e1dcf3be278de0abc25c931388c8cabff6b11b61174acf79c87951028626af1e1b9f0dd09f38b7900a +DIST python-openstackclient-6.6.1.tar.gz 917516 BLAKE2B da771630628444d02b6937d6138e83416f982d70c57211c90d648bff000692de3acc1594268e9dd8b9521165508c063dbaba3e740c6fef874645af0b9fc89248 SHA512 e59d2fbf1bb5b4e9080aa7b81c110876c444052b3e57037a520995b273712b2a30f56f25937c524fe62889c49f72c5a3cc14e83ebc77886cae23c3e23a071158 diff --git a/dev-python/python-openstackclient/python-openstackclient-6.6.1.ebuild b/dev-python/python-openstackclient/python-openstackclient-6.6.1.ebuild new file mode 100644 index 000000000000..f57a1f0c5e5b --- /dev/null +++ b/dev-python/python-openstackclient/python-openstackclient-6.6.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack APIs" +HOMEPAGE=" + https://opendev.org/openstack/python-openstackclient/ + https://github.com/openstack/python-openstackclient/ + https://pypi.org/project/python-openstackclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.5.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-2.0.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.22.0[${PYTHON_USEDEP}] + >=dev-python/python-novaclient-18.1.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Depends on a specific runner + sed -e 's/test_command_has_logger/_&/' \ + -i openstackclient/tests/unit/common/test_command.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstackclient/tests/unit +} |