summaryrefslogtreecommitdiff
path: root/dev-python/python-novaclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-31 12:01:05 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-31 12:01:05 +0100
commit5b7f6475da27c05b30659a00ecb49636aca2bece (patch)
treef67500afbab4acebaa18739efa57f79c7ee620b3 /dev-python/python-novaclient
parent2e8abb8c82f14dd064991a1afd337b2f022b37f6 (diff)
gentoo auto-resync : 31:08:2024 - 12:01:05
Diffstat (limited to 'dev-python/python-novaclient')
-rw-r--r--dev-python/python-novaclient/Manifest2
-rw-r--r--dev-python/python-novaclient/python-novaclient-18.7.0.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/python-novaclient/Manifest b/dev-python/python-novaclient/Manifest
index 9e1ea9176971..2c905316797d 100644
--- a/dev-python/python-novaclient/Manifest
+++ b/dev-python/python-novaclient/Manifest
@@ -1,3 +1,5 @@
DIST python-novaclient-18.6.0.tar.gz 339868 BLAKE2B 069d7b213c8dc8b8061cc70ea49f9f7f7599aab1daead5b7e54423133f0765df32924ce05f1d2c00833e5ea177f6ffa9311055328246137bc134f3a162ef9fa4 SHA512 a2f93f063bc22b12294664edd37187a0edc80e01b62802d59a5603c11cba8154300e5206c9f835a0a0b6a00adb2b281271b6f8a1f50379668d88f4c5222d55b9
+DIST python-novaclient-18.7.0.tar.gz 340344 BLAKE2B c21122bef909453ee33e4fda3a49349dc228759012f2ed627a07d4abf6a83eeee83d12b3cef6a4adb6fdefa69f416b0e6248baab63c8c7f46c5a461ec0437901 SHA512 32ff8e3bb6b2c91d9d6fc157147e2e44cb2e1efd1da31407c6de2f504498aa896d76157907c784ee3c8b3b1cb6f5030880fecc42d5f3437f0ae8968bb7e5cf4f
EBUILD python-novaclient-18.6.0.ebuild 1859 BLAKE2B facd111d4861729a6c5f418ea74d405de0192989eaa46387f530336864855a93b390d03147c72c9378ba7a2d70a78c8be1ac08d35e482fc1f169b26cd0b3a698 SHA512 d3e1524ccdeb244a8be2fcb5959d9766d50ef127b74b947a39acc50f8d1b2ffcd48e3c9efba5d90e5cf2a1b99004e525eeedf3d0adaf56466f7e6bf290a0c67b
+EBUILD python-novaclient-18.7.0.ebuild 1862 BLAKE2B 29c1c659ebe92fe7e351fdb108880b354634e42fda5bdf2d7f699624fd9c099c28eb39edd80f7feeb9b57f5d21ae190e518479d3aa851816e007a80e6aa28f2d SHA512 2492d7de3348de3678a5026db085739d28b850ac612b3721f5df4e67be9b3a39f36e429d1079178f0f60fdc76abeef5e40380a3a4b03a1d2bcbfbb20a2857aac
MISC metadata.xml 893 BLAKE2B 42037d5052de72a81e2aac430fd14d107a0fa723c4288cd7f599bef817975ecc6b1dfc82b754ace2a50e4f9e0f5870cc6a43a3f0722d7647a38322e6cfde7eb8 SHA512 f89bf49eddaa5803ab953abc2dac189252095e529071cbd6412c15885e0a890a8e73a71295d3c3f9ebfb16bfe321316693c104d330037d112d03e04eadbf5a4d
diff --git a/dev-python/python-novaclient/python-novaclient-18.7.0.ebuild b/dev-python/python-novaclient/python-novaclient-18.7.0.ebuild
new file mode 100644
index 000000000000..bb3df127025f
--- /dev/null
+++ b/dev-python/python-novaclient/python-novaclient-18.7.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=pbr
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A client for the OpenStack Nova API"
+HOMEPAGE="
+ https://opendev.org/openstack/python-novaclient/
+ https://github.com/openstack/python-novaclient/
+ https://pypi.org/project/python-novaclient/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/keystoneauth1-3.5.0[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
+ >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
+ >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}]
+ >dev-python/requests-2.12.2[${PYTHON_USEDEP}]
+ >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/bandit[${PYTHON_USEDEP}]
+ dev-python/ddt[${PYTHON_USEDEP}]
+ dev-python/fixtures[${PYTHON_USEDEP}]
+ dev-python/python-keystoneclient[${PYTHON_USEDEP}]
+ dev-python/python-cinderclient[${PYTHON_USEDEP}]
+ dev-python/python-glanceclient[${PYTHON_USEDEP}]
+ dev-python/python-neutronclient[${PYTHON_USEDEP}]
+ dev-python/requests-mock[${PYTHON_USEDEP}]
+ dev-python/openstacksdk[${PYTHON_USEDEP}]
+ dev-python/testscenarios[${PYTHON_USEDEP}]
+ dev-python/testtools[${PYTHON_USEDEP}]
+ dev-python/tempest[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ sed -e 's/test_osprofiler/_&/' -i novaclient/tests/unit/test_shell.py || die
+ sed -e 's/novaclient\.tests\.unit\.//' -i novaclient/tests/unit/test_api_versions.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ # functional tests require cloud instance access
+ eunittest -b novaclient/tests/unit
+}