mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/openstacksdk: Bump to 4.13.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST openstacksdk-4.11.0.tar.gz 1328665 BLAKE2B 074becf5fb7ad714b96aca0cc2087f721ca56cb64fa6d4fbe967ff207e5d7874d38c3f70447c81cac827d10665fa46f52ee5a4d6c82204f25a35688f54da562d SHA512 540510094106c5ac5647b8fb847dc44f59f254d6f4108bfe209d4dd812d159a3c2eb7d7c2257c782dce7032014751448d81d6ce47c8a3526d5a718246518d3eb
|
||||
DIST openstacksdk-4.12.0.tar.gz 1336787 BLAKE2B 4beacf1f769f1ba8f114087e70952671549bfbd3cfd2d5d4996ee8fe6d8973a7b8f3e79bff8f073e3f0a1de7989a52cce17d977314bef3b0b18de8224e380976 SHA512 3aec43968d53e56aef5acf00f1bb343be383a8250db24d2cbf7a0de180d7d5b90a295d464e4d8da7b451956dbf0f0250419a0bdea532e0bb26692781e15fb6b9
|
||||
DIST openstacksdk-4.13.0.tar.gz 1341338 BLAKE2B 2b7b74c7fa3f94aecf67b68ff48b24f8d44ab4f3e07d49ef6fc85facf7676e3a70fcdeb32b3aa129d0920ec25317c18647d268d308d5cdbb3346b2f11b57e23d SHA512 ba00c75a4c7575972d7218a0271b7261717e7386db84528fba304efc0607746a3b36f31c39d7eb594238004c523284e51db1836dd1e8764c55205268774fb733
|
||||
|
||||
95
dev-python/openstacksdk/openstacksdk-4.13.0.ebuild
Normal file
95
dev-python/openstacksdk/openstacksdk-4.13.0.ebuild
Normal file
@@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=pbr
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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.1[${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}]
|
||||
"
|
||||
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
|
||||
|
||||
# stupid test checking if they pin to the newest os-service-types,
|
||||
# except they don't actually do
|
||||
sed -e 's:test_ost_version:_&:' \
|
||||
-i openstack/tests/unit/test_utils.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# functional tests require cloud instance access
|
||||
eunittest -b openstack/tests/unit
|
||||
}
|
||||
Reference in New Issue
Block a user