1 |
commit: 2545d3153c34016232cba07de10eda70010f5b53 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 21 05:45:15 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 21 06:47:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2545d315 |
7 |
|
8 |
dev-python/openstacksdk: Bump to 0.99.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.99.0.ebuild | 85 ++++++++++++++++++++++ |
14 |
2 files changed, 86 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest |
17 |
index 4beb8aac7b4f..540c9cd1e105 100644 |
18 |
--- a/dev-python/openstacksdk/Manifest |
19 |
+++ b/dev-python/openstacksdk/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST openstacksdk-0.61.0.tar.gz 1029483 BLAKE2B 5add768f12bc42562bcdaddf0379e1f59af80b34c5a7f808aaa7469788a685b093b47a4c2a8a771f6cf426f6ac11e188fca0843aaa5173266f3c69a0ac69c4f9 SHA512 6f02486b9de8c540cf43f49f55b67dede34a24a96229d42b43aa215f6286566579f726b53732a9b3b952cee5df1fa8d3cf2f6ccc7c0ca7f9a1a96888640ff734 |
22 |
+DIST openstacksdk-0.99.0.tar.gz 1060314 BLAKE2B 0c8f641e301ba4fb8ca83e651f85f8ba98aa73904b2e94b15b17d99354aace5b73ba243c4e624e4c53dd7fb1deb147801aee93233f1fe019a0068873530bdb37 SHA512 5e15f29002231dbad15e7a2dadaa97e64ed191389d259222880a7e40984d6fbcd9d1602a041164e4f819141417d108a179171b4c1430947dc5c5e9cdc5409aea |
23 |
|
24 |
diff --git a/dev-python/openstacksdk/openstacksdk-0.99.0.ebuild b/dev-python/openstacksdk/openstacksdk-0.99.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6e6dbaa5bb04 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/openstacksdk/openstacksdk-0.99.0.ebuild |
29 |
@@ -0,0 +1,85 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A collection of libraries for building applications to work with OpenStack" |
41 |
+HOMEPAGE="https://github.com/openstack/openstacksdk/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
47 |
+ |
48 |
+CDEPEND=" |
49 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
50 |
+" |
51 |
+RDEPEND=" |
52 |
+ ${CDEPEND} |
53 |
+ >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/appdirs-1.3.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] |
56 |
+ >dev-python/jsonpatch-1.20[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/keystoneauth-3.18.0[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/munch-2.1.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/cryptography-2.7.0[${PYTHON_USEDEP}] |
66 |
+ dev-python/importlib_metadata[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ ${CDEPEND} |
70 |
+ test? ( |
71 |
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/prometheus_client-0.4.2[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
81 |
+ ) |
82 |
+" |
83 |
+ |
84 |
+distutils_enable_tests unittest |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ # Internet? |
88 |
+ sed -e 's:test_create_dynamic_large_object:_&:' \ |
89 |
+ -i openstack/tests/unit/cloud/test_object.py || die |
90 |
+ |
91 |
+ # TODO |
92 |
+ sed -e 's:test_generate_form:_&:' \ |
93 |
+ -e 's:test_create_static_large_object:_&:' \ |
94 |
+ -e 's:test_object_segment_retries:_&:' \ |
95 |
+ -e 's:test_object_segment_retry_failure:_&:' \ |
96 |
+ -e 's:test_slo_manifest_retry:_&:' \ |
97 |
+ -i openstack/tests/unit/cloud/test_object.py || die |
98 |
+ |
99 |
+ # unhappy about paths due to test runner |
100 |
+ sed -e 's:test_method_not_supported:_&:' \ |
101 |
+ -i openstack/tests/unit/test_exceptions.py || die |
102 |
+ sed -e 's:test_repr:_&:' \ |
103 |
+ -i openstack/tests/unit/test_resource.py || die |
104 |
+ |
105 |
+ # requires hacking |
106 |
+ rm openstack/tests/unit/test_hacking.py || die |
107 |
+ |
108 |
+ distutils-r1_src_prepare |
109 |
+} |
110 |
+ |
111 |
+python_test() { |
112 |
+ # functional tests require cloud instance access |
113 |
+ eunittest -b openstack/tests/unit |
114 |
+} |