1 |
commit: 2ceefc89aa2e5fbd45fcaa3eec4cb33078760188 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 31 13:22:54 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 31 13:25:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ceefc89 |
7 |
|
8 |
dev-python/python-cinderclient: add 8.0.0, enable py3.9, enable tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/798357 |
11 |
Closes: https://bugs.gentoo.org/798354 |
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
dev-python/python-cinderclient/Manifest | 1 + |
15 |
.../python-cinderclient-8.0.0.ebuild | 44 ++++++++++++++++++++++ |
16 |
2 files changed, 45 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest |
19 |
index 95839861109..cef824b12b5 100644 |
20 |
--- a/dev-python/python-cinderclient/Manifest |
21 |
+++ b/dev-python/python-cinderclient/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST python-cinderclient-7.2.1.tar.gz 251082 BLAKE2B 20b1ae9ecce0161e225b510363be74f7197075bd2247d3f5386894040582a61379faa1825197728bf9981fb9c6d66cc020483a07c0781e30e43f6bdadcb33185 SHA512 c434a353185d8e47d5849f08e7c9418454a5f643292837f0890f9aaccbf939be4528ae75851164068a2bc2ea39a4c841965be664bae4e7d37fec54a55c8332dc |
24 |
+DIST python-cinderclient-8.0.0.tar.gz 236611 BLAKE2B 818279d06b597a00a66c34cf3b468e8293aaf1e90fd04c996e118ea206d475e598d7c8b9ca78542bd07ada1db5d7a2c7ea9a3748fe85ad787d283c8d8073ecc6 SHA512 ae0c5e1d6f0c173382f57f95ac05ec8872a8ed548b145c1f91d96ab7b9e4602cba11a7205c26c81027ca4ad07cbb69f675244e3606ae5dca00c22eeb8bedc126 |
25 |
|
26 |
diff --git a/dev-python/python-cinderclient/python-cinderclient-8.0.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-8.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..eaea356ea16 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/python-cinderclient/python-cinderclient-8.0.0.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A client for the OpenStack Cinder API" |
41 |
+HOMEPAGE="https://launchpad.net/python-cinderclient" |
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 ~amd64-linux ~x86-linux" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/keystoneauth-4.2.1[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pbr-5.5.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] |
56 |
+ <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/requests-2.25.1[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+BDEPEND=" |
62 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
63 |
+ test? ( |
64 |
+ dev-python/ddt[${PYTHON_USEDEP}] |
65 |
+ dev-python/fixtures[${PYTHON_USEDEP}] |
66 |
+ dev-python/oslo-serialization |
67 |
+ dev-python/requests-mock[${PYTHON_USEDEP}] |
68 |
+ dev-python/stestr[${PYTHON_USEDEP}] |
69 |
+ dev-python/testtools[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+python_test() { |
74 |
+ "${EPYTHON}" -m stestr run --debug || die "Tests failed with ${EPYTHON}" |
75 |
+} |