From 56f090f2ae23ad5d47382de349e7d047d7ae0704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Fri, 3 Feb 2017 22:41:22 +0100 Subject: [PATCH] New package: gcovr-3.3 --- srcpkgs/gcovr/template | 33 +++++++++++++++++++++++++++++++++ srcpkgs/python3-gcovr | 1 + 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/gcovr/template create mode 120000 srcpkgs/python3-gcovr diff --git a/srcpkgs/gcovr/template b/srcpkgs/gcovr/template new file mode 100644 index 0000000000..c58df5e4f5 --- /dev/null +++ b/srcpkgs/gcovr/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-gcovr b/srcpkgs/python3-gcovr new file mode 120000 index 0000000000..db0a5ee621 --- /dev/null +++ b/srcpkgs/python3-gcovr @@ -0,0 +1 @@ +gcovr \ No newline at end of file