Skip to content
Snippets Groups Projects
Commit b514d7e9 authored by Scrumpy Jack's avatar Scrumpy Jack :sheep: Committed by Timo Teräs
Browse files

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]
parent 07624a38
No related branches found
No related tags found
No related merge requests found
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment