From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9CAEA1384B4 for ; Mon, 23 Nov 2015 10:05:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73AF421C094; Mon, 23 Nov 2015 10:05:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE6C021C083 for ; Mon, 23 Nov 2015 10:05:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E10EB340739 for ; Mon, 23 Nov 2015 10:05:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DF5810FF for ; Mon, 23 Nov 2015 10:05:46 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1448273131.17448444934fa3ed01703a3a205708402942fda5.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/subunit/files/, dev-python/subunit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/subunit/Manifest dev-python/subunit/files/0.0.21-tests.patch dev-python/subunit/files/shell-tests.patch dev-python/subunit/subunit-0.0.10-r1.ebuild dev-python/subunit/subunit-0.0.16.ebuild dev-python/subunit/subunit-0.0.18-r2.ebuild dev-python/subunit/subunit-0.0.19.ebuild dev-python/subunit/subunit-0.0.21-r1.ebuild dev-python/subunit/subunit-0.0.6.ebuild dev-python/subunit/subunit-1.0.0.ebuild X-VCS-Directories: dev-python/subunit/files/ dev-python/subunit/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 17448444934fa3ed01703a3a205708402942fda5 X-VCS-Branch: master Date: Mon, 23 Nov 2015 10:05:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a342f119-31f2-4ba3-9cdb-0260880ab524 X-Archives-Hash: d593b03897acf797e295d7f292059f79 commit: 17448444934fa3ed01703a3a205708402942fda5 Author: Justin Lecher gentoo org> AuthorDate: Mon Nov 23 09:34:10 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Nov 23 10:05:31 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17448444 dev-python/subunit: Drop old obsoletes Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=412741 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher gentoo.org> dev-python/subunit/Manifest | 7 --- dev-python/subunit/files/0.0.21-tests.patch | 25 -------- dev-python/subunit/files/shell-tests.patch | 24 -------- dev-python/subunit/subunit-0.0.10-r1.ebuild | 47 --------------- dev-python/subunit/subunit-0.0.16.ebuild | 57 ------------------ dev-python/subunit/subunit-0.0.18-r2.ebuild | 78 ------------------------- dev-python/subunit/subunit-0.0.19.ebuild | 79 ------------------------- dev-python/subunit/subunit-0.0.21-r1.ebuild | 81 -------------------------- dev-python/subunit/subunit-0.0.6.ebuild | 35 ------------ dev-python/subunit/subunit-1.0.0.ebuild | 89 ----------------------------- 10 files changed, 522 deletions(-) diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest index 4c25b6b..8b829ad 100644 --- a/dev-python/subunit/Manifest +++ b/dev-python/subunit/Manifest @@ -1,9 +1,2 @@ -DIST subunit-0.0.10.tar.gz 418118 SHA256 94a9837086ff773b00b097dbf877ab5b1d2255a003542f66e5720c867940912f SHA512 a61254a2f80785928c5645e4d88128c76dd4b4c9e1977c81fc356423ada58bd6acf9694894cbaa1e63648cf52c6691eb998b73829e51270a5d418ad639f1482c WHIRLPOOL 89f7352a1518074f05a678548eacb1be06a85178ecc5d28d4be22065fa8f9a27566c4787674ba32957f946b18f200052b0524ebb4599475bac47e677f430d814 -DIST subunit-0.0.16.tar.gz 437895 SHA256 47dbeacd39ada80e52d5db3258fbe40a42f096450ef8a674071166594b0e56c3 SHA512 1e1c75e6df505661ca67ffe7dfacf0cf91399ffd3e383dd873fed9991f1d04959dfef2ca4db03a415bacd9ea5d0267a8504cd0b0e5d532808aa58a20233e13ad WHIRLPOOL cf68385a6f39b048324be1e708254bcc05e9faaa55316f883eb40649e9a2bda746ad22b4f2f51019ce9015cf35ccd6feb43a3cf8e67f36c610c8adbc645ead20 -DIST subunit-0.0.18.tar.gz 439455 SHA256 f4508a83b1206a85f6c1cfc57f83edc2ca13d62cc65be90ec27eadfa792a6eb4 SHA512 d992207398fa29ac61b32b4b671c686c6af4de804bc9ef9b5bde78f5036880cfa670dded10fb272f41f7d57d68f91061c1c7b89039bda0c3c775df329ce912f6 WHIRLPOOL 8730b140dc886a57517d6e5be24e1ddb316761e2e7eae0eeb8f949a09a9312195e503032dabab20172a79d08d93d74ea041a445742adbf81f4e3bf877d2df54f -DIST subunit-0.0.19.tar.gz 441610 SHA256 cd2921c49b07e1f524582d57f2d3b496ae4557ffe350a47d8f1722311356fdb3 SHA512 0e879046b31076a200fe26ebcca6dd162a90f25b125a757e370b6c0aa95fd4ce351f2f84448c90ba982676468155254e8a29ad03ed98ca472e3e19b93a2a4761 WHIRLPOOL d5a7dfa85cf64d3b079b8caf4d5418c84caad9d1485e3f545650e1414fb1d1ebabbcf372f387a7fbf7ded9017145351bb6b315f0288d6c04cc17a278522f1b9c -DIST subunit-0.0.21.tar.gz 441691 SHA256 f12565cb0c6efdee4d96e9e640db4bcbfbede734223de940f9f3969c4a8e2f4c SHA512 2bbf312c7d80c3bea02163924a205df5553be3eceab5b2951512f9d71110608f1243440491a22c878d0691b9197dfe19c5c49fbb608883a038fa86626144ab12 WHIRLPOOL 749b0763d568f6a9803de11a59b92b357b41b8ae64e531e6cdefcc6114d6c4f2799c6c36e8372b92f1d173123d7a5847782d1f3ff193c83a7755a95a773204e3 -DIST subunit-0.0.6.tar.gz 388872 SHA256 98f5e72107322dc1c502543384e1ed790671d319a5096eab4f4d20641555de77 SHA512 79aa46a2cbdbe27bb1fcfa02a65bd10ba9ccf5013f9cbd8549d5aad304b8d451ed6a854b1b77415601aab8f6966b7004337634ea5e7bd8387dda8209781b118f WHIRLPOOL fd05cfed6e7cd50df57dfc3dd0c45bf955a033abf7c43849193a9f7515847eb7d2df5819e964407dac253c46ba5073f2bb1499a92a94a072591a4db4d5128c2b -DIST subunit-1.0.0.tar.gz 441964 SHA256 55dc2c1c22c650ad9f109516a72a9d37b986939de25b6195210724ce79ced0ba SHA512 082990e777667edb7d3666b554a1818a976369742a1ed9bbc47a9c59f97937c0619a315893f532e49c2cd798537b320ca2aa9df916906b85a75db8a7d4f8bc84 WHIRLPOOL e6650f991ecb0c7d0fc6001947cc5f11740c34783e62485bf5e8acebc9369665a8658789c7b7df5608efe8c5931b263952383231e8989f3be98cca2a807ba471 DIST subunit-1.1.0.tar.gz 441946 SHA256 4869a5bec96b7b4e760d053f842d80548008740cda1a7efbb9053063ee818a51 SHA512 11aaa8f2ae04232623fbfb7b9561aa15bddbc55201a3a16eea1319a076de3417977590c57bb7ab0bbd86b321b203241ba5ea8050932759aeb3f3ed71b723a98b WHIRLPOOL 2705fcb98d0b67b5d2cddff87095a9b65782467f3e9b84f956ac29c85c2995881dcd63468a144277fb76b7adfdbbb2ecdc36eae8413886a72028e3565edbdf47 DIST subunit-1.2.0.tar.gz 460532 SHA256 27f0561297a7d56d85a8f5491f47e44303d0bb1d99c5627486774ea1bcb3d5c3 SHA512 f6559fd771ad0732985230d11a9a8326ef35c817b62d1f50dc332f0032f7b08559a46d2534983b7d3964e45682ac49b3e348581ee0983861390abcd4ec20459c WHIRLPOOL c30b4a2c9ab17f49f87e206fe5833ae564452b99af447f8c4cbf969b2f2dd96e482fc583e84264be815b051b1bd12e6c132cd779c88d0d68da53956fef0b25b7 diff --git a/dev-python/subunit/files/0.0.21-tests.patch b/dev-python/subunit/files/0.0.21-tests.patch deleted file mode 100644 index 178fc12..0000000 --- a/dev-python/subunit/files/0.0.21-tests.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -ur subunit-0.0.21.orig/python/subunit/tests/test_run.py subunit-0.0.21/python/subunit/tests/test_run.py ---- python/subunit/tests/test_run.py 2014-08-24 13:27:32.000000000 +0800 -+++ python/subunit/tests/test_run.py 2014-09-23 14:03:54.731069912 +0800 -@@ -65,21 +65,6 @@ - exc = self.assertRaises(SystemExit, runner.list, None) - self.assertEqual((2,), exc.args) - -- class FailingTest(TestCase): -- def test_fail(self): -- 1/0 -- -- def test_exits_zero_when_tests_fail(self): -- bytestream = io.BytesIO() -- stream = io.TextIOWrapper(bytestream, encoding="utf8") -- try: -- self.assertEqual(None, run.main( -- argv=["progName", "subunit.tests.test_run.TestSubunitTestRunner.FailingTest"], -- stdout=stream)) -- except SystemExit: -- self.fail("SystemExit raised") -- self.assertThat(bytestream.getvalue(), StartsWith(_b('\xb3'))) -- - def test_exits_nonzero_when_execution_errors(self): - bytestream = io.BytesIO() - stream = io.TextIOWrapper(bytestream, encoding="utf8") diff --git a/dev-python/subunit/files/shell-tests.patch b/dev-python/subunit/files/shell-tests.patch deleted file mode 100644 index 46d72c1..0000000 --- a/dev-python/subunit/files/shell-tests.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur subunit-0.0.10.orig/shell/tests/test_function_output.sh subunit-0.0.10/shell/tests/test_function_output.sh ---- shell/tests/test_function_output.sh 2013-06-17 19:02:34.378260908 +0800 -+++ tests/test_function_output.sh 2013-06-17 19:03:49.082260928 +0800 -@@ -22,7 +22,7 @@ - # it is assumed that we are running from the 'shell' tree root in the source - # of subunit, and that the library sourcing tests have all passed - if they - # have not, this test script may well fail strangely. -- -+SHELL_SHARE="shell/share/" - # import the library. - . ${SHELL_SHARE}subunit.sh - -diff -ur subunit-0.0.10.orig/shell/tests/test_source_library.sh subunit-0.0.10/shell/tests/test_source_library.sh ---- shell/tests/test_source_library.sh 2013-06-17 19:03:01.322260915 +0800 -+++ shell/tests/test_source_library.sh 2013-06-17 18:53:46.634260762 +0800 -@@ -20,7 +20,7 @@ - # bindings being complete yet. - - # we expect to be run from the tree root. -- -+SHELL_SHARE="shell/share/" - echo 'test: shell bindings can be sourced' - # if any output occurs, this has failed to source cleanly - source_output=$(. ${SHELL_SHARE}subunit.sh 2>&1) diff --git a/dev-python/subunit/subunit-0.0.10-r1.ebuild b/dev-python/subunit/subunit-0.0.10-r1.ebuild deleted file mode 100644 index 78352c4..0000000 --- a/dev-python/subunit/subunit-0.0.10-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 ) - -inherit autotools-utils python-single-r1 - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="" - -RDEPEND=">=dev-python/testtools-0.9.23[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-lang/perl - dev-libs/check - dev-util/cppunit - >=sys-devel/automake-1.12 - virtual/pkgconfig" - -src_prepare() { - # update py-compile to handle py3 properly - # XXX: handle it in the eclass? - cp "$(automake --print-libdir || die)"/py-compile . || die - epatch "${FILESDIR}"/shell-tests.patch - - autotools-utils_src_prepare -} - -src_test() { - if ! PYTHONPATH="${S}"/python/ "${PYTHON}" runtests.py; then - die "Tests failed under ${EPYTHON}" - fi -} - -src_install() { - autotools-utils_src_install - - python_fix_shebang "${D}"/usr/bin -} diff --git a/dev-python/subunit/subunit-0.0.16.ebuild b/dev-python/subunit/subunit-0.0.16.ebuild deleted file mode 100644 index cf4fc89..0000000 --- a/dev-python/subunit/subunit-0.0.16.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} pypy ) - -inherit distutils-r1 eutils - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 x86 ~x86-fbsd" -#need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here -#ia64 s390 sh sparc amd64-fbsd -IUSE="static-libs" - -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/perl:= - dev-libs/check - dev-util/cppunit - virtual/pkgconfig" - -src_configure() { - econf --enable-shared $(use_enable static-libs static) - distutils-r1_src_configure -} - -src_compile() { - emake - distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - prune_libtool_files - distutils-r1_src_install -} diff --git a/dev-python/subunit/subunit-0.0.18-r2.ebuild b/dev-python/subunit/subunit-0.0.18-r2.ebuild deleted file mode 100644 index 3b9426b..0000000 --- a/dev-python/subunit/subunit-0.0.18-r2.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) - -inherit distutils-r1 eutils multilib-minimal - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" -#need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here -#ia64 s390 sh sparc amd64-fbsd -IUSE="static-libs" - -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}]" -# test? ( dev-python/testscenarios[${PYTHON_USEDEP}] ) -#requires keywording first; Bug #506510 -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/perl:= - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" -#requires keywording first; Bug #506510 -RESTRICT="test" - -src_prepare() { - # needed for perl modules - multilib_copy_sources - distutils-r1_src_prepare -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files -} diff --git a/dev-python/subunit/subunit-0.0.19.ebuild b/dev-python/subunit/subunit-0.0.19.ebuild deleted file mode 100644 index abe1436..0000000 --- a/dev-python/subunit/subunit-0.0.19.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) - -inherit distutils-r1 eutils multilib-minimal - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" -#need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here -#ia64 s390 sh sparc amd64-fbsd -IUSE="static-libs" - -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}]" -# test? ( dev-python/testscenarios[${PYTHON_USEDEP}] ) -#requires keywording first; Bug #506510 -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/perl:= - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" -#requires keywording first; Bug #506510 -RESTRICT="test" - -src_prepare() { - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die - # needed for perl modules - multilib_copy_sources - distutils-r1_src_prepare -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files -} diff --git a/dev-python/subunit/subunit-0.0.21-r1.ebuild b/dev-python/subunit/subunit-0.0.21-r1.ebuild deleted file mode 100644 index 4f22bd2..0000000 --- a/dev-python/subunit/subunit-0.0.21-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) - -inherit distutils-r1 eutils multilib-minimal - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 x86 ~x86-fbsd" -IUSE="static-libs test" - -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/perl:= - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )" - -# Take out rogue & trivial failing tests that exit the suite before it even gets started -PATCHES=( "${FILESDIR}"/${PV}-tests.patch ) - -src_prepare() { - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die - - # Install perl modules in vendor_perl, bug 534654. - export INSTALLDIRS=vendor - - # needed for perl modules - distutils-r1_src_prepare - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files -} diff --git a/dev-python/subunit/subunit-0.0.6.ebuild b/dev-python/subunit/subunit-0.0.6.ebuild deleted file mode 100644 index f193a9c..0000000 --- a/dev-python/subunit/subunit-0.0.6.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -PYTHON_EXPORT_PHASE_FUNCTIONS="1" - -inherit python - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="" - -RDEPEND=">=dev-python/testtools-0.9.4" -DEPEND="${RDEPEND} - dev-lang/perl - dev-libs/check - dev-util/cppunit - virtual/pkgconfig" -RESTRICT_PYTHON_ABIS="3.*" - -pkg_postinst() { - python_mod_optimize subunit -} - -pkg_postrm() { - python_mod_cleanup subunit -} diff --git a/dev-python/subunit/subunit-1.0.0.ebuild b/dev-python/subunit/subunit-1.0.0.ebuild deleted file mode 100644 index 81ca55f..0000000 --- a/dev-python/subunit/subunit-1.0.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) - -inherit distutils-r1 eutils multilib-minimal - -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE="https://launchpad.net/subunit https://pypi.python.org/pypi/python-subunit" -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="static-libs test" - -RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/extras[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - dev-lang/perl:= - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] - test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )" - -# Take out rogue & trivial failing tests that exit the suite before it even gets started -# The removed class in fact works fine in py3 and fails with py2.7 & pupu -# The setu to restrict this patch is just those 2 is not worth it. -PATCHES=( "${FILESDIR}"/${PV}-tests.patch ) - -src_prepare() { - sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die - - # Install perl modules in vendor_perl, bug 534654. - export INSTALLDIRS=vendor - - # needed for perl modules - distutils-r1_src_prepare - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - local -x PATH="${PWD}/shell/share:${PATH}" - local -x PYTHONPATH=python - # Following tests are known to fail in py2.7 & pypy. They pass under py3. - # DO NOT re-file - # test_add_error test_add_error_details test_add_expected_failure - # test_add_expected_failure_details test_add_failure test_add_failure - # https://bugs.launchpad.net/subunit/+bug/1436686 - - "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-exec-local - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - prune_libtool_files -}