mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 09:52:57 +02:00
New package: python-coverage-4.4.2.
This commit is contained in:
parent
aba1a91205
commit
f6d0446595
2 changed files with 30 additions and 0 deletions
29
srcpkgs/python-coverage/template
Normal file
29
srcpkgs/python-coverage/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'python-coverage'
|
||||||
|
pkgname=python-coverage
|
||||||
|
version=4.4.2
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="coverage"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="Code coverage testing for Python2"
|
||||||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://bitbucket.org/ned/coveragepy"
|
||||||
|
distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz"
|
||||||
|
checksum=309d91bd7a35063ec7a0e4d75645488bfab3f0b66373e7722f23da7f5b0f34cc
|
||||||
|
alternatives="python-coverage:coverage:/usr/bin/coverage2"
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
|
python3-coverage_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="coverage"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="python-coverage:coverage:/usr/bin/coverage3"
|
||||||
|
depends="python3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/bin/*3*"
|
||||||
|
vmove /usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-coverage
Symbolic link
1
srcpkgs/python3-coverage
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-coverage
|
Loading…
Add table
Reference in a new issue