diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-07-11 16:19:42 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-07-11 22:39:52 -0700 |
commit | 6476470f7eaaeafc3e08d2450221e071cc091f9c (patch) | |
tree | 96adfcd50a8d7f00ce14b6c965e855f4b84fabf5 | |
parent | www-servers/puma: add 4.0.1 (diff) | |
download | gentoo-6476470f7eaaeafc3e08d2450221e071cc091f9c.tar.gz gentoo-6476470f7eaaeafc3e08d2450221e071cc091f9c.tar.bz2 gentoo-6476470f7eaaeafc3e08d2450221e071cc091f9c.zip |
dev-python/coverage-test-runner: Rename and version bump to 1.15
A bunch of things too:
- Port to EAPI=7
- Add Python 3 compatibility
- Fix incorrect license
- HTTPS homepage
- Use tarball from cgit in SRC_URI to allow removal of MY_PN
- Remove python-r1 inherit (inherited by distutils-r1)
- Add missing [${PYTHON_USEDEP}] to dependency
- Remove explicit ${PYTHON_DEPS} (added by python-r1)
- Enable test suite
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | dev-python/CoverageTestRunner/CoverageTestRunner-1.11.ebuild | 24 | ||||
-rw-r--r-- | dev-python/CoverageTestRunner/Manifest | 1 | ||||
-rw-r--r-- | dev-python/coverage-test-runner/Manifest | 1 | ||||
-rw-r--r-- | dev-python/coverage-test-runner/coverage-test-runner-1.15.ebuild | 24 | ||||
-rw-r--r-- | dev-python/coverage-test-runner/metadata.xml (renamed from dev-python/CoverageTestRunner/metadata.xml) | 0 | ||||
-rw-r--r-- | dev-python/larch/larch-1.20131130.ebuild | 2 | ||||
-rw-r--r-- | profiles/updates/3Q-2019 | 1 |
7 files changed, 27 insertions, 26 deletions
diff --git a/dev-python/CoverageTestRunner/CoverageTestRunner-1.11.ebuild b/dev-python/CoverageTestRunner/CoverageTestRunner-1.11.ebuild deleted file mode 100644 index 51e3aa40571f..000000000000 --- a/dev-python/CoverageTestRunner/CoverageTestRunner-1.11.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 python-r1 - -MY_PN="python-coverage-test-runner" -DESCRIPTION="fail Python program unit tests unless they test everything" -HOMEPAGE="http://liw.fi/coverage-test-runner/" -SRC_URI="http://code.liw.fi/debian/pool/main/p/${MY_PN}/${MY_PN}_${PV}.orig.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -S="${WORKDIR}/${MY_PN}-${PV}" - -DEPEND="${PYTHON_DEPS} - dev-python/coverage" -RDEPEND="${DEPEND}" diff --git a/dev-python/CoverageTestRunner/Manifest b/dev-python/CoverageTestRunner/Manifest deleted file mode 100644 index 4a27b62d9996..000000000000 --- a/dev-python/CoverageTestRunner/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST python-coverage-test-runner_1.11.orig.tar.xz 19056 BLAKE2B 5d4084f76cafadadaf197341a14fc89dc5c19242572e9ae8b607aa3596cea194afefc9b0b0e3c4c16178794e45ff599e65931e248aa8320934e81fc5a955c871 SHA512 669947608636a46614022d8dee42d144e9a4ca4986efbaeff503c2b68c3612e60fb03fb255893dbe9bbf4b1df3c6e375e2d93f333cb79b1bbb2b63a64e59c866 diff --git a/dev-python/coverage-test-runner/Manifest b/dev-python/coverage-test-runner/Manifest new file mode 100644 index 000000000000..5b81a0cd8c31 --- /dev/null +++ b/dev-python/coverage-test-runner/Manifest @@ -0,0 +1 @@ +DIST coverage-test-runner-1.15.tar.gz 21243 BLAKE2B 37ae1748e9bc43994c7f59de0551b732b1b8b29a06f0a8a7ee03a31538a34758bd14715d29c26372c37218dde70c980339f42211b142c8a4841d3f016d65dc1d SHA512 a78219c30dfcbf46778a52da2291da0fff5ead42c133c4a28cc7f685111ba1bf2eca303e3f995ba19d30c5eb10605aba0665a8f9e6a4c17a4337a2a1234eb2f9 diff --git a/dev-python/coverage-test-runner/coverage-test-runner-1.15.ebuild b/dev-python/coverage-test-runner/coverage-test-runner-1.15.ebuild new file mode 100644 index 000000000000..67f6e01d2fde --- /dev/null +++ b/dev-python/coverage-test-runner/coverage-test-runner-1.15.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="fail Python program unit tests unless they test everything" +HOMEPAGE="https://liw.fi/coverage-test-runner/" +SRC_URI="http://git.liw.fi/${PN}/snapshot/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-python/coverage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +python_test() { + emake check +} diff --git a/dev-python/CoverageTestRunner/metadata.xml b/dev-python/coverage-test-runner/metadata.xml index 7a38bb900964..7a38bb900964 100644 --- a/dev-python/CoverageTestRunner/metadata.xml +++ b/dev-python/coverage-test-runner/metadata.xml diff --git a/dev-python/larch/larch-1.20131130.ebuild b/dev-python/larch/larch-1.20131130.ebuild index 7154cb4765f6..1d7f8536f013 100644 --- a/dev-python/larch/larch-1.20131130.ebuild +++ b/dev-python/larch/larch-1.20131130.ebuild @@ -17,7 +17,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" -DEPEND="test? ( dev-python/CoverageTestRunner dev-util/cmdtest )" +DEPEND="test? ( dev-python/coverage-test-runner dev-util/cmdtest )" RDEPEND="${PYTHON_DEPS} dev-python/cliapp diff --git a/profiles/updates/3Q-2019 b/profiles/updates/3Q-2019 new file mode 100644 index 000000000000..42b82e0d7234 --- /dev/null +++ b/profiles/updates/3Q-2019 @@ -0,0 +1 @@ +move dev-python/CoverageTestRunner dev-python/coverage-test-runner |