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: Thu, 22 Feb 2018 19:59:23
Message-Id: 1519329541.2dacb8db0460414e8f5e60521b024c4f2bce1435.prometheanfire@gentoo
1 commit: 2dacb8db0460414e8f5e60521b024c4f2bce1435
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 22 19:34:39 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 22 19:59:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dacb8db
7
8 dev-python/python-glanceclient: 2.9.1 bup
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/python-glanceclient/Manifest | 1 +
13 .../python-glanceclient-2.9.1.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 60a23bb4d66..8f6d92ba590 100644
18 --- a/dev-python/python-glanceclient/Manifest
19 +++ b/dev-python/python-glanceclient/Manifest
20 @@ -2,3 +2,4 @@ DIST python-glanceclient-2.0.1.tar.gz 159091 BLAKE2B ff66907c5f60c0733e29620d8b2
21 DIST python-glanceclient-2.5.0.tar.gz 157864 BLAKE2B c2a0a005a697305ff92a5299c7b251ce0a3c17c437445deca51d71672dc1ee4ac312822a367414c0deb280dd827a5169fcf5bb7e5a3ebb5d00828b20ff52777c SHA512 1a702666c9430577e4d6018c95df59600bdb644b224708aaedcef3308d6209f9bc60d5f228126554b27e723414703ef7fe20d0c69058882748eb1e59d63afaa2
22 DIST python-glanceclient-2.6.0.tar.gz 161852 BLAKE2B 4acff92d774cdc1085e5889d466602319f7112925a0aa2e17174f72370d593a2a051b73a2ac97eeba5bdad9bc01fcfbc38b1726745c2254f1a1cb8f0eebc5dab SHA512 c566a261a42cc38db0adea507bbca4790ffa850a81bbf98ff01aa8629bb2d80fe9717a2e17b048367974809c7f7d348881397a53bfeafbc7438b73f9b4bc97e0
23 DIST python-glanceclient-2.8.0.tar.gz 177172 BLAKE2B 0772b7e2b788b63bb590c8354dbad2c4e0bbd731f790f36916aeb154a44474f979961195d307e45149bccd2a58e1df72c48aa0593d6972c606b393f1202ee440 SHA512 257eaf1d548a3a6277b9c80e8b23b9ae4231586307c43a064754c227f3e3c872451ec0469aca931638ea0f7c9920892878c677b144dc72bad215c38d375a63d3
24 +DIST python-glanceclient-2.9.1.tar.gz 175836 BLAKE2B f559bff0b4ae1d1782bb06f9bb8b0188d9e78b83afb52a07245f8d9694bfe88e52718d3279f8b2b7d32acdd3cc86d507154bc9bcf716206696144345f4766249 SHA512 0dae48a5673ed779c0a4136896f5e74dcde489a5dfee55295f65d4b74dbe4680b1669570d0fe5011ca5282d0b6057ebc9261e5a06cff0b09fe41fa88529c3947
25
26 diff --git a/dev-python/python-glanceclient/python-glanceclient-2.9.1.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.9.1.ebuild
27 new file mode 100644
28 index 00000000000..32391f43045
29 --- /dev/null
30 +++ b/dev-python/python-glanceclient/python-glanceclient-2.9.1.ebuild
31 @@ -0,0 +1,77 @@
32 +# Copyright 1999-2018 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-1.1[$(python_gen_usedep 'python2_7')]
59 + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
60 + >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}]
61 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
62 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
63 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
64 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
65 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
66 + >=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}]
67 + )
68 + doc? (
69 + >=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}]
70 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
71 + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
72 + )
73 +"
74 +RDEPEND="
75 + ${CDEPEND}
76 + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
77 + <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
78 + >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
79 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
80 + >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}]
81 + <dev-python/warlock-2[${PYTHON_USEDEP}]
82 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
83 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
84 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
85 + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
86 + >=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}]
87 +"
88 +
89 +python_prepare_all() {
90 + sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
91 + sed -i '/^hacking/d' test-requirements.txt || die
92 + distutils-r1_python_prepare_all
93 +}
94 +
95 +python_compile_all() {
96 + use doc && esetup.py build_sphinx
97 +}
98 +
99 +python_test() {
100 + testr init
101 + testr run || die "testsuite failed under python2.7"
102 + flake8 tests && einfo "run flake8 over tests folder passed" || die
103 +}
104 +
105 +python_install_all() {
106 + use doc && local HTML_DOCS=( doc/build/html/. )
107 + distutils-r1_python_install_all
108 +}