New package: gcovr-3.3

This commit is contained in:
André Klitzing 2017-02-03 22:41:22 +01:00
parent 57c68f824d
commit 56f090f2ae
2 changed files with 34 additions and 0 deletions

33
srcpkgs/gcovr/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'gcovr'
pkgname=gcovr
version=3.3
revision=1
noarch=yes
build_style=python-module
pycompile_module="gcovr"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Generates a simple report that summarizes the gcc code coverage"
maintainer="Andre Klitzing <aklitzing@gmail.com>"
homepage="http://gcovr.com/"
license="3-clause-BSD"
distfiles="https://github.com/gcovr/gcovr/archive/${version}.tar.gz"
checksum=8a60ba6242d67a58320e9e16630d80448ef6d5284fda5fb3eff927b63c8b04a2
alternatives="gcovr:gcovr:/usr/bin/gcovr2"
post_install() {
vlicense LICENSE.txt
}
python3-gcovr_package() {
noarch=yes
pycompile_module="gcovr"
depends="python3-setuptools"
alternatives="gcovr:gcovr:/usr/bin/gcovr3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

1
srcpkgs/python3-gcovr Symbolic link
View file

@ -0,0 +1 @@
gcovr