summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6328e68244fe..863ab400795a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = python-liblarch-git
pkgdesc = Python library to easily handle data structure, with a GTK binding
pkgver = 3.2.0.r0.g628f588
- pkgrel = 2
+ pkgrel = 3
url = https://wiki.gnome.org/Projects/liblarch
arch = any
license = LGPL3
- checkdepends = python-nose
+ checkdepends = python-pytest
+ checkdepends = xorg-server-xvfb
makedepends = git
makedepends = python-build
makedepends = python-installer
diff --git a/PKGBUILD b/PKGBUILD
index af7339682f24..8ccef936ae7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,14 @@
pkgname=python-liblarch-git
_name=liblarch
pkgver=3.2.0.r0.g628f588
-pkgrel=2
+pkgrel=3
pkgdesc="Python library to easily handle data structure, with a GTK binding"
arch=('any')
url="https://wiki.gnome.org/Projects/liblarch"
license=('LGPL3')
depends=('gtk3' 'python-gobject' 'python-cairo')
makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
-checkdepends=('python-nose')
+checkdepends=('python-pytest' 'xorg-server-xvfb')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/getting-things-gnome/liblarch.git")
@@ -28,7 +28,7 @@ build() {
check() {
cd "$srcdir/$_name"
- python run-tests
+ xvfb-run -d pytest
}
package() {