diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-03-16 20:24:49 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-18 08:15:21 +0000 |
commit | b514d7e986df058ff16cc34a1615c7e7b7b953fc (patch) | |
tree | 63bb59b80ed27c06980adcb96649aa6f1cf7bf3d /testing | |
parent | 07624a38ce263a899c41d9cdffb3656dc7bcef7d (diff) | |
download | aports-b514d7e986df058ff16cc34a1615c7e7b7b953fc.tar.bz2 aports-b514d7e986df058ff16cc34a1615c7e7b7b953fc.tar.xz |
testing/py-gpiozero: new aport
A simple interface to everyday GPIO components used with Raspberry Pi
http://gpiozero.readthedocs.org
ref #5195, [TT: Fix arch, license and whitespace]
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-gpiozero/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py-gpiozero/APKBUILD b/testing/py-gpiozero/APKBUILD new file mode 100644 index 0000000000..a347502d18 --- /dev/null +++ b/testing/py-gpiozero/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=py-gpiozero +_pkgname=python-gpiozero +pkgver=1.1.0 +pkgrel=0 +pkgdesc="A simple interface to everyday GPIO components used with Raspberry Pi" +url="http://gpiozero.readthedocs.org" +arch="armhf" +license="BSD-3" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="$_pkgname-$pkgver.tar.gz::https://github.com/RPi-Distro/${_pkgname}/archive/v${pkgver}.tar.gz" + +_builddir=${srcdir}/${_pkgname}-${pkgver} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="082fc277ab07fbf68397f75ed50ebb61 python-gpiozero-1.1.0.tar.gz" +sha256sums="f68af12d203c998c6265ffd1f820236480639a044f64d6b81311575da8f62ced python-gpiozero-1.1.0.tar.gz" +sha512sums="e9519bf59d28da5b7c6771b49c99359ec2a0d6ae49433189d009c9be5af8c0e57b857265b1210a6cafdd88e71b3fa2d33d6b1d5ceae38371579f3478e96419e6 python-gpiozero-1.1.0.tar.gz" |