From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/python-novaclient/Manifest | 6 +-- dev-python/python-novaclient/metadata.xml | 4 ++ .../python-novaclient-17.7.0.ebuild | 59 ---------------------- .../python-novaclient-18.0.0.ebuild | 59 ++++++++++++++++++++++ 4 files changed, 66 insertions(+), 62 deletions(-) delete mode 100644 dev-python/python-novaclient/python-novaclient-17.7.0.ebuild create mode 100644 dev-python/python-novaclient/python-novaclient-18.0.0.ebuild (limited to 'dev-python/python-novaclient') diff --git a/dev-python/python-novaclient/Manifest b/dev-python/python-novaclient/Manifest index 0a534350bd25..a9c24a1aa63a 100644 --- a/dev-python/python-novaclient/Manifest +++ b/dev-python/python-novaclient/Manifest @@ -1,3 +1,3 @@ -DIST python-novaclient-17.7.0.tar.gz 335462 BLAKE2B bfd7853a5100df1d9a0e17f905c9a2d4ea0d13e1345438d42e4af21e348e78c3f4ddca6408f31fb164f4bf3b2770088118e24ec12edd1afb2a4c22b3b0461092 SHA512 3942088f2636d186434b7ae4184ee84f5e1e4862a526b33befae09219eb7d08ab02fed64589aa9eefd0ab263ea231969b0e4e59a0427eaae5daaa26516d92ffd -EBUILD python-novaclient-17.7.0.ebuild 1832 BLAKE2B f8e0ecd415f4fc41a00b45f6ad910c197ccdc893d827b68e9e9d65f751af0bdb60e51f3626e19140a964dcd076ee13880ecb6d02810c7efd6f87a1b382193a37 SHA512 88456332de00a57d5b4500bf432df5227c28a94f8cf0996893bb6f6147d836c5876516cc2b7906c298593ab111c4858957f6dcabb9fbf0fbd881a44a19e3b180 -MISC metadata.xml 786 BLAKE2B 8e3cf9379a274131833f3a6ad3f5582cd9517ac8361aed04e3a39f14da4074de9f462ab890107db966f553726067b4109aa18d21e747545dd4a25c8794366a80 SHA512 568595965bb99b0f0cfea9e502d1876652a3184e54a963ad3841e28ff5205479a525fbd8252998a4df5505b6a50bccd59bb10288cb0244851c47b967f58208d7 +DIST python-novaclient-18.0.0.tar.gz 335142 BLAKE2B 0b76ce92897e16310892427efc9062d20d1316be61e7391eaf9aca618844c4420f963591d1aa773b2d1ae1785aaf63888de6aec5baabbbedb09e4937a14d24d2 SHA512 fe3c5ad591679329a77421a1ef520823855d0ba1a7aa077d92a8b01e2b8bdab814c8cc94b5f76c1e59d6c7e70355f6efebd7b3596a4d4f74966aaedc38deac4a +EBUILD python-novaclient-18.0.0.ebuild 1839 BLAKE2B 110bb910a913cd7c3a97640830a843428e3aa7bf901d604f0469f0518269561f52bdff81295113d97c3a5d593911c80168a4fba799bd45ab1e0029621cdd4504 SHA512 eca22a12880d074f90d7212952527736cbb5224ed9211a2664c6aa429796ee8e93dea35fdc1ab0202b70b7908ab60626a863066733dbd32515306ffa2c2ceffb +MISC metadata.xml 893 BLAKE2B 42037d5052de72a81e2aac430fd14d107a0fa723c4288cd7f599bef817975ecc6b1dfc82b754ace2a50e4f9e0f5870cc6a43a3f0722d7647a38322e6cfde7eb8 SHA512 f89bf49eddaa5803ab953abc2dac189252095e529071cbd6412c15885e0a890a8e73a71295d3c3f9ebfb16bfe321316693c104d330037d112d03e04eadbf5a4d diff --git a/dev-python/python-novaclient/metadata.xml b/dev-python/python-novaclient/metadata.xml index 70e970120f65..58529b73f74d 100644 --- a/dev-python/python-novaclient/metadata.xml +++ b/dev-python/python-novaclient/metadata.xml @@ -9,6 +9,10 @@ openstack@gentoo.org Openstack + + python@gentoo.org + Python + This is a client for the OpenStack Nova API. There's a Python API (the novaclient module), diff --git a/dev-python/python-novaclient/python-novaclient-17.7.0.ebuild b/dev-python/python-novaclient/python-novaclient-17.7.0.ebuild deleted file mode 100644 index d277d815c735..000000000000 --- a/dev-python/python-novaclient/python-novaclient-17.7.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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..10} ) - -inherit distutils-r1 - -DESCRIPTION="A client for the OpenStack Nova API" -HOMEPAGE="https://github.com/openstack/python-novaclient" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" - -RDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth-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=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - 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 -} diff --git a/dev-python/python-novaclient/python-novaclient-18.0.0.ebuild b/dev-python/python-novaclient/python-novaclient-18.0.0.ebuild new file mode 100644 index 000000000000..9d39e46619a1 --- /dev/null +++ b/dev-python/python-novaclient/python-novaclient-18.0.0.ebuild @@ -0,0 +1,59 @@ +# 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..10} ) + +inherit distutils-r1 + +DESCRIPTION="A client for the OpenStack Nova API" +HOMEPAGE="https://github.com/openstack/python-novaclient" +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/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-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=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + 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 +} -- cgit v1.2.3