[arch-commits] Commit in bup/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Sep 7 11:51:58 UTC 2014


    Date: Sunday, September 7, 2014 @ 13:51:57
  Author: bpiotrowski
Revision: 118593

Restore check() function.

Modified:
  bup/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-09-07 11:19:41 UTC (rev 118592)
+++ PKGBUILD	2014-09-07 11:51:57 UTC (rev 118593)
@@ -15,6 +15,7 @@
 license=('GPL')
 depends=('python2-fuse' 'par2cmdline' 'pylibacl' 'python2-pyxattr' 'git')
 makedepends=('ruby-ronn')
+checkdepends=('rsync')
 source=($url/archive/0.26.tar.gz
         python2.patch
         avoid-using-pandoc.patch)
@@ -26,6 +27,9 @@
   cd $pkgname-$pkgver
   patch -p1 -i ../python2.patch
   patch -p1 -i ../avoid-using-pandoc.patch
+
+  # make test suite happy
+  git config --global user.email "john at doe.com"
 }
 
 build() {
@@ -32,6 +36,10 @@
   make -C $pkgname-$pkgver
 }
 
+check() {
+  make -C $pkgname-$pkgver test -j1
+}
+
 package() {
   make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list