mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
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>
This commit is contained in:
1
dev-python/coverage-test-runner/Manifest
Normal file
1
dev-python/coverage-test-runner/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST coverage-test-runner-1.15.tar.gz 21243 BLAKE2B 37ae1748e9bc43994c7f59de0551b732b1b8b29a06f0a8a7ee03a31538a34758bd14715d29c26372c37218dde70c980339f42211b142c8a4841d3f016d65dc1d SHA512 a78219c30dfcbf46778a52da2291da0fff5ead42c133c4a28cc7f685111ba1bf2eca303e3f995ba19d30c5eb10605aba0665a8f9e6a4c17a4337a2a1234eb2f9
|
||||
@@ -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
|
||||
}
|
||||
5
dev-python/coverage-test-runner/metadata.xml
Normal file
5
dev-python/coverage-test-runner/metadata.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user