~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3

[alpine-aports] [PATCH 1/2] testing/py-xlib: new aport

Details
Message ID
<20170413092928.14247-1-pickfire@riseup.net>
Sender timestamp
1492075767
DKIM signature
missing
Download raw message
Patch: +54 -0
https://github.com/python-xlib/python-xlib
A fully functional X client library for Python programs
---
 testing/py-xlib/APKBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 testing/py-xlib/APKBUILD

diff --git a/testing/py-xlib/APKBUILD b/testing/py-xlib/APKBUILD
new file mode 100644
index 0000000000..a5f48942a8
--- /dev/null
+++ b/testing/py-xlib/APKBUILD
@@ -0,0 +1,54 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-xlib
_pkgname=python-xlib
pkgver=0.19
pkgrel=0
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"
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"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
	python3 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py test
	python3 setup.py test
}

package() {
	mkdir -p "$pkgdir"
}

_py2() {
	replaces="$pkgname"
	depends="${depends//py-/py2-}"
	_py python2
}

_py3() {
	depends="${depends//py-/py3-}"
	_py python3
}

_py() {
	local python="$1"
	pkgdesc="$pkgdesc (for $python)"
	depends="$depends $python"
	install_if="$pkgname=$pkgver-r$pkgrel $python"

	cd "$builddir"
	$python setup.py install --prefix=/usr --root="$subpkgdir"
}

sha512sums="070807eed50ce9a17926c36686dac5c143deff0b687a2967afade1a2f776d42ffbea0bbfad3a7480118ba7b1cf5ac0bb64978fdd3ca125c1df651af456dba5be  python-xlib-0.19.tar.bz2"
-- 
2.12.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 2/2] testing/py-pyautogui: new aport

Details
Message ID
<20170413092928.14247-2-pickfire@riseup.net>
In-Reply-To
<20170413092928.14247-1-pickfire@riseup.net> (view parent)
Sender timestamp
1492075768
DKIM signature
missing
Download raw message
Patch: +54 -0
http://pyautogui.readthedocs.io/
A cross-platform Python module for GUI automation for human beings
---
 testing/py-pyautogui/APKBUILD | 54 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 testing/py-pyautogui/APKBUILD

diff --git a/testing/py-pyautogui/APKBUILD b/testing/py-pyautogui/APKBUILD
new file mode 100644
index 0000000000..75a388cc7c
--- /dev/null
+++ b/testing/py-pyautogui/APKBUILD
@@ -0,0 +1,54 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-pyautogui
_pkgname=PyAutoGUI
pkgver=0.9.35
pkgrel=0
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"
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"
	python2 setup.py build
	python3 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py check
	python3 setup.py check
}

package() {
	mkdir -p "$pkgdir"
}

_py2() {
	replaces="$pkgname"
	depends="${depends//py-/py2-}"
	_py python2
}

_py3() {
	depends="${depends//py-/py3-}"
	_py python3
}

_py() {
	local python="$1"
	pkgdesc="$pkgdesc (for $python)"
	depends="$depends $python"
	install_if="$pkgname=$pkgver-r$pkgrel $python"

	cd "$builddir"
	$python setup.py install --prefix=/usr --root="$subpkgdir"
}

sha512sums="7369e846f9a2d8f6af4752e424ed867f857fb7a98f946311d45003fda93b69ec73b3866e16a001479b9dbd19ec1634959ac083e8199cda9fb60a650260dcde6d  master.zip"
-- 
2.12.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20170427171956.24874-1-pickfire@riseup.net>
In-Reply-To
<20170413092928.14247-1-pickfire@riseup.net> (view parent)
Sender timestamp
1493313595
DKIM signature
missing
Download raw message
Patch: +54 -0
https://github.com/python-xlib/python-xlib
A fully functional X client library for Python programs
---
 testing/py-xlib/APKBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 testing/py-xlib/APKBUILD

diff --git a/testing/py-xlib/APKBUILD b/testing/py-xlib/APKBUILD
new file mode 100644
index 0000000000..1a2d34bc3c
--- /dev/null
+++ b/testing/py-xlib/APKBUILD
@@ -0,0 +1,54 @@
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=py-xlib
_pkgname=python-xlib
pkgver=0.19
pkgrel=0
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"
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"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
	python3 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py test
	python3 setup.py test
}

package() {
	mkdir -p "$pkgdir"
}

_py2() {
	replaces="$pkgname"
	depends="${depends//py-/py2-}"
	_py python2
}

_py3() {
	depends="${depends//py-/py3-}"
	_py python3
}

_py() {
	local python="$1"
	pkgdesc="$pkgdesc (for $python)"
	depends="$depends $python"
	install_if="$pkgname=$pkgver-r$pkgrel $python"

	cd "$builddir"
	$python setup.py install --prefix=/usr --root="$subpkgdir"
}

sha512sums="070807eed50ce9a17926c36686dac5c143deff0b687a2967afade1a2f776d42ffbea0bbfad3a7480118ba7b1cf5ac0bb64978fdd3ca125c1df651af456dba5be  python-xlib-0.19.tar.bz2"
-- 
2.12.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 2/2] testing/py-pyautogui: new aport

Details
Message ID
<20170427171956.24874-2-pickfire@riseup.net>
In-Reply-To
<20170427171956.24874-1-pickfire@riseup.net> (view parent)
Sender timestamp
1493313596
DKIM signature
missing
Download raw message
Patch: +54 -0
http://pyautogui.readthedocs.io/
A cross-platform Python module for GUI automation for human beings
---
 testing/py-pyautogui/APKBUILD | 54 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 testing/py-pyautogui/APKBUILD

diff --git a/testing/py-pyautogui/APKBUILD b/testing/py-pyautogui/APKBUILD
new file mode 100644
index 0000000000..f8b9b131e3
--- /dev/null
+++ b/testing/py-pyautogui/APKBUILD
@@ -0,0 +1,54 @@
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: Ivan Tham <pickfire@riseup.net>
pkgname=py-pyautogui
_pkgname=PyAutoGUI
pkgver=0.9.35
pkgrel=0
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"
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"
	python2 setup.py build
	python3 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py check
	python3 setup.py check
}

package() {
	mkdir -p "$pkgdir"
}

_py2() {
	replaces="$pkgname"
	depends="${depends//py-/py2-}"
	_py python2
}

_py3() {
	depends="${depends//py-/py3-}"
	_py python3
}

_py() {
	local python="$1"
	pkgdesc="$pkgdesc (for $python)"
	depends="$depends $python"
	install_if="$pkgname=$pkgver-r$pkgrel $python"

	cd "$builddir"
	$python setup.py install --prefix=/usr --root="$subpkgdir"
}

sha512sums="7369e846f9a2d8f6af4752e424ed867f857fb7a98f946311d45003fda93b69ec73b3866e16a001479b9dbd19ec1634959ac083e8199cda9fb60a650260dcde6d  master.zip"
-- 
2.12.2



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)