[arch-commits] Commit in gcovr/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 02:41:06 UTC 2019
Date: Monday, November 4, 2019 @ 02:41:04
Author: felixonmars
Revision: 523028
archrelease: copy trunk to community-staging-any
Added:
gcovr/repos/community-staging-any/
gcovr/repos/community-staging-any/PKGBUILD
(from rev 523027, gcovr/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: gcovr/repos/community-staging-any/PKGBUILD (from rev 523027, gcovr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 02:41:04 UTC (rev 523028)
@@ -0,0 +1,30 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=gcovr
+pkgver=4.1
+pkgrel=3
+pkgdesc='provides a utility for managing the use of the GNU gcov utility'
+arch=(any)
+url="https://gcovr.com/"
+license=(BSD)
+depends=('python' 'python-jinja' 'gcc')
+checkdepends=('python-pytest')
+source=("https://github.com/gcovr/gcovr/archive/${pkgver}.tar.gz")
+sha256sums=('1ad8042fd4dc4c355fd7e605d395eefa2a59b1677dfdc308e0ef00083e8b37ee')
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ # requires pyutillib, ply
+ #pytest gcovr
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list