blob: db9be93a83c906197dbcb756d45a2567a3f047e5 (
plain)
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
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=py3-gpiozero
_pkgname=gpiozero
pkgver=1.5.1
pkgrel=2
pkgdesc="A simple interface to everyday GPIO components used with Raspberry Pi"
url="http://gpiozero.readthedocs.org"
arch="armhf armv7"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/gpiozero/gpiozero/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-gpiozero" # Backwards compatibility
provides="py-gpiozero=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="73347ec887f6d6b58a09d8bfe604826df62cb9455fe2eab0de74e5130f7f9912a2f4caa25b1eaa80b50a5e1b1b4f712333facd1ff9405d53122f9602282fbf82 gpiozero-1.5.1.tar.gz"
|