diff options
-rw-r--r-- | testing/py-xlib/APKBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/py-xlib/APKBUILD b/testing/py-xlib/APKBUILD index 1a2d34bc3c..1ff0c32fd6 100644 --- a/testing/py-xlib/APKBUILD +++ b/testing/py-xlib/APKBUILD @@ -3,12 +3,13 @@ pkgname=py-xlib _pkgname=python-xlib pkgver=0.19 -pkgrel=0 +pkgrel=1 pkgdesc="A fully functional X client library for Python programs" url="https://github.com/python-xlib/python-xlib" arch="noarch" license="LGPL2" depends="py-six" +checkdepends="xvfb" makedepends="python2-dev python3-dev py-setuptools" subpackages="${pkgname/py-/py3-}:_py3 ${pkgname/py-/py2-}:_py2" source="https://github.com/$_pkgname/$_pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.bz2" @@ -22,6 +23,8 @@ build() { check() { cd "$builddir" + Xvfb :1 & + export DISPLAY=:1 python2 setup.py test python3 setup.py test } |