diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-25 02:49:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-25 02:49:03 +0100 |
commit | ca125edb1c8e51bd222fec61eb155151bbd4b791 (patch) | |
tree | b1ca31e2662c41a1e85c62975d23ce38fa0e5df0 /dev-python/openstacksdk | |
parent | 9d0673651c57438d51e18c6b8ca894d0491b2df3 (diff) |
gentoo auto-resync : 25:08:2022 - 02:49:03
Diffstat (limited to 'dev-python/openstacksdk')
-rw-r--r-- | dev-python/openstacksdk/Manifest | 2 | ||||
-rw-r--r-- | dev-python/openstacksdk/openstacksdk-0.101.0.ebuild | 86 |
2 files changed, 88 insertions, 0 deletions
diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index 1b5fde84ad55..110bd172eb5f 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,3 +1,5 @@ DIST openstacksdk-0.100.0.tar.gz 1065692 BLAKE2B 7941cb9a14f10924953ad114f9bce4847b7e26bbea4622790503209ab70a01c254f2ec59d3f794f64d1ecc8f320a9a2be2db8015cccad8b20fe06dc1e72683d0 SHA512 c3e47510518bc4abac78aab654f6f8aa7c0deec3f4355ec7ea064ffa32c1862a9015806fd04cc1975c3d7e688e9c5ee66e3837baa21ae6c82db8f39b4b8f8330 +DIST openstacksdk-0.101.0.tar.gz 1072136 BLAKE2B f73103fd65bdf11340b765918bc226b2d681a9846cba11f0a8dbd5d97f300690f82c1846e10ebbab413900f4e4199aa81de9b6213d07bcbcc817233758ac78a9 SHA512 95580b7c53c901ef21280420c6b27dfac20341c12f5490e5c7611df3f8c3d309b5b967f8d574e6e2d939f5224b8785bb5e07fbb3941955530cfbbc8c0049b269 EBUILD openstacksdk-0.100.0.ebuild 2725 BLAKE2B b782b8924f545825e6123e535db9310f5e4b8627e3a8fa87fd420ef76dac0c19d46f092e2459df601b3eff545b3a19ba606ff65b46be77f00707733366ebaaae SHA512 21ff01a63582b4186a0ec12e1a02b34561a74c4b13f8841644c4483d7dde423bf6a47ea9227cc5df8d3623f685e3cdb5254c70e56522077ff36d9f10f3a2c7ef +EBUILD openstacksdk-0.101.0.ebuild 2728 BLAKE2B 26e1bab2b5c07f0a835df59e4b12e51002f301ab19f456d9bc27588b0efff0f6dbcf95043152cbefbdee3f2ab2cbdb8b386d5bf15404e802b79d1c8dbe2200ef SHA512 fc7571e3f1b83577b8d5d11ca01076af1e8d77b4d8fab2bf9057b9f203a4d82df4a4ef26cda7d120a9c0237632aace2c6a9b29e004b08f768339da88b0f85724 MISC metadata.xml 517 BLAKE2B 661ad1e9eae06e7b36a5ff753e73bd4434042966cff3fd6fbc11bf70a1acc3eb8de29ad2a033d6d715e1152a5454d84077e99db3b588199b317f925864dc1403 SHA512 e6dbfbb3546c2a62b204b33ebb3bb33611079698212f098bd4da072200fe43e3bb350cc998b255ec4a15aa2ff3a04c89a9553dd7930db48e658dbcaff78526d6 diff --git a/dev-python/openstacksdk/openstacksdk-0.101.0.ebuild b/dev-python/openstacksdk/openstacksdk-0.101.0.ebuild new file mode 100644 index 000000000000..c7e4af79b1de --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-0.101.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +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/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] + >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.18.0[${PYTHON_USEDEP}] + >=dev-python/munch-2.1.0[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] + dev-python/importlib_metadata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.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/prometheus_client-0.4.2[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${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 + + # 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 + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstack/tests/unit +} |