From 2d01b3d133c0fbf17de8d7b47905585af88bd6e4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 18 Apr 2024 12:04:39 +0100 Subject: gentoo auto-resync : 18:04:2024 - 12:04:39 --- dev-python/openstacksdk/Manifest | 2 + dev-python/openstacksdk/openstacksdk-3.1.0.ebuild | 91 +++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 dev-python/openstacksdk/openstacksdk-3.1.0.ebuild (limited to 'dev-python/openstacksdk') diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index 61bdf24b0aa8..5a35544fc8f4 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,3 +1,5 @@ DIST openstacksdk-3.0.0.tar.gz 1214285 BLAKE2B f28526732c624ed1417196ea15caecce434a6ec22f716349a3c2df7359fc478302723b4be24db10d502fa153ab7e7ec7d67238efecb98736927cfec4760c9f97 SHA512 33cc81b05a682503add54094da2cd96552c492181c6ea66fe85c5c6f04a98cb2ebaf1234defad95c14861e5dfff11bfa35a4084c4135241c10d719cd61ecb9c9 +DIST openstacksdk-3.1.0.tar.gz 1215965 BLAKE2B 6bf5c3f85dcc2a027af10b675f7a3c7f7cf82bccc20558c0e094def02ff07fca4952ed71240bdf29600c3ef077575c49dce0dccb1683539bef756897813f4d1a SHA512 97ef0610115e1f1534900a6003d699028c6b331af0ef95fadb27babf0bf1467a304a3cc935f07270bf597053e2536e74de79333f67d116cf0b18583a3c8db878 EBUILD openstacksdk-3.0.0.ebuild 2901 BLAKE2B bfc47df29ed31496779cc5034196b25c93938fe1f0432e86b27f957c650c9d172b688ecc3edd7ca986b55a5fea222d9269619c64e0a4b8eea82832d6ce456bb5 SHA512 e47d8b36d9bf43b76fbd5a2d9ad973118e9bdff20f3d8c9ac4b1d69bcd77ff06e91169a9c6d25d8fcbb1f337325cc21b07947254d3a604adb940c79006591687 +EBUILD openstacksdk-3.1.0.ebuild 2904 BLAKE2B e1d1fb4842f1431eea9a7a65a533a210cbcf8deafe932c7fd942731393a08ff09092784804c23d9bd0fd22a43aa472febab6f2c6aa5c4e26ff6364a9316f8592 SHA512 b9c948cfa0ef63082308153a956fd3d96328307979b747be36a198b301a538573fc306919a7c7afa403e3bcca268787cc8afd90894ff4c38980d1d1abf8818d8 MISC metadata.xml 517 BLAKE2B 661ad1e9eae06e7b36a5ff753e73bd4434042966cff3fd6fbc11bf70a1acc3eb8de29ad2a033d6d715e1152a5454d84077e99db3b588199b317f925864dc1403 SHA512 e6dbfbb3546c2a62b204b33ebb3bb33611079698212f098bd4da072200fe43e3bb350cc998b255ec4a15aa2ff3a04c89a9553dd7930db48e658dbcaff78526d6 diff --git a/dev-python/openstacksdk/openstacksdk-3.1.0.ebuild b/dev-python/openstacksdk/openstacksdk-3.1.0.ebuild new file mode 100644 index 000000000000..010c1c968e8f --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-3.1.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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-3.18.0[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${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/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}] + ) +" + +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 +} -- cgit v1.2.3