mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/python-neutronclient: Bump to 11.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST python_neutronclient-11.6.0.tar.gz 212450 BLAKE2B 609610d09a06e227aa2763b107c9e197e60561857f40cb0f3601e42476d11379dc20cd1ce9fd68bed40bdc175f63f50cdf16f56035267daf43cbb7afdb7453e6 SHA512 d8057c2e7983b6de7f254b9b4b0651d71fc2b0475d74de1e6474aba3846a992f338548eebd22fbe2607ae539f813a187bec61a16403836a9c05abdde20e7b627
|
||||
DIST python_neutronclient-11.7.0.tar.gz 212897 BLAKE2B 18ab9234f8a279a15b9f58bbb80e9b9c32369a529a8fdb90f3be844b13016e990aa640ebfffeebdc12e2012c44b57f987f113641969338f4be6aed4b3d1f47d6 SHA512 9eca1c876fe2925742f14e13dbd40f0620a31ccd109f8aa99a23dbdc3d71069560a466e8a48b1159b439529563d9a079cdb30a0df77034951411e0e3a302fc0d
|
||||
DIST python_neutronclient-11.8.0.tar.gz 213135 BLAKE2B fc38678c2e5f922096e84f4c11f4a6bb07ec4dff3caac94d1a858ea29e0e28c934312c0c0ca9fc7534decd5509904a58dc346dd74256152acc7ce72d01fffee6 SHA512 2b83f4cd336190f4872e5dc53a3b0bbdf8736d6e1704c07dac83fc5f218b0b213105067cdbd35e2f1f76062909304da0bf4efd0482f2fe7ab3b2a7cd1fe10143
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Quantum API"
|
||||
HOMEPAGE="
|
||||
https://opendev.org/openstack/python-neutronclient/
|
||||
https://github.com/openstack/python-neutronclient/
|
||||
https://pypi.org/project/python-neutronclient/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cliff-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstacksdk-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
||||
>dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystoneauth1-3.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/bandit[${PYTHON_USEDEP}]
|
||||
dev-python/fixtures[${PYTHON_USEDEP}]
|
||||
dev-python/oslotest[${PYTHON_USEDEP}]
|
||||
dev-python/python-openstackclient[${PYTHON_USEDEP}]
|
||||
dev-python/requests-mock[${PYTHON_USEDEP}]
|
||||
dev-python/testtools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# Needs osprofile
|
||||
rm neutronclient/tests/unit/test_http.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# functional tests require cloud instance access
|
||||
eunittest -b neutronclient.tests.unit
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
# stupid stupid stupid
|
||||
local SITEDIR="${D}$(python_get_sitedir)" || die
|
||||
cd "${SITEDIR}" || die
|
||||
local egg=( python_neutronclient*.dist-info )
|
||||
[[ -d ${egg[0]} ]] || die "python_quantumclient*.dist-info not found"
|
||||
ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
|
||||
ln -s neutronclient quantumclient || die
|
||||
ln -s neutron quantumclient/quantum || die
|
||||
}
|
||||
Reference in New Issue
Block a user