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-heatclient/
Date: Mon, 27 Feb 2017 06:43:32
Message-Id: 1488177772.2a4c6e2774284dba99dcd77b1564d0cbe61191f7.prometheanfire@gentoo
1 commit: 2a4c6e2774284dba99dcd77b1564d0cbe61191f7
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 06:21:52 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 06:42:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4c6e27
7
8 dev-python/python-heatclient: bup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/python-heatclient/Manifest | 1 +
13 .../python-heatclient-1.8.0.ebuild | 82 ++++++++++++++++++++++
14 2 files changed, 83 insertions(+)
15
16 diff --git a/dev-python/python-heatclient/Manifest b/dev-python/python-heatclient/Manifest
17 index 55b88c5b45..156b074dfe 100644
18 --- a/dev-python/python-heatclient/Manifest
19 +++ b/dev-python/python-heatclient/Manifest
20 @@ -1,2 +1,3 @@
21 DIST python-heatclient-0.8.0.tar.gz 121399 SHA256 5cd1c855ee21f18bfffbc7269e40c417b953d0855aa3cc8b56d778b8612467d5 SHA512 c17d445e646c3fc2f10bb622ba2a38299182e0a7841e0dae0e7c4482bc4d8868569b2204c18dc98456507d6f5abbf64db0b8e06c21bacf360883b24bfb01efc1 WHIRLPOOL 9c0b41d01458bcb3b26be163fb1e9e557b37fafc26d9698df73cfe722f8e02b991f36731e42bb5de88f2c7c3c0d86ee7154e1da76c99755cf9b7dcea0d79718e
22 DIST python-heatclient-1.5.0.tar.gz 176692 SHA256 42c253671c98c92dbd379b471f498000739e711afc2831d32b258a59bc48ee12 SHA512 656daa6a9f515f2d3b1f7fb7f3b4f54b0fc4798156b399486a8e950526be97707784521b252bf4551eaee6469df9aaff62cb98c935c215e149a77347c74a6138 WHIRLPOOL c28bbc4bcfeb47ad9fa56ca1b75a6e5c36ffa437ae3bb7071279bc5f34c96051d9dc0ac6bd44913444c1e02ee2548096c27ad17f1f9b3b7c25d32f921856eb79
23 +DIST python-heatclient-1.8.0.tar.gz 164289 SHA256 3e270a6030c4976d641af3f89671a581fc308399a7bbaeb3d0bb50b15a865d95 SHA512 f6e180583f8f0ed9e5b6db9782de5bf4f1adbbe929e2091a50bce29617c62b9689790efb2909e2a25cbd0bc7aec97ef4de3fa31abd0f22fac98c571c12305443 WHIRLPOOL 3d4796af51abbecf3c78865594e3c45b9131d9445a6f5fd6bbebe3ca651409c1d5001bc7cbb2d6d9b9ed9011600f00935fcd4926a7b000f5d0791196eef8cb64
24
25 diff --git a/dev-python/python-heatclient/python-heatclient-1.8.0.ebuild b/dev-python/python-heatclient/python-heatclient-1.8.0.ebuild
26 new file mode 100644
27 index 0000000000..0c092dc0a7
28 --- /dev/null
29 +++ b/dev-python/python-heatclient/python-heatclient-1.8.0.ebuild
30 @@ -0,0 +1,82 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="OpenStack Orchestration API Client Library"
41 +HOMEPAGE="http://www.openstack.org/"
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 +
49 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + ${CDEPEND}
53 + test? (
54 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
55 + >=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}]
56 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
57 + >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
58 + !~dev-python/mox3-0.19.0[${PYTHON_USEDEP}]
59 + >dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
60 + >=dev-python/python-openstackclient-3.3.0[${PYTHON_USEDEP}]
61 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
62 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
63 + >=dev-python/testtools-1.4.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 +
72 +RDEPEND="
73 + ${CDEPEND}
74 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
75 + >=dev-python/cliff-2.3.0[${PYTHON_USEDEP}]
76 + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
77 + >=dev-python/osc-lib-1.2.0[${PYTHON_USEDEP}]
78 + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
79 + <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
80 + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
81 + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
82 + >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
83 + >=dev-python/keystoneauth-2.18.0[${PYTHON_USEDEP}]
84 + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}]
85 + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}]
86 + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
87 + !~dev-python/requests-2.12.2[${PYTHON_USEDEP}]
88 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
89 +"
90 +
91 +python_prepare_all() {
92 + sed -i '/^hacking/d' test-requirements.txt || die
93 +
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 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
103 +
104 + testr init
105 + testr run || die "testsuite failed under ${EPYTHON}"
106 +}
107 +
108 +python_install_all() {
109 + use doc && local HTML_DOCS=( doc/build/html/. )
110 +
111 + distutils-r1_python_install_all
112 +}