34 lines
889 B
Bash
34 lines
889 B
Bash
|
# 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
|
||
|
}
|
||
|
}
|