1 |
commit: 65bd3c61f09d13c8dc9443c5dbf3eee79625f568 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 18 17:06:05 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 18 18:11:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65bd3c61 |
7 |
|
8 |
dev-python/python-openstackclient: add 6.0.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-openstackclient/Manifest | 1 + |
13 |
.../python-openstackclient-6.0.0.ebuild | 57 ++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-openstackclient/Manifest b/dev-python/python-openstackclient/Manifest |
17 |
index ad27cb506f1b..0ddbeb38fbcd 100644 |
18 |
--- a/dev-python/python-openstackclient/Manifest |
19 |
+++ b/dev-python/python-openstackclient/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-openstackclient-5.8.0.tar.gz 827602 BLAKE2B 07893ae405532614605560d4d3423e501e2d86da5ad5a529fdc62113d55ad7a010407d45143a4d7ae8adc731804e6698a5cd527089ff9de809ac117f08e4e959 SHA512 ebd288fbdcd18245bed4262ab191ba06dbe6fb54ad4247c332f9c11b1439c3158e557bf20a7a7205e7913becb6c59126121521a32bce1f70092dc2d7f648b808 |
22 |
+DIST python-openstackclient-6.0.0.tar.gz 838447 BLAKE2B c6b213b022e8c75d3a94752b29cebda4d9ca1d329dc1cb0b470f6e787dd930b379d16bec6c4a0047e63110e01dbf48bee72ed6ccbf54036fa3d1d5de55487e8b SHA512 20bd8da025ee3c69a5e491089edcb42f961c5109563718198ddd22fab8d6928fa08afd6a7db608c70386bd2b61c571c2fadb1c76f84c3d7f1a60c65d4520dfa6 |
23 |
|
24 |
diff --git a/dev-python/python-openstackclient/python-openstackclient-6.0.0.ebuild b/dev-python/python-openstackclient/python-openstackclient-6.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3435f1050671 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-openstackclient/python-openstackclient-6.0.0.ebuild |
29 |
@@ -0,0 +1,57 @@ |
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 client for the OpenStack APIs" |
41 |
+HOMEPAGE="https://github.com/openstack/python-openstackclient" |
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 ~riscv ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/cliff-3.5.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/openstacksdk-0.56.0[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/osc-lib-2.3.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/python-keystoneclient-3.22.0[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/python-novaclient-17.0.0[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_tests unittest |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ # Depends on specific runner |
78 |
+ sed -e 's/test_command_has_logger/_&/' -i openstackclient/tests/unit/common/test_command.py || die |
79 |
+ |
80 |
+ distutils-r1_src_prepare |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ # functional tests require cloud instance access |
85 |
+ eunittest -b openstackclient/tests/unit |
86 |
+} |