diff options
author | Patrick Griffis | 2016-12-23 06:03:45 -0500 |
---|---|---|
committer | Patrick Griffis | 2016-12-23 06:03:45 -0500 |
commit | ef575921b1c51ec63d0af7c1e7a8d039bad4714c (patch) | |
tree | 0d0484e51f62c29f14fd7dc402940326f76437ac | |
parent | 3a757a7e74afa53979b71b2d9de596eadf62fd5e (diff) | |
download | aur-ef575921b1c51ec63d0af7c1e7a8d039bad4714c.tar.gz |
Run tests
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -5,6 +5,7 @@ pkgbase = python-gbulb url = https://github.com/nathan-hoad/gbulb arch = any license = Apache + checkdepends = python-pytest makedepends = python-setuptools depends = python-gobject optdepends = gtk3: Gtk application integration @@ -11,9 +11,16 @@ license=('Apache') makedepends=('python-setuptools') depends=('python-gobject') optdepends=('gtk3: Gtk application integration') +checkdepends=('python-pytest') source=("https://github.com/nathan-hoad/gbulb/archive/$pkgver.tar.gz") sha256sums=('91b60a05da3197e537525224f88ba23d951b9175a6a33d6d4565e492ab591c35') +check() { + cd "$_modname-$pkgver" + + pytest +} + package() { cd "$_modname-$pkgver" |