aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pyautogui
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-06-02 08:36:09 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-06-02 08:36:09 +0000
commit054ed37c913fc4487586ab17acde2e95db6b3559 (patch)
tree7662bc0d65c21783460e3ba1622402bd3e8dab01 /testing/py-pyautogui
parent3d70719b32263d20639f9993f77d5d9ef69590af (diff)
downloadaports-054ed37c913fc4487586ab17acde2e95db6b3559.tar.bz2
aports-054ed37c913fc4487586ab17acde2e95db6b3559.tar.xz
testing/py-pyautogui: fix build on headless system
Diffstat (limited to 'testing/py-pyautogui')
-rw-r--r--testing/py-pyautogui/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/py-pyautogui/APKBUILD b/testing/py-pyautogui/APKBUILD
index f8b9b131e3..3d31b05fb8 100644
--- a/testing/py-pyautogui/APKBUILD
+++ b/testing/py-pyautogui/APKBUILD
@@ -3,19 +3,21 @@
pkgname=py-pyautogui
_pkgname=PyAutoGUI
pkgver=0.9.35
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-platform Python module for GUI automation for human beings"
url="http://pyautogui.readthedocs.io/"
arch="noarch"
license="BSD"
depends="py-xlib py-pillow"
-makedepends="python2-dev python3-dev py-setuptools"
+makedepends="python2-dev python3-dev py-setuptools xvfb"
subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
source="https://github.com/asweigart/pyautogui/archive/master.zip" # TODO: find a better source
builddir="$srcdir/pyautogui-master"
build() {
cd "$builddir"
+ Xvfb :1 &
+ export DISPLAY=:1
python2 setup.py build
python3 setup.py build
}
@@ -51,4 +53,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="7369e846f9a2d8f6af4752e424ed867f857fb7a98f946311d45003fda93b69ec73b3866e16a001479b9dbd19ec1634959ac083e8199cda9fb60a650260dcde6d master.zip"
+sha512sums="4b8b05022708f2613241f954f0efdf5b4d6fa3d35a6e9b6901dfdf0ec9194259a449e85edb1c0eec950148c385b6eb40ef38bb27987031ec1cac83449ee50eaf master.zip"