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/subunit/files/, dev-python/subunit/
Date: Mon, 23 Nov 2015 10:05:58
Message-Id: 1448273131.17448444934fa3ed01703a3a205708402942fda5.jlec@gentoo
1 commit: 17448444934fa3ed01703a3a205708402942fda5
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 23 09:34:10 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=17448444
7
8 dev-python/subunit: Drop old
9
10 obsoletes
11 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=412741
12
13 Package-Manager: portage-2.2.25
14 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
15
16 dev-python/subunit/Manifest | 7 ---
17 dev-python/subunit/files/0.0.21-tests.patch | 25 --------
18 dev-python/subunit/files/shell-tests.patch | 24 --------
19 dev-python/subunit/subunit-0.0.10-r1.ebuild | 47 ---------------
20 dev-python/subunit/subunit-0.0.16.ebuild | 57 ------------------
21 dev-python/subunit/subunit-0.0.18-r2.ebuild | 78 -------------------------
22 dev-python/subunit/subunit-0.0.19.ebuild | 79 -------------------------
23 dev-python/subunit/subunit-0.0.21-r1.ebuild | 81 --------------------------
24 dev-python/subunit/subunit-0.0.6.ebuild | 35 ------------
25 dev-python/subunit/subunit-1.0.0.ebuild | 89 -----------------------------
26 10 files changed, 522 deletions(-)
27
28 diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest
29 index 4c25b6b..8b829ad 100644
30 --- a/dev-python/subunit/Manifest
31 +++ b/dev-python/subunit/Manifest
32 @@ -1,9 +1,2 @@
33 -DIST subunit-0.0.10.tar.gz 418118 SHA256 94a9837086ff773b00b097dbf877ab5b1d2255a003542f66e5720c867940912f SHA512 a61254a2f80785928c5645e4d88128c76dd4b4c9e1977c81fc356423ada58bd6acf9694894cbaa1e63648cf52c6691eb998b73829e51270a5d418ad639f1482c WHIRLPOOL 89f7352a1518074f05a678548eacb1be06a85178ecc5d28d4be22065fa8f9a27566c4787674ba32957f946b18f200052b0524ebb4599475bac47e677f430d814
34 -DIST subunit-0.0.16.tar.gz 437895 SHA256 47dbeacd39ada80e52d5db3258fbe40a42f096450ef8a674071166594b0e56c3 SHA512 1e1c75e6df505661ca67ffe7dfacf0cf91399ffd3e383dd873fed9991f1d04959dfef2ca4db03a415bacd9ea5d0267a8504cd0b0e5d532808aa58a20233e13ad WHIRLPOOL cf68385a6f39b048324be1e708254bcc05e9faaa55316f883eb40649e9a2bda746ad22b4f2f51019ce9015cf35ccd6feb43a3cf8e67f36c610c8adbc645ead20
35 -DIST subunit-0.0.18.tar.gz 439455 SHA256 f4508a83b1206a85f6c1cfc57f83edc2ca13d62cc65be90ec27eadfa792a6eb4 SHA512 d992207398fa29ac61b32b4b671c686c6af4de804bc9ef9b5bde78f5036880cfa670dded10fb272f41f7d57d68f91061c1c7b89039bda0c3c775df329ce912f6 WHIRLPOOL 8730b140dc886a57517d6e5be24e1ddb316761e2e7eae0eeb8f949a09a9312195e503032dabab20172a79d08d93d74ea041a445742adbf81f4e3bf877d2df54f
36 -DIST subunit-0.0.19.tar.gz 441610 SHA256 cd2921c49b07e1f524582d57f2d3b496ae4557ffe350a47d8f1722311356fdb3 SHA512 0e879046b31076a200fe26ebcca6dd162a90f25b125a757e370b6c0aa95fd4ce351f2f84448c90ba982676468155254e8a29ad03ed98ca472e3e19b93a2a4761 WHIRLPOOL d5a7dfa85cf64d3b079b8caf4d5418c84caad9d1485e3f545650e1414fb1d1ebabbcf372f387a7fbf7ded9017145351bb6b315f0288d6c04cc17a278522f1b9c
37 -DIST subunit-0.0.21.tar.gz 441691 SHA256 f12565cb0c6efdee4d96e9e640db4bcbfbede734223de940f9f3969c4a8e2f4c SHA512 2bbf312c7d80c3bea02163924a205df5553be3eceab5b2951512f9d71110608f1243440491a22c878d0691b9197dfe19c5c49fbb608883a038fa86626144ab12 WHIRLPOOL 749b0763d568f6a9803de11a59b92b357b41b8ae64e531e6cdefcc6114d6c4f2799c6c36e8372b92f1d173123d7a5847782d1f3ff193c83a7755a95a773204e3
38 -DIST subunit-0.0.6.tar.gz 388872 SHA256 98f5e72107322dc1c502543384e1ed790671d319a5096eab4f4d20641555de77 SHA512 79aa46a2cbdbe27bb1fcfa02a65bd10ba9ccf5013f9cbd8549d5aad304b8d451ed6a854b1b77415601aab8f6966b7004337634ea5e7bd8387dda8209781b118f WHIRLPOOL fd05cfed6e7cd50df57dfc3dd0c45bf955a033abf7c43849193a9f7515847eb7d2df5819e964407dac253c46ba5073f2bb1499a92a94a072591a4db4d5128c2b
39 -DIST subunit-1.0.0.tar.gz 441964 SHA256 55dc2c1c22c650ad9f109516a72a9d37b986939de25b6195210724ce79ced0ba SHA512 082990e777667edb7d3666b554a1818a976369742a1ed9bbc47a9c59f97937c0619a315893f532e49c2cd798537b320ca2aa9df916906b85a75db8a7d4f8bc84 WHIRLPOOL e6650f991ecb0c7d0fc6001947cc5f11740c34783e62485bf5e8acebc9369665a8658789c7b7df5608efe8c5931b263952383231e8989f3be98cca2a807ba471
40 DIST subunit-1.1.0.tar.gz 441946 SHA256 4869a5bec96b7b4e760d053f842d80548008740cda1a7efbb9053063ee818a51 SHA512 11aaa8f2ae04232623fbfb7b9561aa15bddbc55201a3a16eea1319a076de3417977590c57bb7ab0bbd86b321b203241ba5ea8050932759aeb3f3ed71b723a98b WHIRLPOOL 2705fcb98d0b67b5d2cddff87095a9b65782467f3e9b84f956ac29c85c2995881dcd63468a144277fb76b7adfdbbb2ecdc36eae8413886a72028e3565edbdf47
41 DIST subunit-1.2.0.tar.gz 460532 SHA256 27f0561297a7d56d85a8f5491f47e44303d0bb1d99c5627486774ea1bcb3d5c3 SHA512 f6559fd771ad0732985230d11a9a8326ef35c817b62d1f50dc332f0032f7b08559a46d2534983b7d3964e45682ac49b3e348581ee0983861390abcd4ec20459c WHIRLPOOL c30b4a2c9ab17f49f87e206fe5833ae564452b99af447f8c4cbf969b2f2dd96e482fc583e84264be815b051b1bd12e6c132cd779c88d0d68da53956fef0b25b7
42
43 diff --git a/dev-python/subunit/files/0.0.21-tests.patch b/dev-python/subunit/files/0.0.21-tests.patch
44 deleted file mode 100644
45 index 178fc12..0000000
46 --- a/dev-python/subunit/files/0.0.21-tests.patch
47 +++ /dev/null
48 @@ -1,25 +0,0 @@
49 -diff -ur subunit-0.0.21.orig/python/subunit/tests/test_run.py subunit-0.0.21/python/subunit/tests/test_run.py
50 ---- python/subunit/tests/test_run.py 2014-08-24 13:27:32.000000000 +0800
51 -+++ python/subunit/tests/test_run.py 2014-09-23 14:03:54.731069912 +0800
52 -@@ -65,21 +65,6 @@
53 - exc = self.assertRaises(SystemExit, runner.list, None)
54 - self.assertEqual((2,), exc.args)
55 -
56 -- class FailingTest(TestCase):
57 -- def test_fail(self):
58 -- 1/0
59 --
60 -- def test_exits_zero_when_tests_fail(self):
61 -- bytestream = io.BytesIO()
62 -- stream = io.TextIOWrapper(bytestream, encoding="utf8")
63 -- try:
64 -- self.assertEqual(None, run.main(
65 -- argv=["progName", "subunit.tests.test_run.TestSubunitTestRunner.FailingTest"],
66 -- stdout=stream))
67 -- except SystemExit:
68 -- self.fail("SystemExit raised")
69 -- self.assertThat(bytestream.getvalue(), StartsWith(_b('\xb3')))
70 --
71 - def test_exits_nonzero_when_execution_errors(self):
72 - bytestream = io.BytesIO()
73 - stream = io.TextIOWrapper(bytestream, encoding="utf8")
74
75 diff --git a/dev-python/subunit/files/shell-tests.patch b/dev-python/subunit/files/shell-tests.patch
76 deleted file mode 100644
77 index 46d72c1..0000000
78 --- a/dev-python/subunit/files/shell-tests.patch
79 +++ /dev/null
80 @@ -1,24 +0,0 @@
81 -diff -ur subunit-0.0.10.orig/shell/tests/test_function_output.sh subunit-0.0.10/shell/tests/test_function_output.sh
82 ---- shell/tests/test_function_output.sh 2013-06-17 19:02:34.378260908 +0800
83 -+++ tests/test_function_output.sh 2013-06-17 19:03:49.082260928 +0800
84 -@@ -22,7 +22,7 @@
85 - # it is assumed that we are running from the 'shell' tree root in the source
86 - # of subunit, and that the library sourcing tests have all passed - if they
87 - # have not, this test script may well fail strangely.
88 --
89 -+SHELL_SHARE="shell/share/"
90 - # import the library.
91 - . ${SHELL_SHARE}subunit.sh
92 -
93 -diff -ur subunit-0.0.10.orig/shell/tests/test_source_library.sh subunit-0.0.10/shell/tests/test_source_library.sh
94 ---- shell/tests/test_source_library.sh 2013-06-17 19:03:01.322260915 +0800
95 -+++ shell/tests/test_source_library.sh 2013-06-17 18:53:46.634260762 +0800
96 -@@ -20,7 +20,7 @@
97 - # bindings being complete yet.
98 -
99 - # we expect to be run from the tree root.
100 --
101 -+SHELL_SHARE="shell/share/"
102 - echo 'test: shell bindings can be sourced'
103 - # if any output occurs, this has failed to source cleanly
104 - source_output=$(. ${SHELL_SHARE}subunit.sh 2>&1)
105
106 diff --git a/dev-python/subunit/subunit-0.0.10-r1.ebuild b/dev-python/subunit/subunit-0.0.10-r1.ebuild
107 deleted file mode 100644
108 index 78352c4..0000000
109 --- a/dev-python/subunit/subunit-0.0.10-r1.ebuild
110 +++ /dev/null
111 @@ -1,47 +0,0 @@
112 -# Copyright 1999-2015 Gentoo Foundation
113 -# Distributed under the terms of the GNU General Public License v2
114 -# $Id$
115 -
116 -EAPI=5
117 -
118 -PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 )
119 -
120 -inherit autotools-utils python-single-r1
121 -
122 -DESCRIPTION="A streaming protocol for test results"
123 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
124 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
125 -
126 -LICENSE="Apache-2.0 BSD"
127 -SLOT="0"
128 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
129 -IUSE=""
130 -
131 -RDEPEND=">=dev-python/testtools-0.9.23[${PYTHON_USEDEP}]"
132 -DEPEND="${RDEPEND}
133 - dev-lang/perl
134 - dev-libs/check
135 - dev-util/cppunit
136 - >=sys-devel/automake-1.12
137 - virtual/pkgconfig"
138 -
139 -src_prepare() {
140 - # update py-compile to handle py3 properly
141 - # XXX: handle it in the eclass?
142 - cp "$(automake --print-libdir || die)"/py-compile . || die
143 - epatch "${FILESDIR}"/shell-tests.patch
144 -
145 - autotools-utils_src_prepare
146 -}
147 -
148 -src_test() {
149 - if ! PYTHONPATH="${S}"/python/ "${PYTHON}" runtests.py; then
150 - die "Tests failed under ${EPYTHON}"
151 - fi
152 -}
153 -
154 -src_install() {
155 - autotools-utils_src_install
156 -
157 - python_fix_shebang "${D}"/usr/bin
158 -}
159
160 diff --git a/dev-python/subunit/subunit-0.0.16.ebuild b/dev-python/subunit/subunit-0.0.16.ebuild
161 deleted file mode 100644
162 index cf4fc89..0000000
163 --- a/dev-python/subunit/subunit-0.0.16.ebuild
164 +++ /dev/null
165 @@ -1,57 +0,0 @@
166 -# Copyright 1999-2015 Gentoo Foundation
167 -# Distributed under the terms of the GNU General Public License v2
168 -# $Id$
169 -
170 -EAPI=5
171 -
172 -PYTHON_COMPAT=( python{2_7,3_3} pypy )
173 -
174 -inherit distutils-r1 eutils
175 -
176 -DESCRIPTION="A streaming protocol for test results"
177 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
178 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
179 -
180 -LICENSE="Apache-2.0 BSD"
181 -SLOT="0"
182 -KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 x86 ~x86-fbsd"
183 -#need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here
184 -#ia64 s390 sh sparc amd64-fbsd
185 -IUSE="static-libs"
186 -
187 -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
188 - dev-python/extras[${PYTHON_USEDEP}]"
189 -DEPEND="${RDEPEND}
190 - dev-python/setuptools[${PYTHON_USEDEP}]
191 - dev-lang/perl:=
192 - dev-libs/check
193 - dev-util/cppunit
194 - virtual/pkgconfig"
195 -
196 -src_configure() {
197 - econf --enable-shared $(use_enable static-libs static)
198 - distutils-r1_src_configure
199 -}
200 -
201 -src_compile() {
202 - emake
203 - distutils-r1_src_compile
204 -}
205 -
206 -python_test() {
207 - local -x PATH="${PWD}/shell/share:${PATH}"
208 - local -x PYTHONPATH=python
209 - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
210 -}
211 -
212 -src_install() {
213 - local targets=(
214 - install-include_subunitHEADERS
215 - install-pcdataDATA
216 - install-exec-local
217 - install-libLTLIBRARIES
218 - )
219 - emake DESTDIR="${D}" "${targets[@]}"
220 - prune_libtool_files
221 - distutils-r1_src_install
222 -}
223
224 diff --git a/dev-python/subunit/subunit-0.0.18-r2.ebuild b/dev-python/subunit/subunit-0.0.18-r2.ebuild
225 deleted file mode 100644
226 index 3b9426b..0000000
227 --- a/dev-python/subunit/subunit-0.0.18-r2.ebuild
228 +++ /dev/null
229 @@ -1,78 +0,0 @@
230 -# Copyright 1999-2015 Gentoo Foundation
231 -# Distributed under the terms of the GNU General Public License v2
232 -# $Id$
233 -
234 -EAPI=5
235 -
236 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
237 -
238 -inherit distutils-r1 eutils multilib-minimal
239 -
240 -DESCRIPTION="A streaming protocol for test results"
241 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
242 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
243 -
244 -LICENSE="Apache-2.0 BSD"
245 -SLOT="0"
246 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
247 -#need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here
248 -#ia64 s390 sh sparc amd64-fbsd
249 -IUSE="static-libs"
250 -
251 -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
252 - dev-python/extras[${PYTHON_USEDEP}]"
253 -# test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )
254 -#requires keywording first; Bug #506510
255 -DEPEND="${RDEPEND}
256 - dev-python/setuptools[${PYTHON_USEDEP}]
257 - dev-lang/perl:=
258 - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}]
259 - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}]
260 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
261 -#requires keywording first; Bug #506510
262 -RESTRICT="test"
263 -
264 -src_prepare() {
265 - # needed for perl modules
266 - multilib_copy_sources
267 - distutils-r1_src_prepare
268 -}
269 -
270 -multilib_src_configure() {
271 - ECONF_SOURCE=${S} \
272 - econf \
273 - --enable-shared \
274 - $(use_enable static-libs static)
275 -}
276 -
277 -multilib_src_compile() {
278 - default
279 - multilib_is_native_abi && distutils-r1_src_compile
280 -}
281 -
282 -python_test() {
283 - local -x PATH="${PWD}/shell/share:${PATH}"
284 - local -x PYTHONPATH=python
285 - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
286 -}
287 -
288 -multilib_src_test() {
289 - multilib_is_native_abi && distutils-r1_src_test
290 -}
291 -
292 -multilib_src_install() {
293 - local targets=(
294 - install-include_subunitHEADERS
295 - install-pcdataDATA
296 - install-exec-local
297 - install-libLTLIBRARIES
298 - )
299 - emake DESTDIR="${D}" "${targets[@]}"
300 -
301 - multilib_is_native_abi && distutils-r1_src_install
302 -}
303 -
304 -multilib_src_install_all() {
305 - einstalldocs
306 - prune_libtool_files
307 -}
308
309 diff --git a/dev-python/subunit/subunit-0.0.19.ebuild b/dev-python/subunit/subunit-0.0.19.ebuild
310 deleted file mode 100644
311 index abe1436..0000000
312 --- a/dev-python/subunit/subunit-0.0.19.ebuild
313 +++ /dev/null
314 @@ -1,79 +0,0 @@
315 -# Copyright 1999-2015 Gentoo Foundation
316 -# Distributed under the terms of the GNU General Public License v2
317 -# $Id$
318 -
319 -EAPI=5
320 -
321 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
322 -
323 -inherit distutils-r1 eutils multilib-minimal
324 -
325 -DESCRIPTION="A streaming protocol for test results"
326 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
327 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
328 -
329 -LICENSE="Apache-2.0 BSD"
330 -SLOT="0"
331 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
332 -#need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here
333 -#ia64 s390 sh sparc amd64-fbsd
334 -IUSE="static-libs"
335 -
336 -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
337 - dev-python/extras[${PYTHON_USEDEP}]"
338 -# test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )
339 -#requires keywording first; Bug #506510
340 -DEPEND="${RDEPEND}
341 - dev-python/setuptools[${PYTHON_USEDEP}]
342 - dev-lang/perl:=
343 - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}]
344 - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}]
345 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
346 -#requires keywording first; Bug #506510
347 -RESTRICT="test"
348 -
349 -src_prepare() {
350 - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die
351 - # needed for perl modules
352 - multilib_copy_sources
353 - distutils-r1_src_prepare
354 -}
355 -
356 -multilib_src_configure() {
357 - ECONF_SOURCE=${S} \
358 - econf \
359 - --enable-shared \
360 - $(use_enable static-libs static)
361 -}
362 -
363 -multilib_src_compile() {
364 - default
365 - multilib_is_native_abi && distutils-r1_src_compile
366 -}
367 -
368 -python_test() {
369 - local -x PATH="${PWD}/shell/share:${PATH}"
370 - local -x PYTHONPATH=python
371 - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
372 -}
373 -
374 -multilib_src_test() {
375 - multilib_is_native_abi && distutils-r1_src_test
376 -}
377 -
378 -multilib_src_install() {
379 - local targets=(
380 - install-include_subunitHEADERS
381 - install-pcdataDATA
382 - install-exec-local
383 - install-libLTLIBRARIES
384 - )
385 - emake DESTDIR="${D}" "${targets[@]}"
386 -
387 - multilib_is_native_abi && distutils-r1_src_install
388 -}
389 -
390 -multilib_src_install_all() {
391 - einstalldocs
392 - prune_libtool_files
393 -}
394
395 diff --git a/dev-python/subunit/subunit-0.0.21-r1.ebuild b/dev-python/subunit/subunit-0.0.21-r1.ebuild
396 deleted file mode 100644
397 index 4f22bd2..0000000
398 --- a/dev-python/subunit/subunit-0.0.21-r1.ebuild
399 +++ /dev/null
400 @@ -1,81 +0,0 @@
401 -# Copyright 1999-2015 Gentoo Foundation
402 -# Distributed under the terms of the GNU General Public License v2
403 -# $Id$
404 -
405 -EAPI=5
406 -
407 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
408 -
409 -inherit distutils-r1 eutils multilib-minimal
410 -
411 -DESCRIPTION="A streaming protocol for test results"
412 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
413 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
414 -
415 -LICENSE="Apache-2.0 BSD"
416 -SLOT="0"
417 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 x86 ~x86-fbsd"
418 -IUSE="static-libs test"
419 -
420 -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
421 - dev-python/extras[${PYTHON_USEDEP}]"
422 -DEPEND="${RDEPEND}
423 - dev-python/setuptools[${PYTHON_USEDEP}]
424 - dev-lang/perl:=
425 - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}]
426 - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}]
427 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
428 - test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )"
429 -
430 -# Take out rogue & trivial failing tests that exit the suite before it even gets started
431 -PATCHES=( "${FILESDIR}"/${PV}-tests.patch )
432 -
433 -src_prepare() {
434 - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die
435 -
436 - # Install perl modules in vendor_perl, bug 534654.
437 - export INSTALLDIRS=vendor
438 -
439 - # needed for perl modules
440 - distutils-r1_src_prepare
441 - multilib_copy_sources
442 -}
443 -
444 -multilib_src_configure() {
445 - ECONF_SOURCE=${S} \
446 - econf \
447 - --enable-shared \
448 - $(use_enable static-libs static)
449 -}
450 -
451 -multilib_src_compile() {
452 - default
453 - multilib_is_native_abi && distutils-r1_src_compile
454 -}
455 -
456 -python_test() {
457 - local -x PATH="${PWD}/shell/share:${PATH}"
458 - local -x PYTHONPATH=python
459 - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
460 -}
461 -
462 -multilib_src_test() {
463 - multilib_is_native_abi && distutils-r1_src_test
464 -}
465 -
466 -multilib_src_install() {
467 - local targets=(
468 - install-include_subunitHEADERS
469 - install-pcdataDATA
470 - install-exec-local
471 - install-libLTLIBRARIES
472 - )
473 - emake DESTDIR="${D}" "${targets[@]}"
474 -
475 - multilib_is_native_abi && distutils-r1_src_install
476 -}
477 -
478 -multilib_src_install_all() {
479 - einstalldocs
480 - prune_libtool_files
481 -}
482
483 diff --git a/dev-python/subunit/subunit-0.0.6.ebuild b/dev-python/subunit/subunit-0.0.6.ebuild
484 deleted file mode 100644
485 index f193a9c..0000000
486 --- a/dev-python/subunit/subunit-0.0.6.ebuild
487 +++ /dev/null
488 @@ -1,35 +0,0 @@
489 -# Copyright 1999-2013 Gentoo Foundation
490 -# Distributed under the terms of the GNU General Public License v2
491 -# $Id$
492 -
493 -EAPI="3"
494 -PYTHON_DEPEND="2"
495 -SUPPORT_PYTHON_ABIS="1"
496 -PYTHON_EXPORT_PHASE_FUNCTIONS="1"
497 -
498 -inherit python
499 -
500 -DESCRIPTION="A streaming protocol for test results"
501 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
502 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
503 -
504 -LICENSE="Apache-2.0 BSD"
505 -SLOT="0"
506 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
507 -IUSE=""
508 -
509 -RDEPEND=">=dev-python/testtools-0.9.4"
510 -DEPEND="${RDEPEND}
511 - dev-lang/perl
512 - dev-libs/check
513 - dev-util/cppunit
514 - virtual/pkgconfig"
515 -RESTRICT_PYTHON_ABIS="3.*"
516 -
517 -pkg_postinst() {
518 - python_mod_optimize subunit
519 -}
520 -
521 -pkg_postrm() {
522 - python_mod_cleanup subunit
523 -}
524
525 diff --git a/dev-python/subunit/subunit-1.0.0.ebuild b/dev-python/subunit/subunit-1.0.0.ebuild
526 deleted file mode 100644
527 index 81ca55f..0000000
528 --- a/dev-python/subunit/subunit-1.0.0.ebuild
529 +++ /dev/null
530 @@ -1,89 +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=( python{2_7,3_3,3_4} pypy )
538 -
539 -inherit distutils-r1 eutils multilib-minimal
540 -
541 -DESCRIPTION="A streaming protocol for test results"
542 -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit"
543 -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
544 -
545 -LICENSE="Apache-2.0 BSD"
546 -SLOT="0"
547 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
548 -IUSE="static-libs test"
549 -
550 -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
551 - dev-python/extras[${PYTHON_USEDEP}]"
552 -DEPEND="${RDEPEND}
553 - dev-python/setuptools[${PYTHON_USEDEP}]
554 - dev-lang/perl:=
555 - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}]
556 - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}]
557 - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
558 - test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )"
559 -
560 -# Take out rogue & trivial failing tests that exit the suite before it even gets started
561 -# The removed class in fact works fine in py3 and fails with py2.7 & pupu
562 -# The setu to restrict this patch is just those 2 is not worth it.
563 -PATCHES=( "${FILESDIR}"/${PV}-tests.patch )
564 -
565 -src_prepare() {
566 - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die
567 -
568 - # Install perl modules in vendor_perl, bug 534654.
569 - export INSTALLDIRS=vendor
570 -
571 - # needed for perl modules
572 - distutils-r1_src_prepare
573 - multilib_copy_sources
574 -}
575 -
576 -multilib_src_configure() {
577 - ECONF_SOURCE=${S} \
578 - econf \
579 - --enable-shared \
580 - $(use_enable static-libs static)
581 -}
582 -
583 -multilib_src_compile() {
584 - default
585 - multilib_is_native_abi && distutils-r1_src_compile
586 -}
587 -
588 -python_test() {
589 - local -x PATH="${PWD}/shell/share:${PATH}"
590 - local -x PYTHONPATH=python
591 - # Following tests are known to fail in py2.7 & pypy. They pass under py3.
592 - # DO NOT re-file
593 - # test_add_error test_add_error_details test_add_expected_failure
594 - # test_add_expected_failure_details test_add_failure test_add_failure
595 - # https://bugs.launchpad.net/subunit/+bug/1436686
596 -
597 - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
598 -}
599 -
600 -multilib_src_test() {
601 - multilib_is_native_abi && distutils-r1_src_test
602 -}
603 -
604 -multilib_src_install() {
605 - local targets=(
606 - install-include_subunitHEADERS
607 - install-pcdataDATA
608 - install-exec-local
609 - install-libLTLIBRARIES
610 - )
611 - emake DESTDIR="${D}" "${targets[@]}"
612 -
613 - multilib_is_native_abi && distutils-r1_src_install
614 -}
615 -
616 -multilib_src_install_all() {
617 - einstalldocs
618 - prune_libtool_files
619 -}