summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2022-05-24 10:11:09 -0600
committerMark Wagie2022-05-24 10:11:09 -0600
commitf02b3a0fbbec1deedfd2a0795a3c745d70f1d56d (patch)
treeaa57a12fa264971fb41537e24bd63f67a5728831
parenteb539c062a6e5fb85506af3994fa9e1f6a27bcbe (diff)
downloadaur-f02b3a0fbbec1deedfd2a0795a3c745d70f1d56d.tar.gz
update tests
-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() {