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-saharaclient/
Date: Sat, 24 Feb 2018 07:19:17
Message-Id: 1519455176.15957964bde103bb504fb1591fff4f6785d0caeb.prometheanfire@gentoo
1 commit: 15957964bde103bb504fb1591fff4f6785d0caeb
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 24 06:52:56 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 24 06:52:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15957964
7
8 dev-python/python-saharaclient: 1.5.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/python-saharaclient/Manifest | 2 +-
13 .../python-saharaclient-0.11.0.ebuild | 63 ----------------------
14 .../python-saharaclient-1.5.0.ebuild | 58 ++++++++++++++++++++
15 3 files changed, 59 insertions(+), 64 deletions(-)
16
17 diff --git a/dev-python/python-saharaclient/Manifest b/dev-python/python-saharaclient/Manifest
18 index 8ba64255ff8..1c31215bf76 100644
19 --- a/dev-python/python-saharaclient/Manifest
20 +++ b/dev-python/python-saharaclient/Manifest
21 @@ -1,2 +1,2 @@
22 -DIST python-saharaclient-0.11.0.tar.gz 101842 BLAKE2B 0794f58e8add97161db0d65e282b7efa8c5d772a8c4666ff0a8f36d5a3055d9cf03cbdd34cac70828b56924aae7a64719519fc8d625c748e51430d2f0379dada SHA512 de30918d23b5b8191b2e49f0f7116510533da15be412d87c9018af2e4144082e9cb127713a4aff3ac03d72867a9855d73cbd56b83db24a9bad9b7b422c451018
23 DIST python-saharaclient-1.1.0.tar.gz 81664 BLAKE2B 8bfc8ed2bcc4cc13e6894d7776f7cb99c8a72632e132801df689832ef847c56b7cedf39abb112223a2919ea3ef52fc99e31290f7acb555f76505e11f195c48db SHA512 0799549d68bc65792cdf0129f3590667a1a87697182ad24c5c41e9c01abf5e133a16a60fe0331f313da44017aaf0503bbc131e8a62536a692032af36ae9f1386
24 +DIST python-saharaclient-1.5.0.tar.gz 94824 BLAKE2B cacc3f2e8a1df5f7e50f5b5c004745333ea4b287c0a86792247212fb873ec55329719f16472c3c7fef196f2ce8fd05c760e8db33b84e0ea949f7e89997c0f960 SHA512 8b845ad0eefa05b564659dea9e619a3946e0d62a981b46a4fecfc2d4aab785b8eeb2e18266d5467efd8e0ca31c441af7da41a816ea42405a8cd137adeae2793b
25
26 diff --git a/dev-python/python-saharaclient/python-saharaclient-0.11.0.ebuild b/dev-python/python-saharaclient/python-saharaclient-0.11.0.ebuild
27 deleted file mode 100644
28 index 44ad54f77a7..00000000000
29 --- a/dev-python/python-saharaclient/python-saharaclient-0.11.0.ebuild
30 +++ /dev/null
31 @@ -1,63 +0,0 @@
32 -# Copyright 1999-2015 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -PYTHON_COMPAT=( python2_7 )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="This is a client for the OpenStack Sahara API, aka HADOOP"
41 -HOMEPAGE="https://github.com/openstack/python-saharaclient"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="Apache-2.0"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 -IUSE="test"
48 -
49 -CDEPEND="
50 - >=dev-python/pbr-1.6.0[${PYTHON_USEDEP}]
51 - <dev-python/pbr-2.0[${PYTHON_USEDEP}]"
52 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
53 - ${CDEPEND}
54 - test? (
55 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
56 - >=dev-python/mock-1.2[${PYTHON_USEDEP}]
57 - >=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
58 - >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
59 - >=dev-python/python-neutronclient-2.6.0[${PYTHON_USEDEP}]
60 - >=dev-python/python-novaclient-2.26.0[${PYTHON_USEDEP}]
61 - >=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}]
62 - >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
63 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
64 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
65 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
66 - >=dev-python/tempest-lib-0.6.1[${PYTHON_USEDEP}]
67 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
68 - )"
69 -RDEPEND="
70 - ${CDEPEND}
71 - >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
72 - >=dev-python/cliff-1.14.0[${PYTHON_USEDEP}]
73 - >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
74 - !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
75 - >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
76 - >=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
77 - >=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
78 - >=dev-python/python-openstackclient-1.5.0[${PYTHON_USEDEP}]
79 - >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
80 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
81 - >=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
82 - <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
83 - >=dev-python/oslo-log-1.10.0[${PYTHON_USEDEP}]"
84 -
85 -python_prepare_all() {
86 - sed -i '/^argparse/d' requirements.txt || die
87 - sed -i '/^hacking/d' test-requirements.txt || die
88 - distutils-r1_python_prepare_all
89 -}
90 -
91 -python_test() {
92 - testr init
93 - testr run --parallel || die "testsuite failed under python2.7"
94 -}
95
96 diff --git a/dev-python/python-saharaclient/python-saharaclient-1.5.0.ebuild b/dev-python/python-saharaclient/python-saharaclient-1.5.0.ebuild
97 new file mode 100644
98 index 00000000000..2decbd698ac
99 --- /dev/null
100 +++ b/dev-python/python-saharaclient/python-saharaclient-1.5.0.ebuild
101 @@ -0,0 +1,58 @@
102 +# Copyright 1999-2018 Gentoo Foundation
103 +# Distributed under the terms of the GNU General Public License v2
104 +
105 +EAPI=6
106 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
107 +
108 +inherit distutils-r1
109 +
110 +DESCRIPTION="This is a client for the OpenStack Sahara API, aka HADOOP"
111 +HOMEPAGE="https://github.com/openstack/python-saharaclient"
112 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
113 +
114 +LICENSE="Apache-2.0"
115 +SLOT="0"
116 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
117 +IUSE="test"
118 +
119 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
120 + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
121 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
122 + ${CDEPEND}
123 + test? (
124 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
125 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
126 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
127 + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
128 + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
129 + >=dev-python/os-testr-1.0.0[${PYTHON_USEDEP}]
130 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
131 + >=dev-python/requests-mock-1.1.0[${PYTHON_USEDEP}]
132 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
133 + !~dev-python/sphinx-1.6.6[${PYTHON_USEDEP}]
134 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
135 + )"
136 +RDEPEND="
137 + ${CDEPEND}
138 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
139 + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]
140 + >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
141 + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}]
142 + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
143 + >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}]
144 + !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}]
145 + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
146 + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
147 + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
148 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
149 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
150 +
151 +python_prepare_all() {
152 + sed -i '/^hacking/d' test-requirements.txt || die
153 + distutils-r1_python_prepare_all
154 +}
155 +
156 +python_test() {
157 + testr init
158 + testr run --parallel || die "testsuite failed under python2.7"
159 +}