Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-glanceclient/
Date: Mon, 27 Feb 2017 04:27:29
Message-Id: 1488169579.ebe6ee23ecc55d03daad85309d73c00899f5231f.prometheanfire@gentoo
1 commit: ebe6ee23ecc55d03daad85309d73c00899f5231f
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 03:51:35 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 04:26:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe6ee23
7
8 dev-python/python-glanceclient: bup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/python-glanceclient/Manifest | 1 +
13 .../python-glanceclient-2.6.0.ebuild | 77 ++++++++++++++++++++++
14 2 files changed, 78 insertions(+)
15
16 diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest
17 index fa33babf9b..32da2f5f13 100644
18 --- a/dev-python/python-glanceclient/Manifest
19 +++ b/dev-python/python-glanceclient/Manifest
20 @@ -1,2 +1,3 @@
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
25 diff --git a/dev-python/python-glanceclient/python-glanceclient-2.6.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.6.0.ebuild
26 new file mode 100644
27 index 0000000000..91c2299ce6
28 --- /dev/null
29 +++ b/dev-python/python-glanceclient/python-glanceclient-2.6.0.ebuild
30 @@ -0,0 +1,77 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A client for the OpenStack Glance API"
40 +HOMEPAGE="https://github.com/openstack/python-glanceclient"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
46 +IUSE="doc test"
47 +REQUIRED_USE="test? ( doc )"
48 +
49 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
50 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
51 + ${CDEPEND}
52 + test? (
53 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
54 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
55 + dev-python/ordereddict[$(python_gen_usedep 'python2_7')]
56 + >=dev-python/os-client-config-1.22.0[${PYTHON_USEDEP}]
57 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
58 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
59 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
60 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
61 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
62 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
63 + >=dev-python/requests-mock-1.0.0[${PYTHON_USEDEP}]
64 + )
65 + doc? (
66 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
67 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
68 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
69 + )
70 +"
71 +RDEPEND="
72 + ${CDEPEND}
73 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
74 + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
75 + <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
76 + >=dev-python/keystoneauth-2.18.0[${PYTHON_USEDEP}]
77 + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
78 + !~dev-python/requests-2.12.2[${PYTHON_USEDEP}]
79 + >=dev-python/warlock-1.0.1[${PYTHON_USEDEP}]
80 + !~dev-python/warlock-1.3.0[${PYTHON_USEDEP}]
81 + <dev-python/warlock-2[${PYTHON_USEDEP}]
82 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
83 + >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
84 + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
85 + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
86 +"
87 +
88 +python_prepare_all() {
89 + sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
90 + sed -i '/^hacking/d' test-requirements.txt || die
91 + distutils-r1_python_prepare_all
92 +}
93 +
94 +python_compile_all() {
95 + use doc && esetup.py build_sphinx
96 +}
97 +
98 +python_test() {
99 + testr init
100 + testr run || die "testsuite failed under python2.7"
101 + flake8 tests && einfo "run flake8 over tests folder passed" || die
102 +}
103 +
104 +python_install_all() {
105 + use doc && local HTML_DOCS=( doc/build/html/. )
106 + distutils-r1_python_install_all
107 +}