aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pyautogui/APKBUILD
blob: 4091e3cedc08a324c0a9d5b7e9302d7d956047b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=py3-pyautogui
_pkgname=PyAutoGUI
# upstream does not tag releases https://github.com/asweigart/pyautogui/issues/270
_commit=b3e5b3ee879aac9efa9e2ddbe68fa373c402114f
pkgver=0.9.48
pkgrel=1
pkgdesc="A cross-platform Python module for GUI automation for human beings"
url="https://pyautogui.readthedocs.io/"
arch="noarch"
license="BSD-3-Clause"
depends="py3-xlib py3-pillow"
makedepends="py3-setuptools xvfb-run"
source="$_pkgname-$_commit.tar.gz::https://github.com/asweigart/pyautogui/archive/$_commit.tar.gz"
builddir="$srcdir/pyautogui-$_commit"

replaces="py-pyautogui" # Backwards compatibility
provides="py-pyautogui=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	xvfb-run python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="48c422801e84df2e8168d7ae25ba331477732c873e78f3ba235286602819bbdb2b88a8af91a9d8502f34edaa9dd19b3f48cb7cea10b6f8b5fe530147b6427823  PyAutoGUI-b3e5b3ee879aac9efa9e2ddbe68fa373c402114f.tar.gz"