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: Thu, 01 Nov 2018 15:48:22
Message-Id: 1541087276.0784aceaf78d641479e96dac4a43e76a35b7dca4.prometheanfire@gentoo
1 commit: 0784aceaf78d641479e96dac4a43e76a35b7dca4
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 1 15:24:04 2018 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 1 15:47:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0784acea
7
8 dev-python/python-glanceclient: 2.13.0 bump
9
10 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 dev-python/python-glanceclient/Manifest | 1 +
14 .../python-glanceclient-2.13.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 2dc138c534d..99dbf5a4f50 100644
19 --- a/dev-python/python-glanceclient/Manifest
20 +++ b/dev-python/python-glanceclient/Manifest
21 @@ -1,3 +1,4 @@
22 DIST python-glanceclient-2.10.0.tar.gz 180299 BLAKE2B 0d97626361ad7fc2c688f5da6af6d49bf6e078f715560b4ac93725f8ea6df895e7eed0e44bf69399c973978af22ebaef3d371ae19026cff7fb2bd896c8be30d2 SHA512 9132493559d7a7b6de62e5ec1bdcd7a2dcf408c00bb0cfaccb6e11829975d468bfe68feabd71fdf8cc0d28a2c5c549945816aa14c9469314ffafd3d39b9c2da6
23 DIST python-glanceclient-2.12.1.tar.gz 182868 BLAKE2B eec3751fc3ba9d820a92329bb5fe793a7173ab97fa4c17c2ec5c7ae87bf625dd4ef6bb3d0502c16847cdfc0a0c722b9043c4b11256563c593ced5a5b4f32f242 SHA512 080db737a3ac1e46cbad9c3da19b6383841a20210b2db7bcdf192db71ac530df13bf9dd9b5e8f5edda94170e26618a85afbcece5eb5147c5eb35fe8feb72bbb1
24 +DIST python-glanceclient-2.13.0.tar.gz 185962 BLAKE2B a0e1453124c199855a16843aac4155627f6e8070a5c5acb947e10147492d8f12514085d28cb060cf5f8577a60ab14c79104d1453947e71c2cd03f9c54d3e008c SHA512 e8a1551bc427c07e12bc869ee09cf5e11916c7ebbb09b924d765f682010d19c4467f3dc71b1839287dc83eb15841b05598e893cc718dfd6a4882340aa7a10c76
25 DIST python-glanceclient-2.8.0.tar.gz 177172 BLAKE2B 0772b7e2b788b63bb590c8354dbad2c4e0bbd731f790f36916aeb154a44474f979961195d307e45149bccd2a58e1df72c48aa0593d6972c606b393f1202ee440 SHA512 257eaf1d548a3a6277b9c80e8b23b9ae4231586307c43a064754c227f3e3c872451ec0469aca931638ea0f7c9920892878c677b144dc72bad215c38d375a63d3
26
27 diff --git a/dev-python/python-glanceclient/python-glanceclient-2.13.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-2.13.0.ebuild
28 new file mode 100644
29 index 00000000000..0fec31bc89f
30 --- /dev/null
31 +++ b/dev-python/python-glanceclient/python-glanceclient-2.13.0.ebuild
32 @@ -0,0 +1,78 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A client for the OpenStack Glance API"
42 +HOMEPAGE="https://github.com/openstack/python-glanceclient"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
48 +IUSE="doc test"
49 +REQUIRED_USE="test? ( doc )"
50 +
51 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
52 + !~dev-python/pbr-2.1.0"
53 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
54 + ${CDEPEND}
55 + test? (
56 + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
57 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
58 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
59 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
60 + >=dev-python/ordereddict-1.1[$(python_gen_usedep 'python2_7')]
61 + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
62 + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
63 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
64 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
65 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
66 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
67 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
68 + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
69 + )
70 + doc? (
71 + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
72 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
73 + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
74 + )
75 +"
76 +RDEPEND="
77 + ${CDEPEND}
78 + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
79 + <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
80 + >=dev-python/keystoneauth-3.6.2[${PYTHON_USEDEP}]
81 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
82 + >=dev-python/warlock-1.2.0[${PYTHON_USEDEP}]
83 + <dev-python/warlock-2[${PYTHON_USEDEP}]
84 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
85 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
86 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
87 + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}]
88 + >=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
89 +"
90 +
91 +python_prepare_all() {
92 + sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
93 + sed -i '/^hacking/d' test-requirements.txt || die
94 + distutils-r1_python_prepare_all
95 +}
96 +
97 +python_compile_all() {
98 + use doc && esetup.py build_sphinx
99 +}
100 +
101 +python_test() {
102 + testr init
103 + testr run || die "testsuite failed under python2.7"
104 + flake8 tests && einfo "run flake8 over tests folder passed" || die
105 +}
106 +
107 +python_install_all() {
108 + use doc && local HTML_DOCS=( doc/build/html/. )
109 + distutils-r1_python_install_all
110 +}