dev-python/openstacksdk: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-14 03:43:02 +01:00
parent 75fcc6ad3d
commit 7bdfce3ebb
3 changed files with 0 additions and 185 deletions

View File

@@ -1,3 +1 @@
DIST openstacksdk-4.6.0.tar.gz 1287222 BLAKE2B cd2af29901c89bee15ed01fc2d19d75c75a5e2bacd860f999f6696292d171967e7f129ad295fc4556222ba4bf7786cccc4e20bd612b19bf3b6c6507752a88e25 SHA512 9c11a537734e11a25a8e4c664fa700071a47743b12bd8656ce6b91294650c2cd9e119d1f9fe2e68b230c46c1435040ca6b33e28f6e750f3bf88d1686dc66a42c
DIST openstacksdk-4.7.0.tar.gz 1297106 BLAKE2B 65a351ad27f73751cafb968f2c7071402f1fc1415dafd768f30fe099a665d9c3718626b3d61f1fa7fba420c6d847c84385d7914a7e4128a364d2568979387227 SHA512 64a1e9ec712d24543ee84f67bb18320ff55adf10a35943070871d53ba4c210d13069cce33a3416df495394f3ac8f9d990c1efdfc02930a6215c83a94deeba4fb
DIST openstacksdk-4.7.1.tar.gz 1297628 BLAKE2B 60c028354e21b82c3a9bfc0db339729e6a96c925ae514927caec1ca46f435737d4c83d6219e1af892525ea5ca9a68fa0f09e2fd53d4b591554ce7bf3ac995417 SHA512 0319cbd9b53d117b212d2659ae4d11b5fce7f2d5f501c518e93e3c7bed10eb768bbc8eccf7b4a558b957de59a1ebda59582102fb7f107a966aa2b70b5702a6be

View File

@@ -1,92 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="A collection of libraries for building applications to work with OpenStack"
HOMEPAGE="
https://opendev.org/openstack/openstacksdk/
https://github.com/openstack/openstacksdk/
https://pypi.org/project/openstacksdk/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
RDEPEND="
>=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
>=dev-python/decorator-4.4.1[${PYTHON_USEDEP}]
>=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}]
>=dev-python/jsonpatch-1.21[${PYTHON_USEDEP}]
>=dev-python/keystoneauth1-5.10.0[${PYTHON_USEDEP}]
>=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}]
>=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
>=dev-python/platformdirs-3[${PYTHON_USEDEP}]
>=dev-python/psutil-3.2.2[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
>=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
test? (
>=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
>=dev-python/statsd-3.3.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_prepare() {
# Internet?
sed -e 's:test_create_dynamic_large_object:_&:' \
-i openstack/tests/unit/cloud/test_object.py || die
# TODO
sed -e 's:test_generate_form:_&:' \
-e 's:test_create_static_large_object:_&:' \
-e 's:test_object_segment_retries:_&:' \
-e 's:test_object_segment_retry_failure:_&:' \
-e 's:test_slo_manifest_retry:_&:' \
-i openstack/tests/unit/cloud/test_object.py || die
sed -e 's:test_servers:_&:' \
-i openstack/tests/unit/test_stats.py || die
# unhappy about paths due to test runner
sed -e 's:test_method_not_supported:_&:' \
-i openstack/tests/unit/test_exceptions.py || die
sed -e 's:test_repr:_&:' \
-i openstack/tests/unit/test_resource.py || die
# requires hacking
rm openstack/tests/unit/test_hacking.py || die
# fragile warning-based tests
sed -e 's:test_unsupported_version_override:_&:' \
-i openstack/tests/unit/test_missing_version.py || die
sed -e 's:test_create_unknown_proxy:_&:' \
-i openstack/tests/unit/test_connection.py || die
distutils-r1_src_prepare
}
python_test() {
# functional tests require cloud instance access
eunittest -b openstack/tests/unit
}

View File

@@ -1,91 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pbr
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="A collection of libraries for building applications to work with OpenStack"
HOMEPAGE="
https://opendev.org/openstack/openstacksdk/
https://github.com/openstack/openstacksdk/
https://pypi.org/project/openstacksdk/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
RDEPEND="
>=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
>=dev-python/decorator-4.4.1[${PYTHON_USEDEP}]
>=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}]
>=dev-python/jsonpatch-1.21[${PYTHON_USEDEP}]
>=dev-python/keystoneauth1-5.10.0[${PYTHON_USEDEP}]
>=dev-python/os-service-types-1.8.0[${PYTHON_USEDEP}]
>=dev-python/pbr-2.2.0[${PYTHON_USEDEP}]
>=dev-python/platformdirs-3[${PYTHON_USEDEP}]
>=dev-python/psutil-3.2.2[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
>=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
>=dev-python/statsd-3.3.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests unittest
src_prepare() {
# Internet?
sed -e 's:test_create_dynamic_large_object:_&:' \
-i openstack/tests/unit/cloud/test_object.py || die
# TODO
sed -e 's:test_generate_form:_&:' \
-e 's:test_create_static_large_object:_&:' \
-e 's:test_object_segment_retries:_&:' \
-e 's:test_object_segment_retry_failure:_&:' \
-e 's:test_slo_manifest_retry:_&:' \
-i openstack/tests/unit/cloud/test_object.py || die
sed -e 's:test_servers:_&:' \
-i openstack/tests/unit/test_stats.py || die
# unhappy about paths due to test runner
sed -e 's:test_method_not_supported:_&:' \
-i openstack/tests/unit/test_exceptions.py || die
sed -e 's:test_repr:_&:' \
-i openstack/tests/unit/test_resource.py || die
# requires hacking
rm openstack/tests/unit/test_hacking.py || die
# fragile warning-based tests
sed -e 's:test_unsupported_version_override:_&:' \
-i openstack/tests/unit/test_missing_version.py || die
sed -e 's:test_create_unknown_proxy:_&:' \
-i openstack/tests/unit/test_connection.py || die
distutils-r1_src_prepare
}
python_test() {
# functional tests require cloud instance access
eunittest -b openstack/tests/unit
}