testing/py-pyautogui: upgrade to 0.9.37

use specific git commit hash in stead of just picking git master.
This commit is contained in:
Natanael Copa 2018-10-08 09:26:37 +00:00
parent 11b2a03085
commit dc39eb9bb7

View File

@ -2,8 +2,10 @@
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=py-pyautogui
_pkgname=PyAutoGUI
pkgver=0.9.35
pkgrel=2
# upstream does not tag releases https://github.com/asweigart/pyautogui/issues/270
_commit=61f14d7632f80267232098edd71be98a30c1339b
pkgver=0.9.37
pkgrel=0
pkgdesc="A cross-platform Python module for GUI automation for human beings"
url="https://pyautogui.readthedocs.io/"
arch="noarch"
@ -11,8 +13,8 @@ license="BSD"
depends="py-xlib py-pillow"
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"
source="$_pkgname-$_commit.tar.gz::https://github.com/asweigart/pyautogui/archive/$_commit.tar.gz"
builddir="$srcdir/pyautogui-$_commit"
build() {
cd "$builddir"
@ -53,4 +55,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
sha512sums="4b8b05022708f2613241f954f0efdf5b4d6fa3d35a6e9b6901dfdf0ec9194259a449e85edb1c0eec950148c385b6eb40ef38bb27987031ec1cac83449ee50eaf master.zip"
sha512sums="b26bee4684f9b2cb5a1ba376faceb879251dcebc7a93ef931a6b273bbebbf1c4151834035f5a52ffad1859d131d1490ad42e6b6c0a77304fd8afb316c96cde1d PyAutoGUI-61f14d7632f80267232098edd71be98a30c1339b.tar.gz"