1 |
commit: 22a0ec91919e272ee0386c068a93c25caeaee9e7 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 20:29:46 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 21:51:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22a0ec91 |
7 |
|
8 |
dev-python/python-glanceclient: 2.8.0 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-python/python-glanceclient/Manifest | 1 + |
13 |
.../python-glanceclient-2.8.0.ebuild | 81 ++++++++++++++++++++++ |
14 |
2 files changed, 82 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest |
17 |
index 32da2f5f132..b544bc2bfbc 100644 |
18 |
--- a/dev-python/python-glanceclient/Manifest |
19 |
+++ b/dev-python/python-glanceclient/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST python-glanceclient-2.0.1.tar.gz 159091 SHA256 77e92a256679ebc76101198482ca34dd0b636f12313c4aa92132b831064b3968 SHA512 48253d70c50ad5b671e0d662612217f76e79b2e15ec1714d578c85ffae3d6b18e019f90946d11cc90e41b981c6bb24c7f47094c046892fdee33034689631af53 WHIRLPOOL 55ba594d226a9dc9bc7d007b7f3bdabed5be084f0c204b93ad604e854ed9db27f180817b8ec0510c06586bcbfc8b7998b20f7777f61ac23fd56550ef08d91abb |
22 |
DIST python-glanceclient-2.5.0.tar.gz 157864 SHA256 8c510a089fb4dc8355d5db0de608361888b5e4e0c81e0d153ae1b1366bfb8a08 SHA512 1a702666c9430577e4d6018c95df59600bdb644b224708aaedcef3308d6209f9bc60d5f228126554b27e723414703ef7fe20d0c69058882748eb1e59d63afaa2 WHIRLPOOL a96a7b49ffcd280c085669d4c04a73ad9f6023f774cc56db8142ffb3f52fc68ee0a1eeb047aa31731b15b37f70bb5c1de178172097ae704b05d5e66c2e08b16c |
23 |
DIST python-glanceclient-2.6.0.tar.gz 161852 SHA256 59ce6ec4cb17e6cb5b94e12d4563a1b6fe2f6dd11c8e1d4e42e45073c76bcc0b SHA512 c566a261a42cc38db0adea507bbca4790ffa850a81bbf98ff01aa8629bb2d80fe9717a2e17b048367974809c7f7d348881397a53bfeafbc7438b73f9b4bc97e0 WHIRLPOOL 788eda86f6d6d0a0e23c676356881e24d7eb852724caa475dfbb4f5ab45920706de11f6b88eb76de3eb00d985e32510b4d0f2db6149ce5445b9e8e9131d9827b |
24 |
+DIST python-glanceclient-2.8.0.tar.gz 177172 SHA256 26795c19d9b5a2ec54dfc023f5ea869f8b8ae772669606b4af9125a2db51a813 SHA512 257eaf1d548a3a6277b9c80e8b23b9ae4231586307c43a064754c227f3e3c872451ec0469aca931638ea0f7c9920892878c677b144dc72bad215c38d375a63d3 WHIRLPOOL 49414676f2de742169a0c4259b7a8626db2956e3dd8088d0aaafb5a5acf2b1e0af9d463ec57a4f400586feb9274292cbaece772a9b19723af87ad781a15b01fb |
25 |
|
26 |
diff --git a/dev-python/python-glanceclient/python-glanceclient-2.8.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.8.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1576b4c1d14 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/python-glanceclient/python-glanceclient-2.8.0.ebuild |
31 |
@@ -0,0 +1,81 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
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 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="doc test" |
48 |
+REQUIRED_USE="test? ( doc )" |
49 |
+ |
50 |
+CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
51 |
+ !~dev-python/pbr-2.1.0" |
52 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ ${CDEPEND} |
54 |
+ test? ( |
55 |
+ >=dev-python/coverage-4.0[${PYTHON_USEDEP}] |
56 |
+ !~dev-python/coverage-4.4[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
58 |
+ dev-python/ordereddict[$(python_gen_usedep 'python2_7')] |
59 |
+ >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] |
62 |
+ !~dev-python/reno-2.3.1[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/requests-mock-1.0.0[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+ doc? ( |
70 |
+ >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] |
72 |
+ ) |
73 |
+" |
74 |
+RDEPEND=" |
75 |
+ ${CDEPEND} |
76 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
77 |
+ !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] |
79 |
+ <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/keystoneauth-3.0.1[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/warlock-1.0.1[${PYTHON_USEDEP}] |
83 |
+ !~dev-python/warlock-1.3.0[${PYTHON_USEDEP}] |
84 |
+ <dev-python/warlock-2[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
88 |
+ !~dev-python/oslo-i18n-3.15.2[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] |
91 |
+" |
92 |
+ |
93 |
+python_prepare_all() { |
94 |
+ sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die |
95 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
96 |
+ distutils-r1_python_prepare_all |
97 |
+} |
98 |
+ |
99 |
+python_compile_all() { |
100 |
+ use doc && esetup.py build_sphinx |
101 |
+} |
102 |
+ |
103 |
+python_test() { |
104 |
+ testr init |
105 |
+ testr run || die "testsuite failed under python2.7" |
106 |
+ flake8 tests && einfo "run flake8 over tests folder passed" || die |
107 |
+} |
108 |
+ |
109 |
+python_install_all() { |
110 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
111 |
+ distutils-r1_python_install_all |
112 |
+} |