python-coverage: remove package

This commit is contained in:
Michal Vasilek 2022-09-25 15:22:07 +02:00 committed by classabbyamp
parent 49779ad347
commit 305f6e9d92
5 changed files with 18 additions and 27 deletions

View file

@ -1,26 +0,0 @@
# Template file for 'python-coverage'
pkgname=python-coverage
version=5.0.3
revision=3
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python-setuptools"
short_desc="Code coverage testing for Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://bitbucket.org/ned/coveragepy"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef
alternatives="coverage:coverage:/usr/bin/coverage2"
python3-coverage_package() {
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="coverage:coverage:/usr/bin/coverage3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-coverage

View file

@ -0,0 +1,18 @@
# Template file for 'python3-coverage'
pkgname=python3-coverage
version=5.0.3
revision=4
wrksrc="coverage-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-setuptools"
checkdepends="python3-pytest-xdist python3-flaky python3-unittest-mixins"
short_desc="Code coverage testing for Python3"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://bitbucket.org/ned/coveragepy"
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef
# coverage executable needs to run for many tests
make_check=no