summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-02 13:03:40 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-02 14:24:31 +0100
commitab92a7f012db3c85d44823f14c835529d61d083d (patch)
tree0706c7b473b46a5d84c1d762597b092cbe4a3474 /dev-python/python-openstackclient
parentdev-python/findimports: Bump to 2.4.0 (diff)
downloadgentoo-ab92a7f012db3c85d44823f14c835529d61d083d.tar.gz
gentoo-ab92a7f012db3c85d44823f14c835529d61d083d.tar.bz2
gentoo-ab92a7f012db3c85d44823f14c835529d61d083d.zip
dev-python/python-openstackclient: Bump to 6.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-openstackclient')
-rw-r--r--dev-python/python-openstackclient/Manifest1
-rw-r--r--dev-python/python-openstackclient/python-openstackclient-6.5.0.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/python-openstackclient/Manifest b/dev-python/python-openstackclient/Manifest
index ce773357a545..53cf1560854c 100644
--- a/dev-python/python-openstackclient/Manifest
+++ b/dev-python/python-openstackclient/Manifest
@@ -1 +1,2 @@
DIST python-openstackclient-6.4.0.tar.gz 915402 BLAKE2B 22f033623e1a8a0830032f82fc98a87fe7154098d6a2fc5f45b6843b1df2396f54f2c298b787f252254871e3025fa74d573791b94cd3cccee7528a580353803e SHA512 497792309a07ee64a966542b3b1a92ea452ed5615410f71475509df00f2810c7367bfca905d2f6e68b638f9df2ad8cc6f95ab84da2e9625bd779e3651e3300ba
+DIST python-openstackclient-6.5.0.tar.gz 916521 BLAKE2B c50c1f0e68a66133b304b7ad930c3ed11327d0ebcfb65e4776bfa3fb33680977c4d2fc6c7e5ad579d3da07190803db27adb9a8de6fc3fae2018b9effb3eb8b09 SHA512 8ecae7c1c8b93efdc9751b803606f0413e689c52aab8df83e47a3abcf367135f6fcd150c3e2025fd4c8a691113e1ff77b8e7496d1032b05c8710abc557248713
diff --git a/dev-python/python-openstackclient/python-openstackclient-6.5.0.ebuild b/dev-python/python-openstackclient/python-openstackclient-6.5.0.ebuild
new file mode 100644
index 000000000000..835ec3701399
--- /dev/null
+++ b/dev-python/python-openstackclient/python-openstackclient-6.5.0.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 ~arm ~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/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-2.14.2[${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
+}