1 |
commit: 35f5189e7f5281cf824495763892f7dbf3eae2f8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 21 05:25:55 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 21 06:46:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f5189e |
7 |
|
8 |
dev-python/python-glanceclient: Bump to 4.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-glanceclient/Manifest | 1 + |
13 |
.../python-glanceclient-4.0.0.ebuild | 48 ++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest |
17 |
index 42d07c708631..f01ec4cb9ff4 100644 |
18 |
--- a/dev-python/python-glanceclient/Manifest |
19 |
+++ b/dev-python/python-glanceclient/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-glanceclient-3.6.0.tar.gz 202581 BLAKE2B 20bf5ee863cc3d319cc7b670f4a218c9b84b49c392f7a7756636a93643ddf81781f808d6d966ca1982246b66b7963354c433239f554eb2aa0291bd1d57da2e79 SHA512 7bcf08386cfe6d4787dd8e6616907814a53fcc35bdac1818aef7ba094dcd37dfddddda43a1451d55f22d175f400f8680801d1a43508c5d85ce39f15164b71a5d |
22 |
+DIST python-glanceclient-4.0.0.tar.gz 202815 BLAKE2B a1d6dc46ca77c67bd42e6603b36652cc2ad9464b172b0bea778aa87130a6ed68613dda68db1ad5215e6d2ea34b9ecd96bc0ce853b94fc137b80aa7c85763622e SHA512 31ce9ee865ba543674a9ccc0267f1e02308e444bedfe1728ed59c20abe77cd7936b059c5adb0a8f73e5bf999c5ac5a34ac3cafe2e695718535ead786916e2414 |
23 |
|
24 |
diff --git a/dev-python/python-glanceclient/python-glanceclient-4.0.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..e4df4bd7c457 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-glanceclient/python-glanceclient-4.0.0.ebuild |
29 |
@@ -0,0 +1,48 @@ |
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 ~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 |
+BDEPEND=" |
61 |
+ >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ dev-python/ddt[${PYTHON_USEDEP}] |
64 |
+ dev-python/fixtures[${PYTHON_USEDEP}] |
65 |
+ dev-python/requests-mock[${PYTHON_USEDEP}] |
66 |
+ dev-python/tempest[${PYTHON_USEDEP}] |
67 |
+ dev-python/testscenarios[${PYTHON_USEDEP}] |
68 |
+ dev-python/testtools[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_tests unittest |
73 |
+ |
74 |
+python_test() { |
75 |
+ # functional tests require cloud instance access |
76 |
+ eunittest -b glanceclient/tests/unit |
77 |
+} |