Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-glanceclient/
Date: Wed, 10 Apr 2019 05:08:42
Message-Id: 1554872898.a763d874b2b8f5f12fd8c1d347ee9a1978c5deb4.prometheanfire@gentoo
1 commit: a763d874b2b8f5f12fd8c1d347ee9a1978c5deb4
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 05:02:23 2019 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 05:08:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a763d874
7
8 dev-python/python-glanceclient: 2.16.0 bump
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 dev-python/python-glanceclient/Manifest | 1 +
14 .../python-glanceclient-2.16.0.ebuild | 78 ++++++++++++++++++++++
15 2 files changed, 79 insertions(+)
16
17 diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest
18 index 7553df966ab..c0a0592631a 100644
19 --- a/dev-python/python-glanceclient/Manifest
20 +++ b/dev-python/python-glanceclient/Manifest
21 @@ -1 +1,2 @@
22 DIST python-glanceclient-2.13.1.tar.gz 187298 BLAKE2B e2fa34ea7840404e183fbb77592f656b296d54942581b2e1dda71285f791cf7f7d5b3b6ef2da28deb4e314f1d35395548e923f548854b7ad3ef4aa50ad000d62 SHA512 deb8454aea8b2c231604663fac2f6515e3cd6e86dc1cf3cd2174ba2e35f9d605bf162f5a089d80f52da11f97c540f5c160b96864b85d7535463ec170cba81689
23 +DIST python-glanceclient-2.16.0.tar.gz 189395 BLAKE2B 9de8b162c1eb5bfb44700f41cbdcd4f8a983d8c7bd7b281df09db67df6a0de5dee905330f03c967be9e1c3b2aaa379e4c8594f7f4cdbb34870a1e87cb7ccaf1f SHA512 b853f529752247873d9f319d4ec6f4cabc89ee4c26a0c1013e7609fc38e3c9f68d774b3682166e8155e21572a0a011eb6859a84c253ca9f7a9b8b1ccf79b5322
24
25 diff --git a/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild
26 new file mode 100644
27 index 00000000000..5880befbff1
28 --- /dev/null
29 +++ b/dev-python/python-glanceclient/python-glanceclient-2.16.0.ebuild
30 @@ -0,0 +1,78 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
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-2.0.0[${PYTHON_USEDEP}]
50 + !~dev-python/pbr-2.1.0"
51 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
52 + ${CDEPEND}
53 + test? (
54 + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
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.18.1[${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.2.0[${PYTHON_USEDEP}]
67 + )
68 + doc? (
69 + >=dev-python/openstackdocstheme-1.18.1[${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.6.2[${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-17.1.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 +}