1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/testing/py3-pyautogui/APKBUILD
2021-04-05 18:19:31 +00:00

33 lines
1.1 KiB
Text

# 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=57a98be5fc1c33f077ca499f7836741faf31d463
pkgver=0.9.50
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="5d5bb8c9e3ee5759ac6cfd7872cf62621bcbb3093df11d785928d9159dd0902527fb8a02add57bb223d28b0f1ee0b574180178e99e2018aa24f5a279ce01e40e PyAutoGUI-57a98be5fc1c33f077ca499f7836741faf31d463.tar.gz"