Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pbr/files/, dev-python/pbr/
Date: Mon, 23 Nov 2015 10:06:13
Message-Id: 1448273131.f154c6ff1114a45204f0081bd5a548a232c2363c.jlec@gentoo
1 commit: f154c6ff1114a45204f0081bd5a548a232c2363c
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 23 09:56:19 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 23 10:05:31 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f154c6ff
7
8 dev-python/pbr: Drop old
9
10 obsoletes:
11
12 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=547342
13 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=551596
14
15 Package-Manager: portage-2.2.25
16 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
17
18 dev-python/pbr/Manifest | 9 ----
19 dev-python/pbr/files/pbr-1.4.0_no-git.patch | 43 ------------------
20 dev-python/pbr/pbr-0.10.8.ebuild | 64 ---------------------------
21 dev-python/pbr/pbr-0.11.0.ebuild | 66 ----------------------------
22 dev-python/pbr/pbr-0.8.2.ebuild | 52 ----------------------
23 dev-python/pbr/pbr-1.0.1.ebuild | 67 ----------------------------
24 dev-python/pbr/pbr-1.1.1.ebuild | 68 -----------------------------
25 dev-python/pbr/pbr-1.2.0.ebuild | 67 ----------------------------
26 dev-python/pbr/pbr-1.3.0.ebuild | 65 ---------------------------
27 dev-python/pbr/pbr-1.6.0.ebuild | 65 ---------------------------
28 dev-python/pbr/pbr-1.7.0.ebuild | 65 ---------------------------
29 dev-python/pbr/pbr-1.8.0.ebuild | 68 -----------------------------
30 12 files changed, 699 deletions(-)
31
32 diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest
33 index c3325d6..e57b0ea 100644
34 --- a/dev-python/pbr/Manifest
35 +++ b/dev-python/pbr/Manifest
36 @@ -1,11 +1,2 @@
37 -DIST pbr-0.10.8.tar.gz 82952 SHA256 a741650c697abe9dd3da00039a57a45a15a6eed017a16f6b7e4c0161fae2b4b2 SHA512 d79455288657ca07e38a64393d54bda8f88b75242b929ea9f88ac809ba88fffa4793eba0459cae368d822164de5a89721c77fadd05ab624db5897f6cf447b1f4 WHIRLPOOL 621f34852dc31cd149422a36fc0416fdc8640f9103439267f9b6f117a80c5dd949fab18287c10c5d5022248812b792f83766b32a62608d42d8b08066c890753e
38 -DIST pbr-0.11.0.tar.gz 94347 SHA256 d7f0d69aef367a764d69a4728afd966025ce9394d6029a924ef838ecdf592f6d SHA512 6ddcbc39b25e57d20108f72334934f5243d397e2b5316ad26bdbdf32ae6e5bed0ad6fcb47d8e92d6c73a9bd369c463a962cae9fce5800096dd819f2ce58a045b WHIRLPOOL 0f239031cd89fde32f92b792c5e8d7b030644cd277cab6492028a75a5b0e2c8610ac2cf908fd644998663b21bb1a188147a1be0727d60726d4ba5c0edc0ddae5
39 DIST pbr-0.8.2.tar.gz 77790 SHA256 eef2ace8d65d5902582cbc9ad3b2ecff0e86a6f90ad4837d8b17d568dd9dd20e SHA512 76d7d4c97660d5a6bbe9a33498a93b32528073024520e570739c511c0138ba1af7e35139bf77ca2a94063e5979baccd6252619449d6aed546fd1331be81ab52a WHIRLPOOL d6331fcd6e7d4eb750e3285e92fd21dfdfbb054b880f954156d1e781025a0c0e1c464e0c23cad587799ceba787928af092d34071eb0a5c4595b0e8aa6db52ff0
40 -DIST pbr-1.0.1.tar.gz 96438 SHA256 fc3d19ab844647388cc13a3df403bda872d2fc16662803d0ebcc1787d3645552 SHA512 4c4d623a558761edb5724ccb55122bf37a57a2ef48c5a2788df0d564d913a0aa59887f12da698d019e2636d70e92f45002520aeb6b7401f4b47d10c4c76b7567 WHIRLPOOL 1c08bad2d47e3805d59464a62365423fdd46a711d3ca860375962af2ba899d8e8165912f28d3c35957554116a466cbb16c57272a24eeba73d8ce0ca417c23837
41 -DIST pbr-1.1.1.tar.gz 97607 SHA256 3d63cc8e145e5e20624859d6453d783ae1451704483ae23d3315041d65e4d423 SHA512 bf997b85ef1b1f3ff51050ca9314f48ffd3119ba0da3acfe0e97b8498eb4af5137a528a3359527c21bbbcc6425b2eebaff69177c3eecb612a1d137b020bd019c WHIRLPOOL 45c6e4ca421df003a9ec19dca500972395644a55cafa1482c8860a87baf3ffa71ef9c4180f07dfe4db3c8b2ac0ca8171233a7e54245622cd9108f5a975ec1b80
42 -DIST pbr-1.2.0.tar.gz 99092 SHA256 1543fc3e00261369c160fc8cf700717aad15fbc1f0ea0e8dc4f372cb91a655d0 SHA512 e5adc396596f4b42a8eb569c970a3cf571b119740b9ca221dc57c6f34c088df1dbfca3c704b7dd3b2d6676d48f9eba17ddb535e28ef6ab0572206620b894c5a2 WHIRLPOOL 6baaeecc6dc7c228d76f7a8f42af19cf179540483267ea863323e09654a3faac0cabbea6dc6d83b36e0c4496cd5872f05e1e9b7f5c5a36272fc746f84e2dd504
43 -DIST pbr-1.3.0.tar.gz 99701 SHA256 1a6f8d514fc11d2571c75c207d932c106f024f199b5f12d25f8ca022b026c59d SHA512 29f661a1d8bed6df5017bb342209e702f19e72c321952a9131d84222162599208bea67922485a87b6f3505e072d62cb13fdfcdd4fbb7c085b3476f6ff5a07df9 WHIRLPOOL 978d943efd2f582b8067a898f102005c749df8addee4ec3d6f4f4c4078e3190263ceba46409281e7bd38ab59ad12f45d3d208cfd6ba58ece72d973161dfd08e9
44 -DIST pbr-1.6.0.tar.gz 99945 SHA256 4eaee8ff5544703edd1951ed1dc0b283da99a74f740d9f9055eeefcf329de1d1 SHA512 a0393cc7774ea3e181ba75c976f5961686afeb214d8c16f3fdd3838154323cd856ded759cae1c6a25b0371c72d95e579b04de0902d56c432ef137f820032c0fd WHIRLPOOL f0a4c4744a86ee1285490ec78fa8e9dc910d926b05746ccf1be5342fe4369bf33a6373ff4fc9981f2547fa83dbc743de4b204a79c9eee8bd4396a983c5509686
45 -DIST pbr-1.7.0.tar.gz 99850 SHA256 d6e696dbd2b311225e3a21fe11d611989434cb366ff7919cef5ef1add859526e SHA512 333c99132008997b988f93488b1c4d42a30e14ee179866ee4624bdaae3c11ea2bd321d15c86ee435d325dd80fe1de64ff75113c2c8f5f7b31248188c9e3719fe WHIRLPOOL 62effaec7fb99c89dbba36af71208472c4cfb7fbbb2549440f995048b1ff0b0b2899b099774574c5501bc2d575253a6c8e5df7afccd449f3052a0ebf07f1269e
46 -DIST pbr-1.8.0.tar.gz 102868 SHA256 44a0ef9295bb59698f461124741a21a0f7f76d42e160d8a0a4bf1693338036fc SHA512 e1c1e7f0ebff7d7dc8af6c3a6fe1841ee80a9620b25f4146bd30ccbd2212e6332fa8c2aa1ca044cda2915a8bad6df468bd1dc365c330508fa8f07b8fa231736f WHIRLPOOL 9fe6546bef29a3f19d3e8f1ca09ce6f004e17bcadfb3fb5460d9a0db382f3e76218637ad8e34f4e5b6ae7caa8c38a54563ec1193b0ea7e5a56da71c48681dd3c
47 DIST pbr-1.8.1.tar.gz 104584 SHA256 e2127626a91e6c885db89668976db31020f0af2da728924b56480fc7ccf09649 SHA512 909b3ef463787d68f75f300b483ffb7d1e54ef246ed893ab5cf84e5489e171b67b77c90a1f90259ca274eeb286a66a3f221d5e0c17df5d14d0aa263d36ba6eb4 WHIRLPOOL 69bf79cc322583b17e86ccb130894dbd5aed4b0b6c8c273c977a3a5ac79190cd15b96b28d76995021eb69c30b76bcf7e9a061c0280483da9ec0c69d33e9f0822
48
49 diff --git a/dev-python/pbr/files/pbr-1.4.0_no-git.patch b/dev-python/pbr/files/pbr-1.4.0_no-git.patch
50 deleted file mode 100644
51 index 78a451e..0000000
52 --- a/dev-python/pbr/files/pbr-1.4.0_no-git.patch
53 +++ /dev/null
54 @@ -1,43 +0,0 @@
55 -From 5c0bb9186fe2d65901744b00af24c8c50b3e1d29 Mon Sep 17 00:00:00 2001
56 -From: Robert Collins <rbtcollins@××.com>
57 -Date: Mon, 10 Aug 2015 16:22:26 +1200
58 -Subject: Handle git being entirely absent
59 -
60 -When we try to find the git directory, if git is not present, treat
61 -that the same as an error from git itself. Sadly tests for this are
62 -nearly impossible to meaningfully write, since we always have git
63 -installed. I can do a mock based test if folk want one.
64 -
65 -Change-Id: If6160d1fb3def8133bdd0b66105e60ef93f80f82
66 -Closes-Bug: #1481468
67 -
68 -diff --git a/pbr/git.py b/pbr/git.py
69 -index b4ae300..60acd3c 100644
70 ---- a/pbr/git.py
71 -+++ b/pbr/git.py
72 -@@ -18,6 +18,7 @@ from __future__ import unicode_literals
73 -
74 - import distutils.errors
75 - from distutils import log
76 -+import errno
77 - import io
78 - import os
79 - import re
80 -@@ -64,7 +65,13 @@ def _run_git_command(cmd, git_dir, **kwargs):
81 -
82 -
83 - def _get_git_directory():
84 -- return _run_shell_command(['git', 'rev-parse', '--git-dir'])
85 -+ try:
86 -+ return _run_shell_command(['git', 'rev-parse', '--git-dir'])
87 -+ except OSError as e:
88 -+ if e.errno == errno.ENOENT:
89 -+ # git not installed.
90 -+ return ''
91 -+ raise
92 -
93 -
94 - def _git_is_installed():
95 ---
96 -cgit v0.10.2
97 -
98
99 diff --git a/dev-python/pbr/pbr-0.10.8.ebuild b/dev-python/pbr/pbr-0.10.8.ebuild
100 deleted file mode 100644
101 index c6bab7b..0000000
102 --- a/dev-python/pbr/pbr-0.10.8.ebuild
103 +++ /dev/null
104 @@ -1,64 +0,0 @@
105 -# Copyright 1999-2015 Gentoo Foundation
106 -# Distributed under the terms of the GNU General Public License v2
107 -# $Id$
108 -
109 -EAPI=5
110 -
111 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
112 -PYTHON_REQ_USE="threads(+)"
113 -
114 -inherit distutils-r1
115 -
116 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
117 -HOMEPAGE="https://github.com/openstack-dev/pbr"
118 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
119 -
120 -LICENSE="Apache-2.0"
121 -SLOT="0"
122 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
123 -IUSE="test"
124 -
125 -DEPEND="
126 - dev-python/setuptools[${PYTHON_USEDEP}]
127 - test? (
128 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
129 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
130 - >=dev-python/flake8-2.0[${PYTHON_USEDEP}]
131 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
132 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
133 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
134 - dev-python/sphinx[${PYTHON_USEDEP}]
135 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
136 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
137 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
138 - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )"
139 -PDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]"
140 -
141 -# Requ'd for testsuite
142 -DISTUTILS_IN_SOURCE_BUILD=1
143 -
144 -# This normally actually belongs here.
145 -python_prepare_all() {
146 - # This test passes when run within the source and doesn't represent a failure, but rather
147 - # a gentoo sandbox constraint
148 - # Rm tests that rely upon the package being already installed and fail
149 - sed -e s':test_console_script_develop:_&:' \
150 - -e s':test_console_script_install:_&:' \
151 - -e s':test_sdist_extra_files:_&:' \
152 - -e s':test_command_hooks:_&:' \
153 - -e s':test_sdist_git_extra_files:_&:' \
154 - -i pbr/tests/test_core.py || die
155 - sed -e s':test_command_hooks:_&:' \
156 - -e s':test_global_setup_hooks:_&:' \
157 - -i pbr/tests/test_hooks.py || die
158 - einfo "rogue tests disabled"
159 -
160 - distutils-r1_python_prepare_all
161 -}
162 -
163 -python_test() {
164 - # Note; removed tests pass once package is emerged,
165 - # it's the suite's design that breaks form, not the tests' intended purpose
166 - testr init || die
167 - testr run || die "Testsuite failed under ${EPYTHON}"
168 -}
169
170 diff --git a/dev-python/pbr/pbr-0.11.0.ebuild b/dev-python/pbr/pbr-0.11.0.ebuild
171 deleted file mode 100644
172 index e9e6300..0000000
173 --- a/dev-python/pbr/pbr-0.11.0.ebuild
174 +++ /dev/null
175 @@ -1,66 +0,0 @@
176 -# Copyright 1999-2015 Gentoo Foundation
177 -# Distributed under the terms of the GNU General Public License v2
178 -# $Id$
179 -
180 -EAPI=5
181 -
182 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
183 -PYTHON_REQ_USE="threads(+)"
184 -
185 -inherit distutils-r1
186 -
187 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
188 -HOMEPAGE="https://github.com/openstack-dev/pbr"
189 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
190 -
191 -LICENSE="Apache-2.0"
192 -SLOT="0"
193 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
194 -IUSE="test"
195 -
196 -DEPEND="
197 - dev-python/setuptools[${PYTHON_USEDEP}]
198 - test? (
199 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
200 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
201 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
202 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
203 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
204 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
205 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
206 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
207 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
208 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
209 - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )"
210 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
211 -
212 -# Requ'd for testsuite
213 -DISTUTILS_IN_SOURCE_BUILD=1
214 -
215 -# This normally actually belongs here.
216 -python_prepare_all() {
217 - # This test passes when run within the source and doesn't represent a failure, but rather
218 - # a gentoo sandbox constraint
219 - # Rm tests that rely upon the package being already installed and fail
220 - sed -e s':test_console_script_develop:_&:' \
221 - -e s':test_console_script_install:_&:' \
222 - -e s':test_sdist_extra_files:_&:' \
223 - -e s':test_command_hooks:_&:' \
224 - -e s':test_sdist_git_extra_files:_&:' \
225 - -i pbr/tests/test_core.py || die
226 - sed -e s':test_command_hooks:_&:' \
227 - -e s':test_global_setup_hooks:_&:' \
228 - -i pbr/tests/test_hooks.py || die
229 - einfo "rogue tests disabled"
230 -
231 - distutils-r1_python_prepare_all
232 -}
233 -
234 -python_test() {
235 - # Note; removed tests pass once package is emerged,
236 - # it's the suite's design that breaks form, not the tests' intended purpose
237 - einfo "init tests"
238 - testr init || die
239 - einfo "Running tests"
240 - testr run || die "Testsuite failed under ${EPYTHON}"
241 -}
242
243 diff --git a/dev-python/pbr/pbr-0.8.2.ebuild b/dev-python/pbr/pbr-0.8.2.ebuild
244 deleted file mode 100644
245 index 9f7368b..0000000
246 --- a/dev-python/pbr/pbr-0.8.2.ebuild
247 +++ /dev/null
248 @@ -1,52 +0,0 @@
249 -# Copyright 1999-2015 Gentoo Foundation
250 -# Distributed under the terms of the GNU General Public License v2
251 -# $Id$
252 -
253 -EAPI=5
254 -PYTHON_COMPAT=( python{2_7,3_3,3_4} )
255 -PYTHON_REQ_USE="threads(+)"
256 -
257 -inherit distutils-r1
258 -
259 -DESCRIPTION="PBR is a library that injects some useful and sensible default
260 -behaviors into your setuptools run."
261 -HOMEPAGE="https://github.com/openstack-dev/pbr"
262 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
263 -
264 -LICENSE="Apache-2.0"
265 -SLOT="0"
266 -KEYWORDS="alpha ~amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
267 -IUSE="test"
268 -
269 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
270 - test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
271 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
272 - >=dev-python/flake8-2.0[${PYTHON_USEDEP}]
273 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
274 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
275 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
276 - dev-python/sphinx[${PYTHON_USEDEP}]
277 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
278 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
279 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
280 - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )"
281 -PDEPEND=">dev-python/pip-1.4[${PYTHON_USEDEP}]"
282 -
283 -# Requ'd for testsuite
284 -DISTUTILS_IN_SOURCE_BUILD=1
285 -# You can do this in about 3 different ways; throw it in a src_test() and prepend it to a
286 -# distutils-r1_src_test or os it a distutils-r1_python_test, but really it makes for a HUGE 'meh'
287 -
288 -# This normally actually belongs here.
289 -python_prepare_all() {
290 - # This test passes when run within the source and doesn't represent a failure, but rather
291 - # a gentoo sandbox constraint
292 - sed -e s':test_console_script_develop:_&:' -i pbr/tests/test_core.py || die
293 - distutils-r1_python_prepare_all
294 -}
295 -
296 -python_test() {
297 - testr init
298 - testr run || die "Testsuite failed under ${EPYTHON}"
299 - flake8 "${PN}"/tests || die "Run over tests folder by flake8 drew error"
300 -}
301
302 diff --git a/dev-python/pbr/pbr-1.0.1.ebuild b/dev-python/pbr/pbr-1.0.1.ebuild
303 deleted file mode 100644
304 index c279a2e..0000000
305 --- a/dev-python/pbr/pbr-1.0.1.ebuild
306 +++ /dev/null
307 @@ -1,67 +0,0 @@
308 -# Copyright 1999-2015 Gentoo Foundation
309 -# Distributed under the terms of the GNU General Public License v2
310 -# $Id$
311 -
312 -EAPI=5
313 -
314 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
315 -PYTHON_REQ_USE="threads(+)"
316 -
317 -inherit distutils-r1
318 -
319 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
320 -HOMEPAGE="https://github.com/openstack-dev/pbr"
321 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
322 -
323 -LICENSE="Apache-2.0"
324 -SLOT="0"
325 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
326 -IUSE="test"
327 -
328 -DEPEND="
329 - dev-python/setuptools[${PYTHON_USEDEP}]
330 - test? (
331 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
332 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
333 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
334 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
335 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
336 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
337 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
338 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
339 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
340 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
341 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
342 - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
343 - dev-python/virtualenv[${PYTHON_USEDEP}]
344 - )"
345 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
346 -
347 -# Requ'd for testsuite
348 -DISTUTILS_IN_SOURCE_BUILD=1
349 -
350 -# This normally actually belongs here.
351 -python_prepare_all() {
352 - # This test passes when run within the source and doesn't represent a failure, but rather
353 - # a gentoo sandbox constraint
354 - # Rm tests that rely upon the package being already installed and fail
355 - sed -e s':test_console_script_develop:_&:' \
356 - -e s':test_console_script_install:_&:' \
357 - -e s':test_sdist_extra_files:_&:' \
358 - -e s':test_command_hooks:_&:' \
359 - -e s':test_sdist_git_extra_files:_&:' \
360 - -i pbr/tests/test_core.py || die
361 - sed -e s':test_command_hooks:_&:' \
362 - -e s':test_global_setup_hooks:_&:' \
363 - -i pbr/tests/test_hooks.py || die
364 - einfo "rogue tests disabled"
365 -
366 - distutils-r1_python_prepare_all
367 -}
368 -
369 -python_test() {
370 - # Note; removed tests pass once package is emerged,
371 - # it's the suite's design that breaks form, not the tests' intended purpose
372 - testr init || die
373 - testr run || die "Testsuite failed under ${EPYTHON}"
374 -}
375
376 diff --git a/dev-python/pbr/pbr-1.1.1.ebuild b/dev-python/pbr/pbr-1.1.1.ebuild
377 deleted file mode 100644
378 index 98435a4..0000000
379 --- a/dev-python/pbr/pbr-1.1.1.ebuild
380 +++ /dev/null
381 @@ -1,68 +0,0 @@
382 -# Copyright 1999-2015 Gentoo Foundation
383 -# Distributed under the terms of the GNU General Public License v2
384 -# $Id$
385 -
386 -EAPI=5
387 -
388 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
389 -PYTHON_REQ_USE="threads(+)"
390 -
391 -inherit distutils-r1
392 -
393 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
394 -HOMEPAGE="https://github.com/openstack-dev/pbr"
395 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
396 -
397 -LICENSE="Apache-2.0"
398 -SLOT="0"
399 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
400 -IUSE="test"
401 -
402 -DEPEND="
403 - dev-python/setuptools[${PYTHON_USEDEP}]
404 - test? (
405 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
406 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
407 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
408 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
409 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
410 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
411 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
412 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
413 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
414 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
415 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
416 - >=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
417 - !~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
418 - dev-python/virtualenv[${PYTHON_USEDEP}]
419 - )"
420 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
421 -
422 -# Requ'd for testsuite
423 -DISTUTILS_IN_SOURCE_BUILD=1
424 -
425 -# This normally actually belongs here.
426 -python_prepare_all() {
427 - # This test passes when run within the source and doesn't represent a failure, but rather
428 - # a gentoo sandbox constraint
429 - # Rm tests that rely upon the package being already installed and fail
430 - sed -e s':test_console_script_develop:_&:' \
431 - -e s':test_console_script_install:_&:' \
432 - -e s':test_sdist_extra_files:_&:' \
433 - -e s':test_command_hooks:_&:' \
434 - -e s':test_sdist_git_extra_files:_&:' \
435 - -i pbr/tests/test_core.py || die
436 - sed -e s':test_command_hooks:_&:' \
437 - -e s':test_global_setup_hooks:_&:' \
438 - -i pbr/tests/test_hooks.py || die
439 - einfo "rogue tests disabled"
440 -
441 - distutils-r1_python_prepare_all
442 -}
443 -
444 -python_test() {
445 - # Note; removed tests pass once package is emerged,
446 - # it's the suite's design that breaks form, not the tests' intended purpose
447 - testr init || die
448 - testr run || die "Testsuite failed under ${EPYTHON}"
449 -}
450
451 diff --git a/dev-python/pbr/pbr-1.2.0.ebuild b/dev-python/pbr/pbr-1.2.0.ebuild
452 deleted file mode 100644
453 index c5bd157..0000000
454 --- a/dev-python/pbr/pbr-1.2.0.ebuild
455 +++ /dev/null
456 @@ -1,67 +0,0 @@
457 -# Copyright 1999-2015 Gentoo Foundation
458 -# Distributed under the terms of the GNU General Public License v2
459 -# $Id$
460 -
461 -EAPI=5
462 -
463 -PYTHON_COMPAT=( python2_7 python3_{3,4} )
464 -PYTHON_REQ_USE="threads(+)"
465 -
466 -inherit distutils-r1
467 -
468 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
469 -HOMEPAGE="https://github.com/openstack-dev/pbr"
470 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
471 -
472 -LICENSE="Apache-2.0"
473 -SLOT="0"
474 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
475 -IUSE="test"
476 -
477 -DEPEND="
478 - dev-python/setuptools[${PYTHON_USEDEP}]
479 - test? (
480 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
481 - >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
482 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
483 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
484 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
485 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
486 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
487 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
488 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
489 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
490 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
491 - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
492 - dev-python/virtualenv[${PYTHON_USEDEP}]
493 - )"
494 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
495 -
496 -# Requ'd for testsuite
497 -DISTUTILS_IN_SOURCE_BUILD=1
498 -
499 -# This normally actually belongs here.
500 -python_prepare_all() {
501 - # This test passes when run within the source and doesn't represent a failure, but rather
502 - # a gentoo sandbox constraint
503 - # Rm tests that rely upon the package being already installed and fail
504 - sed -e s':test_console_script_develop:_&:' \
505 - -e s':test_console_script_install:_&:' \
506 - -e s':test_sdist_extra_files:_&:' \
507 - -e s':test_command_hooks:_&:' \
508 - -e s':test_sdist_git_extra_files:_&:' \
509 - -i pbr/tests/test_core.py || die
510 - sed -e s':test_command_hooks:_&:' \
511 - -e s':test_global_setup_hooks:_&:' \
512 - -i pbr/tests/test_hooks.py || die
513 - einfo "rogue tests disabled"
514 -
515 - distutils-r1_python_prepare_all
516 -}
517 -
518 -python_test() {
519 - # Note; removed tests pass once package is emerged,
520 - # it's the suite's design that breaks form, not the tests' intended purpose
521 - testr init || die
522 - testr run || die "Testsuite failed under ${EPYTHON}"
523 -}
524
525 diff --git a/dev-python/pbr/pbr-1.3.0.ebuild b/dev-python/pbr/pbr-1.3.0.ebuild
526 deleted file mode 100644
527 index b6d03c3..0000000
528 --- a/dev-python/pbr/pbr-1.3.0.ebuild
529 +++ /dev/null
530 @@ -1,65 +0,0 @@
531 -# Copyright 1999-2015 Gentoo Foundation
532 -# Distributed under the terms of the GNU General Public License v2
533 -# $Id$
534 -
535 -EAPI=5
536 -
537 -PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
538 -PYTHON_REQ_USE="threads(+)"
539 -
540 -inherit distutils-r1
541 -
542 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
543 -HOMEPAGE="https://github.com/openstack-dev/pbr"
544 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
545 -
546 -LICENSE="Apache-2.0"
547 -SLOT="0"
548 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
549 -IUSE="test"
550 -
551 -DEPEND="
552 - dev-python/setuptools[${PYTHON_USEDEP}]
553 - test? (
554 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
555 - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
556 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
557 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
558 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
559 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
560 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
561 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
562 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
563 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
564 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
565 - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
566 - dev-python/virtualenv[${PYTHON_USEDEP}]
567 - )"
568 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
569 -
570 -# Requ'd for testsuite
571 -DISTUTILS_IN_SOURCE_BUILD=1
572 -
573 -# This normally actually belongs here.
574 -python_prepare_all() {
575 - # This test passes when run within the source and doesn't represent a failure, but rather
576 - # a gentoo sandbox constraint
577 - # Rm tests that rely upon the package being already installed and fail
578 - sed -e s':test_console_script_develop:_&:' \
579 - -e s':test_console_script_install:_&:' \
580 - -e s':test_sdist_extra_files:_&:' \
581 - -e s':test_command_hooks:_&:' \
582 - -e s':test_sdist_git_extra_files:_&:' \
583 - -i pbr/tests/test_core.py || die
584 - sed -e s':test_command_hooks:_&:' \
585 - -e s':test_global_setup_hooks:_&:' \
586 - -i pbr/tests/test_hooks.py || die
587 - einfo "rogue tests disabled"
588 -
589 - distutils-r1_python_prepare_all
590 -}
591 -
592 -python_test() {
593 - # Note; Tests, that have been removed, pass once package is emerged.
594 - esetup.py testr
595 -}
596
597 diff --git a/dev-python/pbr/pbr-1.6.0.ebuild b/dev-python/pbr/pbr-1.6.0.ebuild
598 deleted file mode 100644
599 index d2bbcc5..0000000
600 --- a/dev-python/pbr/pbr-1.6.0.ebuild
601 +++ /dev/null
602 @@ -1,65 +0,0 @@
603 -# Copyright 1999-2015 Gentoo Foundation
604 -# Distributed under the terms of the GNU General Public License v2
605 -# $Id$
606 -
607 -EAPI=5
608 -
609 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
610 -PYTHON_REQ_USE="threads(+)"
611 -
612 -inherit distutils-r1
613 -
614 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
615 -HOMEPAGE="https://github.com/openstack-dev/pbr"
616 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
617 -
618 -LICENSE="Apache-2.0"
619 -SLOT="0"
620 -KEYWORDS="~amd64 ~hppa ~mips ~sparc ~x86 ~amd64-linux ~x86-linux"
621 -IUSE="test"
622 -
623 -DEPEND="
624 - dev-python/setuptools[${PYTHON_USEDEP}]
625 - test? (
626 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
627 - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
628 - >=dev-python/mock-1.2[${PYTHON_USEDEP}]
629 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
630 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
631 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
632 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
633 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
634 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
635 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
636 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
637 - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
638 - dev-python/virtualenv[${PYTHON_USEDEP}]
639 - )"
640 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
641 -
642 -# Requ'd for testsuite
643 -DISTUTILS_IN_SOURCE_BUILD=1
644 -
645 -# This normally actually belongs here.
646 -python_prepare_all() {
647 - # This test passes when run within the source and doesn't represent a failure, but rather
648 - # a gentoo sandbox constraint
649 - # Rm tests that rely upon the package being already installed and fail
650 - sed -e s':test_console_script_develop:_&:' \
651 - -e s':test_console_script_install:_&:' \
652 - -e s':test_sdist_extra_files:_&:' \
653 - -e s':test_command_hooks:_&:' \
654 - -e s':test_sdist_git_extra_files:_&:' \
655 - -i pbr/tests/test_core.py || die
656 - sed -e s':test_command_hooks:_&:' \
657 - -e s':test_global_setup_hooks:_&:' \
658 - -i pbr/tests/test_hooks.py || die
659 - einfo "rogue tests disabled"
660 -
661 - distutils-r1_python_prepare_all
662 -}
663 -
664 -python_test() {
665 - # Note; Tests, that have been removed, pass once package is emerged.
666 - esetup.py testr
667 -}
668
669 diff --git a/dev-python/pbr/pbr-1.7.0.ebuild b/dev-python/pbr/pbr-1.7.0.ebuild
670 deleted file mode 100644
671 index 0bd48c3..0000000
672 --- a/dev-python/pbr/pbr-1.7.0.ebuild
673 +++ /dev/null
674 @@ -1,65 +0,0 @@
675 -# Copyright 1999-2015 Gentoo Foundation
676 -# Distributed under the terms of the GNU General Public License v2
677 -# $Id$
678 -
679 -EAPI=5
680 -
681 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
682 -PYTHON_REQ_USE="threads(+)"
683 -
684 -inherit distutils-r1
685 -
686 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
687 -HOMEPAGE="https://github.com/openstack-dev/pbr"
688 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
689 -
690 -LICENSE="Apache-2.0"
691 -SLOT="0"
692 -KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
693 -IUSE="test"
694 -
695 -DEPEND="
696 - dev-python/setuptools[${PYTHON_USEDEP}]
697 - test? (
698 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
699 - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
700 - >=dev-python/mock-1.2[${PYTHON_USEDEP}]
701 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
702 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
703 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
704 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
705 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
706 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
707 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
708 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
709 - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
710 - dev-python/virtualenv[${PYTHON_USEDEP}]
711 - )"
712 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
713 -
714 -# Requ'd for testsuite
715 -DISTUTILS_IN_SOURCE_BUILD=1
716 -
717 -# This normally actually belongs here.
718 -python_prepare_all() {
719 - # This test passes when run within the source and doesn't represent a failure, but rather
720 - # a gentoo sandbox constraint
721 - # Rm tests that rely upon the package being already installed and fail
722 - sed -e s':test_console_script_develop:_&:' \
723 - -e s':test_console_script_install:_&:' \
724 - -e s':test_sdist_extra_files:_&:' \
725 - -e s':test_command_hooks:_&:' \
726 - -e s':test_sdist_git_extra_files:_&:' \
727 - -i pbr/tests/test_core.py || die
728 - sed -e s':test_command_hooks:_&:' \
729 - -e s':test_global_setup_hooks:_&:' \
730 - -i pbr/tests/test_hooks.py || die
731 - einfo "rogue tests disabled"
732 -
733 - distutils-r1_python_prepare_all
734 -}
735 -
736 -python_test() {
737 - # Note; Tests, that have been removed, pass once package is emerged.
738 - esetup.py testr
739 -}
740
741 diff --git a/dev-python/pbr/pbr-1.8.0.ebuild b/dev-python/pbr/pbr-1.8.0.ebuild
742 deleted file mode 100644
743 index c80876c..0000000
744 --- a/dev-python/pbr/pbr-1.8.0.ebuild
745 +++ /dev/null
746 @@ -1,68 +0,0 @@
747 -# Copyright 1999-2015 Gentoo Foundation
748 -# Distributed under the terms of the GNU General Public License v2
749 -# $Id$
750 -
751 -EAPI=5
752 -
753 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
754 -PYTHON_REQ_USE="threads(+)"
755 -
756 -inherit distutils-r1
757 -
758 -DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
759 -HOMEPAGE="https://github.com/openstack-dev/pbr"
760 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
761 -
762 -LICENSE="Apache-2.0"
763 -SLOT="0"
764 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
765 -IUSE="test"
766 -
767 -# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
768 -DEPEND="
769 - dev-python/setuptools[${PYTHON_USEDEP}]
770 - test? (
771 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
772 - >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
773 - >=dev-python/mock-1.2[${PYTHON_USEDEP}]
774 - >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
775 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
776 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
777 - <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
778 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
779 - >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
780 - >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
781 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
782 - >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
783 - dev-python/virtualenv[${PYTHON_USEDEP}]
784 - dev-vcs/git
785 - )"
786 -PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
787 -
788 -# This normally actually belongs here.
789 -python_prepare_all() {
790 - # This test passes when run within the source and doesn't represent a failure, but rather
791 - # a gentoo sandbox constraint
792 - # Rm tests that rely upon the package being already installed and fail
793 - sed -e s':test_console_script_develop:_&:' \
794 - -e s':test_console_script_install:_&:' \
795 - -e s':test_sdist_extra_files:_&:' \
796 - -e s':test_command_hooks:_&:' \
797 - -e s':test_sdist_git_extra_files:_&:' \
798 - -i pbr/tests/test_core.py || die
799 - sed -e s':test_command_hooks:_&:' \
800 - -e s':test_global_setup_hooks:_&:' \
801 - -i pbr/tests/test_hooks.py || die
802 - einfo "rogue tests disabled"
803 -
804 - distutils-r1_python_prepare_all
805 -}
806 -
807 -python_test() {
808 - distutils_install_for_testing
809 -
810 - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}"
811 -
812 - testr init || die "testr init failed under ${EPYTHON}"
813 - testr run || die "testr run failed under ${EPYTHON}"
814 -}