[arch-commits] Commit in gcovr/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:17:18 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:17:17
  Author: felixonmars
Revision: 753405

archrelease: copy trunk to community-staging-any

Added:
  gcovr/repos/community-staging-any/
  gcovr/repos/community-staging-any/PKGBUILD
    (from rev 753404, gcovr/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: gcovr/repos/community-staging-any/PKGBUILD (from rev 753404, gcovr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:17:17 UTC (rev 753405)
@@ -0,0 +1,30 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=gcovr
+pkgver=4.2
+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' 'python-lxml' 'gcc')
+checkdepends=('python-pytest')
+source=("https://github.com/gcovr/gcovr/archive/${pkgver}.tar.gz")
+sha256sums=('589d5cb7164c285192ed0837d3cc17001ba25211e24933f0ba7cb9cf38b8a30e')
+
+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