summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Pałubicki2019-02-28 23:35:12 +0100
committerMichał Pałubicki2019-02-28 23:37:03 +0100
commita16618d504db828fe68f76c9f6bda0b8a17134e3 (patch)
treeb4314b69d251836d28da3d2624c2d027c1d6fd9c
parentdab7a2494c3aa979c927c5817e8f7ccc61f8ad3f (diff)
downloadaur-a16618d504db828fe68f76c9f6bda0b8a17134e3.tar.gz
Running test suite
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e702dce368b..fd9cc3025b8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-agate-dbf
pkgdesc = Adds read support for dbf files to agate
pkgver = 0.2.0
- pkgrel = 3
+ pkgrel = 4
url = http://agate-dbf.readthedocs.org/
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 7280bc14723..3e4847c4a38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=agate-dbf
pkgname=python-$_pkgname
pkgver=0.2.0
-pkgrel=3
+pkgrel=4
pkgdesc="Adds read support for dbf files to agate"
arch=('any')
url="http://agate-dbf.readthedocs.org/"
@@ -31,5 +31,9 @@ package() {
cp -rv "$srcdir/$_pkgname-$pkgver/build/sphinx/html" "$pkgdir/usr/share/doc/$_pkgname"
}
+check() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py test --test-suite=tests
+}
# vim:set ts=2 sw=2 et: