aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-gpiozero/APKBUILD
blob: a347502d186af70d84523f2fa99495e0e1fee485 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"