aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-gpiozero
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-06-28 07:41:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-06-28 13:55:54 +0000
commitc3bb6cb1e65df26d26fdc0b4ba7e8aa75a439ed2 (patch)
treebbb385acd4028614cd1a3be0d766067e71fa84ff /community/py-gpiozero
parent76deacce283bcc7a3ff28ca03e83965a74f82472 (diff)
downloadaports-c3bb6cb1e65df26d26fdc0b4ba7e8aa75a439ed2.tar.bz2
aports-c3bb6cb1e65df26d26fdc0b4ba7e8aa75a439ed2.tar.xz
testing/[various]: move more packages to community
Moves the packages listed below from the testing to the community repository after successfully testing of said packages. aha archivemount bannergrab bmon py-gpiozera py-rpizero py-skywriter-hat remind
Diffstat (limited to 'community/py-gpiozero')
-rw-r--r--community/py-gpiozero/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py-gpiozero/APKBUILD b/community/py-gpiozero/APKBUILD
new file mode 100644
index 0000000000..a347502d18
--- /dev/null
+++ b/community/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"