1 |
commit: 0eb707a79d8da52ef3d54ab907e3295af960ca8b |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 18:52:38 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 19:41:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb707a7 |
7 |
|
8 |
dev-python/python-glanceclient: add 4.1.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-glanceclient/Manifest | 1 + |
13 |
.../python-glanceclient-4.1.0.ebuild | 50 ++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest |
17 |
index 663cf8f0b608..cc2c40c14710 100644 |
18 |
--- a/dev-python/python-glanceclient/Manifest |
19 |
+++ b/dev-python/python-glanceclient/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-glanceclient-4.0.1.tar.gz 202810 BLAKE2B ccc328aac739979d9ef3b3c4b6cccbef0865860827112c73a7d15d257f1735c69bac54d5771a27d6e6dbfaada4825b624d312a17195b081f3b5800b662c3f926 SHA512 23e931741430c0ba9606b5f013c6724285f8d49691c092c11db97434d963bd257639df769cdbc0e18ea2f5a57c13b03c887e8a091fdb40b292ae6a33f28b4e31 |
22 |
+DIST python-glanceclient-4.1.0.tar.gz 204252 BLAKE2B 484753886663f10b93fc2d9a0c3c2a1359324d989edfa26c0fe26cb7ab74897a5a81a3fac201d53af375d111e0b1e043fce79b1f3d3f153854bd9f63db756a9f SHA512 413d5a77c4b014f6300513552aca33a04e9a34e9bfa9c93ecc9008c79123ba7f20e527f3ad7506d066c0d215aa7fbf57a589a5f015fe1bc52479b8c57c760adf |
23 |
|
24 |
diff --git a/dev-python/python-glanceclient/python-glanceclient-4.1.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..5d8029e264f1 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-glanceclient/python-glanceclient-4.1.0.ebuild |
29 |
@@ -0,0 +1,50 @@ |
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 Glance API" |
41 |
+HOMEPAGE="https://github.com/openstack/python-glanceclient" |
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/keystoneauth-3.6.2[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
52 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}] |
57 |
+ <dev-python/warlock-2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] |
59 |
+" |
60 |
+# Tests fail with dev-python/prettytable-3.4.0 |
61 |
+BDEPEND=" |
62 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
63 |
+ test? ( |
64 |
+ dev-python/ddt[${PYTHON_USEDEP}] |
65 |
+ dev-python/fixtures[${PYTHON_USEDEP}] |
66 |
+ dev-python/requests-mock[${PYTHON_USEDEP}] |
67 |
+ dev-python/tempest[${PYTHON_USEDEP}] |
68 |
+ dev-python/testscenarios[${PYTHON_USEDEP}] |
69 |
+ dev-python/testtools[${PYTHON_USEDEP}] |
70 |
+ <dev-python/prettytable-3.4.0[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_tests unittest |
75 |
+ |
76 |
+python_test() { |
77 |
+ # functional tests require cloud instance access |
78 |
+ eunittest -b glanceclient/tests/unit |
79 |
+} |