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: Tue, 01 Sep 2015 16:11:38
Message-Id: 1441123686.550c13390c3ace8a2de7c5228f2ac862aee53aae.prometheanfire@gentoo
1 commit: 550c13390c3ace8a2de7c5228f2ac862aee53aae
2 Author: Matthew Thode <mthode <AT> mthode <DOT> org>
3 AuthorDate: Tue Sep 1 16:00:17 2015 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 16:08:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550c1339
7
8 dev-python/python-glanceclient: bup for liberty
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-python/python-glanceclient/Manifest | 1 +
13 .../python-glanceclient-1.0.0.ebuild | 76 ++++++++++++++++++++++
14 2 files changed, 77 insertions(+)
15
16 diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest
17 index 6e9c660..743fcf4 100644
18 --- a/dev-python/python-glanceclient/Manifest
19 +++ b/dev-python/python-glanceclient/Manifest
20 @@ -5,3 +5,4 @@ DIST python-glanceclient-0.17.1.tar.gz 131534 SHA256 79e3426aa76d712a9fde4d4dcef
21 DIST python-glanceclient-0.17.2.tar.gz 134726 SHA256 56ca8fe2c4f33d9dd9b045073bdd0dba09b1f6ef7af978175966d262678ecd0e SHA512 d66cb2391c6feeeb279a1591bae04405bf78eeb95b6f8bb78a401b28246d6de341cf02c621553e97dce3ddc43dcf8c6bfb5360ff7d6ac54501565fcbe1bac957 WHIRLPOOL cbff98a55f3fcd30335bdb504e61682b04e8f84de5359dc671f834e8a98f441355d89f2a0123e31dc71f0fdf4b522341e54212fb2dd5bb8965a613f4084a62d1
22 DIST python-glanceclient-0.18.0.tar.gz 132194 SHA256 9784de057ffb8fadd98563452a9f30bfdca6d4531ce166ac2d101cd968a6194a SHA512 091f4a954e58abef40520ecb137fb47e02bd299e9903a83dc9eb26e428e4e0a0f58949e2eead5afaa271ef71e2827f319e72074bf93313ccd506f3374e95367d WHIRLPOOL edfe214cd791baed39f05617b2fa35b3eeae66754b57e9e553f019b3937fe04046bf73c9fa1c811f429a22622777b2507221b712e0b040efb7f8d0e2cb986b71
23 DIST python-glanceclient-0.19.0.tar.gz 138756 SHA256 45115023cadfdbc24a10b10ca5d003f8f04fd5642b7c8fb565efa566bac4bf51 SHA512 50591b535bb27eaeaeed02f04bd164d4449df1e2b66a6c8abd4fad327e2293b6c9a1e4226ce3f9180d22a33ed2212bd735ad2d91374121e0d062c590a4cc64c5 WHIRLPOOL 9abb606573211c39becef134803e036f7f6b11591ae95d486749e8a62f2a22490c833750ef5234c2502f7aa0cb24dcf62b326249703fbae0dceb3173b7286bf2
24 +DIST python-glanceclient-1.0.0.tar.gz 149306 SHA256 46cf0c1bad4ec29c8b56c0a16a2c54f4add89fd33e8756285367cfcdd23595b4 SHA512 fc0ef3ff6da41b750fc1972feee65671aa9cb6deeeb08a39ab271aceacc872886edbcabaa0d7f36574a425fac29bd868f6d4682563719249c2fab80c16f19761 WHIRLPOOL 33d293a959e193fcc8297e60a718c99eacf17e55cccca3204bc521fb50b3793cfe3ea68bb4a570e1f50be44f1421c5fe12ee7b038bd5a95344e5f7f8c29c03a0
25
26 diff --git a/dev-python/python-glanceclient/python-glanceclient-1.0.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-1.0.0.ebuild
27 new file mode 100644
28 index 0000000..5541f0f
29 --- /dev/null
30 +++ b/dev-python/python-glanceclient/python-glanceclient-1.0.0.ebuild
31 @@ -0,0 +1,76 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +PYTHON_COMPAT=( python2_7 python{3_3,3_4} )
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 ~x86 ~amd64-linux ~x86-linux"
48 +IUSE="doc test"
49 +REQUIRED_USE="test? ( doc )"
50 +
51 +CDEPEND=">=dev-python/pbr-1.4[${PYTHON_USEDEP}]
52 + <dev-python/pbr-2.0[${PYTHON_USEDEP}]"
53 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
54 + ${CDEPEND}
55 + test? (
56 + >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
57 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
58 + >=dev-python/oslo-sphinx-2.5.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-1.3.1[${PYTHON_USEDEP}]
63 + >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
64 + >=dev-python/tempest-lib-0.6.1[${PYTHON_USEDEP}]
65 + )
66 + doc? (
67 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
68 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
69 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
70 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
71 + )
72 +"
73 +RDEPEND="
74 + ${CDEPEND}
75 + >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
76 + >=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
77 + <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
78 + >=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
79 + >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
80 + >=dev-python/warlock-1.0.1[${PYTHON_USEDEP}]
81 + <dev-python/warlock-2[${PYTHON_USEDEP}]
82 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
83 + >=dev-python/oslo-utils-1.9.0[${PYTHON_USEDEP}]
84 + >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
85 +"
86 +
87 +python_prepare_all() {
88 + sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
89 + sed -i '/^argparse/d' requirements.txt || 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 +}