diff options
author | Padraic Fanning | 2022-04-03 14:13:41 -0400 |
---|---|---|
committer | Padraic Fanning | 2022-04-03 14:13:41 -0400 |
commit | f0d542ca108996582e2fef3da06fa345e8e0b6ce (patch) | |
tree | 97611260f1fb76016cf2b395416fcabe85c61a72 | |
parent | 9548c1a8acb975394cf519a4c0b11cbceba455a7 (diff) | |
download | aur-f0d542ca108996582e2fef3da06fa345e8e0b6ce.tar.gz |
Use virtual framebuffer for GUI test
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 17 |
3 files changed, 14 insertions, 7 deletions
@@ -1,11 +1,12 @@ pkgbase = python-gaphas pkgdesc = Diagramming widget library for Python pkgver = 3.6.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/gaphor/gaphas arch = any license = Apache checkdepends = python-pytest + checkdepends = xorg-server-xvfb makedepends = python-build makedepends = python-installer makedepends = python-poetry-core diff --git a/.gitignore b/.gitignore index f4ac3c3fc519..abc39763e19d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ pkg/ src/ -gaphas-*-py3-none-any.whl python-gaphas-*.pkg.* @@ -1,10 +1,10 @@ # Maintainer: Yauhen Kirylau <actionless DOT loveless PLUS aur AT gmail MF com> -# Contributor: Padraic Fanning <fanninpm AT miamioh DOT edu> +# Maintainer: Padraic Fanning <fanninpm AT miamioh DOT edu> _name=gaphas pkgname=python-${_name} pkgver=3.6.0 -pkgrel=2 +pkgrel=3 pkgdesc="Diagramming widget library for Python" arch=('any') url="https://github.com/gaphor/${_name}" @@ -14,8 +14,15 @@ depends=( 'python-cairo' 'python-importlib-metadata' ) -makedepends=(python-build python-installer python-poetry-core) -checkdepends=(python-pytest) +makedepends=( + 'python-build' + 'python-installer' + 'python-poetry-core' +) +checkdepends=( + 'python-pytest' + 'xorg-server-xvfb' +) source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('96f1be036cf5155dc15508257acf3663cd3ec12154f6ce5011aead10e80c40d1') @@ -29,7 +36,7 @@ build() { check() { cd "${srcdir}/${_name}-${pkgver}" - pytest + xvfb-run --auto-servernum pytest } package() { |