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/hacking/
Date: Sun, 26 Jan 2020 20:24:28
Message-Id: 1580070254.5f55303cb083c8dd5bcef6efdebcf75407f9bf07.prometheanfire@gentoo
1 commit: 5f55303cb083c8dd5bcef6efdebcf75407f9bf07
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 20:23:46 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 26 20:24:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f55303c
7
8 dev-python/hacking: 2.0.0 bump
9
10 Bug: https://bugs.gentoo.org/643616
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 dev-python/hacking/Manifest | 4 +-
15 dev-python/hacking/hacking-0.10.3.ebuild | 71 --------------------------------
16 dev-python/hacking/hacking-0.9.2.ebuild | 61 ---------------------------
17 dev-python/hacking/hacking-0.9.6.ebuild | 61 ---------------------------
18 dev-python/hacking/hacking-2.0.0.ebuild | 59 ++++++++++++++++++++++++++
19 5 files changed, 60 insertions(+), 196 deletions(-)
20
21 diff --git a/dev-python/hacking/Manifest b/dev-python/hacking/Manifest
22 index 184d9129504..da8ad358aff 100644
23 --- a/dev-python/hacking/Manifest
24 +++ b/dev-python/hacking/Manifest
25 @@ -1,4 +1,2 @@
26 -DIST hacking-0.10.3.tar.gz 41119 BLAKE2B fe43b31f356c9469925bf43ff381c1e24d6976961140e2e3f0988d2c693db87de98b27b38ce456b4fc681bfbaff428882e7fc072cd4511935585d789850b85a4 SHA512 020f58220d6c3d09dcc1b0ab886796087c9fe4e9eccae1e331f6f2056b5b106ffa4ba2545af086cf4ee53e21bcc124fef203c7bac36456ac86f09b4c6ff07417
27 -DIST hacking-0.9.2.tar.gz 43956 BLAKE2B f4bad9ca0ffaaaf05d9f0b8536ccc72c51de4547de8d38ea31f9bae1ebbb52362d75fc286075b13631362fa00e3a7081db6a128584067896bf4daf7b32f4bfeb SHA512 76aa59b4cdfb8036d6471e35cba43d502de3a72edc3883a05822063cbb92eaa072cef3144d21ee82ac763c3385c65bc9dec4b66fda5a5a2090191ba5b6388d41
28 -DIST hacking-0.9.6.tar.gz 43287 BLAKE2B e67090fe103849fd9cb4cd4ea36065d49500448cc291ffa2c36273095a2de4a704af2f3a926aef0ffe4aa4689ef7f810f317f0ed46e9c7143039ab776b04bfe5 SHA512 e4225754a85ff474b724130a0c3d6a6b9c480a953ea35a18833378cf2a5df4687819f510b50a95f42890cc69836033a8af933bc0a5a4e330ae94532bcee189b4
29 DIST hacking-1.1.0.tar.gz 55620 BLAKE2B 6a6f30ef8a1eef3aa1b1b630dd43e1d2e9adff1623d8db19a545f186f60ce367e4b820582893e6444b7d58573b4a70a47a30cdc8d2ce1202666cf6e1b0e7456f SHA512 d326995976c04469c9d164ff31d02471346af715730d97fee23261988100156c4598ea8968cb483e8f386ee3f94a6bdffb5f67d8a7dfc238f4607fb7fe09e128
30 +DIST hacking-2.0.0.tar.gz 53296 BLAKE2B 50606d700c324acc8695499ee97cd592b051fe0cfc020efdfe7bf82b44d2f6ac858ed2f923ea08343066820c7da1686aa0b172bbab541cc564dc5ecc016cfac6 SHA512 d44d62f694c79af4c2044e745b140f0582fb5a6bbfa8050d45b17e8cb354198e8eac3a06586cf96d516844bb079d429d73ce9755a23e256857c4de19aca7ffe3
31
32 diff --git a/dev-python/hacking/hacking-0.10.3.ebuild b/dev-python/hacking/hacking-0.10.3.ebuild
33 deleted file mode 100644
34 index 70c5421423a..00000000000
35 --- a/dev-python/hacking/hacking-0.10.3.ebuild
36 +++ /dev/null
37 @@ -1,71 +0,0 @@
38 -# Copyright 1999-2020 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=5
42 -
43 -PYTHON_COMPAT=( python3_6 )
44 -
45 -inherit distutils-r1
46 -
47 -DESCRIPTION="A client for the OpenStack Nova API"
48 -HOMEPAGE="https://github.com/openstack-dev/hacking"
49 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
50 -
51 -LICENSE="Apache-2.0"
52 -SLOT="0"
53 -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
54 -IUSE="doc test"
55 -RESTRICT="!test? ( test )"
56 -
57 -DEPEND="
58 - dev-python/setuptools[${PYTHON_USEDEP}]
59 - >=dev-python/pbr-0.11.0[${PYTHON_USEDEP}]
60 - test? (
61 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
62 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
63 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
64 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
65 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
66 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
67 - >=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
68 - !~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
69 - ${RDEPEND}
70 - )
71 - doc? (
72 - >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
73 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
74 - $(python_gen_cond_dep 'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 )
75 - )"
76 -RDEPEND="
77 - ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
78 - ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
79 - ~dev-python/flake8-2.2.5[${PYTHON_USEDEP}]
80 - ~dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
81 - >=dev-python/six-1.7.0[${PYTHON_USEDEP}]"
82 -
83 -DISTUTILS_IN_SOURCE_BUILD=1
84 -
85 -python_prepare_all() {
86 - # Prevent d'loading and correct ?typo to oslosphinx in conf.py
87 - sed -e 's:intersphinx_mapping:#&:' \
88 - -e 's:oslosphinx:oslo.sphinx:' \
89 - -i doc/source/conf.py || die
90 - # relax deps
91 - rm *requirements.txt hacking.egg-info/requires.txt || die
92 - distutils-r1_python_prepare_all
93 -}
94 -
95 -python_compile_all() {
96 - use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html
97 -}
98 -
99 -python_test() {
100 - testr init || die "testr init died"
101 - testr run || die "testsuite failed under ${EPYTHON}"
102 - flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder"
103 -}
104 -
105 -python_install_all() {
106 - use doc && local HTML_DOCS=( doc/source/html/. )
107 - distutils-r1_python_install_all
108 -}
109
110 diff --git a/dev-python/hacking/hacking-0.9.2.ebuild b/dev-python/hacking/hacking-0.9.2.ebuild
111 deleted file mode 100644
112 index b354c8fcd79..00000000000
113 --- a/dev-python/hacking/hacking-0.9.2.ebuild
114 +++ /dev/null
115 @@ -1,61 +0,0 @@
116 -# Copyright 1999-2020 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=5
120 -PYTHON_COMPAT=( python3_6 )
121 -
122 -inherit distutils-r1
123 -
124 -DESCRIPTION="A client for the OpenStack Nova API"
125 -HOMEPAGE="https://github.com/openstack-dev/hacking"
126 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
127 -
128 -LICENSE="Apache-2.0"
129 -SLOT="0"
130 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
131 -IUSE="doc test"
132 -RESTRICT="!test? ( test )"
133 -
134 -RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
135 - ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
136 - ~dev-python/flake8-2.1.0[${PYTHON_USEDEP}]
137 - >=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
138 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
139 - >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
140 - !=dev-python/pbr-0.7[${PYTHON_USEDEP}]
141 - <dev-python/pbr-1.0[${PYTHON_USEDEP}]
142 - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
143 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
144 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
145 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
146 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
147 - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
148 - ${RDEPEND} )
149 - doc? ( >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
150 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
151 - $(python_gen_cond_dep 'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 ) )"
152 -DISTUTILS_IN_SOURCE_BUILD=1
153 -
154 -python_prepare_all() {
155 - # Prevent d'loading and correct ?typo to oslosphinx in conf.py
156 - sed -e 's:intersphinx_mapping:#&:' \
157 - -e 's:oslosphinx:oslo.sphinx:' \
158 - -i doc/source/conf.py || die
159 -
160 - distutils-r1_python_prepare_all
161 -}
162 -
163 -python_compile_all() {
164 - use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html
165 -}
166 -
167 -python_test() {
168 - testr init || die "testr init died"
169 - testr run || die "testsuite failed under ${EPYTHON}"
170 - flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder"
171 -}
172 -
173 -python_install_all() {
174 - use doc && local HTML_DOCS=( doc/source/html/. )
175 - distutils-r1_python_install_all
176 -}
177
178 diff --git a/dev-python/hacking/hacking-0.9.6.ebuild b/dev-python/hacking/hacking-0.9.6.ebuild
179 deleted file mode 100644
180 index 82e43007dff..00000000000
181 --- a/dev-python/hacking/hacking-0.9.6.ebuild
182 +++ /dev/null
183 @@ -1,61 +0,0 @@
184 -# Copyright 1999-2020 Gentoo Authors
185 -# Distributed under the terms of the GNU General Public License v2
186 -
187 -EAPI=5
188 -
189 -PYTHON_COMPAT=( python3_6 )
190 -
191 -inherit distutils-r1
192 -
193 -DESCRIPTION="A client for the OpenStack Nova API"
194 -HOMEPAGE="https://github.com/openstack-dev/hacking"
195 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
196 -
197 -LICENSE="Apache-2.0"
198 -SLOT="0"
199 -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
200 -IUSE="doc test"
201 -RESTRICT="!test? ( test )"
202 -
203 -RDEPEND="~dev-python/pep8-1.5.6[${PYTHON_USEDEP}]
204 - ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
205 - ~dev-python/flake8-2.1.0[${PYTHON_USEDEP}]
206 - >=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
207 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
208 - >=dev-python/pbr-0.11.0[${PYTHON_USEDEP}]
209 - <dev-python/pbr-1.0[${PYTHON_USEDEP}]
210 - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
211 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
212 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
213 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
214 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
215 - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
216 - ${RDEPEND} )
217 - doc? ( >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
218 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
219 - $(python_gen_cond_dep 'dev-python/oslo-sphinx[${PYTHON_USEDEP}]' python2_7 ) )"
220 -DISTUTILS_IN_SOURCE_BUILD=1
221 -
222 -python_prepare_all() {
223 - # Prevent d'loading and correct ?typo to oslosphinx in conf.py
224 - sed -e 's:intersphinx_mapping:#&:' \
225 - -e 's:oslosphinx:oslo.sphinx:' \
226 - -i doc/source/conf.py || die
227 -
228 - distutils-r1_python_prepare_all
229 -}
230 -
231 -python_compile_all() {
232 - use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html
233 -}
234 -
235 -python_test() {
236 - testr init || die "testr init died"
237 - testr run || die "testsuite failed under ${EPYTHON}"
238 - flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder"
239 -}
240 -
241 -python_install_all() {
242 - use doc && local HTML_DOCS=( doc/source/html/. )
243 - distutils-r1_python_install_all
244 -}
245
246 diff --git a/dev-python/hacking/hacking-2.0.0.ebuild b/dev-python/hacking/hacking-2.0.0.ebuild
247 new file mode 100644
248 index 00000000000..3be16cad037
249 --- /dev/null
250 +++ b/dev-python/hacking/hacking-2.0.0.ebuild
251 @@ -0,0 +1,59 @@
252 +# Copyright 1999-2020 Gentoo Authors
253 +# Distributed under the terms of the GNU General Public License v2
254 +
255 +EAPI=7
256 +
257 +PYTHON_COMPAT=( python3_{6,7} )
258 +
259 +inherit distutils-r1
260 +
261 +DESCRIPTION="A client for the OpenStack Nova API"
262 +HOMEPAGE="https://github.com/openstack-dev/hacking"
263 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
264 +
265 +LICENSE="Apache-2.0"
266 +SLOT="0"
267 +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux"
268 +IUSE="doc test"
269 +RESTRICT="!test? ( test )"
270 +
271 +RDEPEND="
272 + >=dev-python/flake8-3.6.0[${PYTHON_USEDEP}]
273 + <dev-python/flake8-4.0.0[${PYTHON_USEDEP}]
274 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
275 +DEPEND="
276 + dev-python/setuptools[${PYTHON_USEDEP}]
277 + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
278 + test? (
279 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
280 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
281 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
282 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
283 + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
284 + >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
285 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
286 + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
287 + ${RDEPEND}
288 + )
289 + doc? (
290 + >=dev-python/sphinx-1.8.0[${PYTHON_USEDEP}]
291 + !~dev-python/sphinx-2.1.0[${PYTHON_USEDEP}]
292 + >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
293 + >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
294 + )"
295 +DISTUTILS_IN_SOURCE_BUILD=1
296 +
297 +python_compile_all() {
298 + use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html
299 +}
300 +
301 +python_test() {
302 + stestr init || die "stestr init died"
303 + stestr run || die "testsuite failed under ${EPYTHON}"
304 + flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder"
305 +}
306 +
307 +python_install_all() {
308 + use doc && local HTML_DOCS=( doc/source/html/. )
309 + distutils-r1_python_install_all
310 +}