dev-python/osc-placement: new package, add 4.5.0

Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
This commit is contained in:
Niklaus 'vimja' Hofer
2025-02-02 00:21:59 +01:00
parent 4142aebead
commit 6a4202b2ba
3 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST osc-placement-4.5.0.tar.gz 59592 BLAKE2B bb5a6445317bcd6fbff41dbffb89a9703aa29cf644a57f4b28006b47050498f0ab10a7811bb6b8945e27d1a455c62182babd6a1cb39faece32eb34d2473fafcf SHA512 07008400d0d5880f533ae17d9951fe927b63340768c2b427b6e2d0d478fa98f11763440d4df5831be121a860bad44ffe79fb0377e062ff7e32fae56dd8321c34

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo-bugzilla@vimja.email</email>
<name>Niklaus 'vimja' Hofer</name>
</maintainer>
<upstream>
<remote-id type="pypi">osc-placement</remote-id>
<remote-id type="github">openstack/osc-placement</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,51 @@
# 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..12} )
inherit distutils-r1 pypi
DESCRIPTION="OpenStackClient plugin for Placement service"
HOMEPAGE="
https://opendev.org/openstack/osc-placement
https://pypi.org/project/python-octaviaclient/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
>=dev-python/keystoneauth1-3.3.0[${PYTHON_USEDEP}]
>=dev-python/osc-lib-1.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.37.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/coverage-4.0.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
>=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}]
>=dev-python/stestr-1.0.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-4.2.2[${PYTHON_USEDEP}]
)
"
EPYTEST_IGNORE=(
# Require the placement service to be packaged, too
osc_placement/tests/functional/test_allocation.py
osc_placement/tests/functional/test_allocation_candidate.py
osc_placement/tests/functional/test_inventory.py
osc_placement/tests/functional/test_resource_class.py
osc_placement/tests/functional/test_resource_provider.py
osc_placement/tests/functional/test_trait.py
osc_placement/tests/functional/test_usage.py
osc_placement/tests/functional/test_aggregate.py
osc_placement/tests/functional/test_plugin.py
)
distutils_enable_tests pytest