1 |
commit: 1885a74f04765f09b3f64050b18ad938aad383fd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 06:22:04 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 07:03:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1885a74f |
7 |
|
8 |
dev-python/openstacksdk: Bump to 0.58.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/openstacksdk/Manifest | 1 + |
13 |
dev-python/openstacksdk/openstacksdk-0.58.0.ebuild | 77 ++++++++++++++++++++++ |
14 |
2 files changed, 78 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest |
17 |
index c401fa4fccd..acf3083d552 100644 |
18 |
--- a/dev-python/openstacksdk/Manifest |
19 |
+++ b/dev-python/openstacksdk/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST openstacksdk-0.50.0.tar.gz 940210 BLAKE2B 0ca7740206139ced4e8fc761cee90c7b1d3a31a6fd64afbe1de9d46552dc6fe206351854a80f4e56d5a2852ca9c2714f8e8001434fafc39e16c60b8c5c935323 SHA512 d0e69ad046712d3d54b4e21faa20627faf96d633b1eeeac09c3b9c129a5912883f22945200b65233ff8517c67dab4c6eeac73817d2fe543cc5ba05c0d751e157 |
22 |
+DIST openstacksdk-0.58.0.tar.gz 1021818 BLAKE2B 530ec940b958d5c9b1a1caba71716201172e1141ebac208b26ea512732be152ccc6e928d20e38964eb455ff47fd6f42756d3f9af19800a45104b631d45d312c9 SHA512 94bb317e9f79ab419e5a0e7def4510d6686e3b8585721c15bd1f03eced5e8f45509cf925ed2b3e51a19ecd2d3e28469343cdae5a3df549f35bb61c448add5caa |
23 |
|
24 |
diff --git a/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild b/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..d6cfb7dd533 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/openstacksdk/openstacksdk-0.58.0.ebuild |
29 |
@@ -0,0 +1,77 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_8 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="A collection of libraries for building applications to work with OpenStack." |
39 |
+HOMEPAGE="https://github.com/openstack/python-openstacksdk" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
45 |
+IUSE="" |
46 |
+ |
47 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
48 |
+ !~dev-python/pbr-2.1.0" |
49 |
+RDEPEND="${CDEPEND} |
50 |
+ >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/jsonpatch-1.16[${PYTHON_USEDEP}] |
54 |
+ !~dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/keystoneauth-3.18.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/munch-2.1.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] |
64 |
+ dev-python/importlib_metadata[${PYTHON_USEDEP}] |
65 |
+" |
66 |
+BDEPEND="${CDEPEND} |
67 |
+ test? ( |
68 |
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] |
71 |
+ dev-python/hacking[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/prometheus_client-0.4.2[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
79 |
+ )" |
80 |
+ |
81 |
+distutils_enable_tests unittest |
82 |
+ |
83 |
+python_test() { |
84 |
+ distutils_install_for_testing |
85 |
+ cd "${TEST_DIR}"/lib || die |
86 |
+ |
87 |
+ # broken with the current version of dogpile.cache? |
88 |
+ rm openstack/tests/unit/cloud/test_caching.py || die |
89 |
+ |
90 |
+ # TODO |
91 |
+ sed -e 's:test_generate_form:_&:' \ |
92 |
+ -e 's:test_create_static_large_object:_&:' \ |
93 |
+ -e 's:test_object_segment_retries:_&:' \ |
94 |
+ -e 's:test_object_segment_retry_failure:_&:' \ |
95 |
+ -e 's:test_slo_manifest_retry:_&:' \ |
96 |
+ -i openstack/tests/unit/cloud/test_object.py || die |
97 |
+ |
98 |
+ # unhappy about paths due to test runner |
99 |
+ sed -e 's:test_method_not_supported:_&:' \ |
100 |
+ -i openstack/tests/unit/test_exceptions.py || die |
101 |
+ sed -e 's:test_repr:_&:' \ |
102 |
+ -i openstack/tests/unit/test_resource.py || die |
103 |
+ |
104 |
+ # functional tests require cloud instance access |
105 |
+ eunittest -b openstack/tests/unit |
106 |
+} |