gcovr: not yet fully compatible with python3

This commit is contained in:
Alessio Sergi 2017-08-27 20:35:19 +02:00
parent b963471b0e
commit 520ad5a927
2 changed files with 4 additions and 19 deletions

View file

@ -1,33 +1,19 @@
# Template file for 'gcovr'
pkgname=gcovr
version=3.3
revision=1
revision=2
noarch=yes
build_style=python-module
build_style=python2-module
pycompile_module="gcovr"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
hostmakedepends="python-setuptools"
depends="python"
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
}
}

View file

@ -1 +0,0 @@
gcovr