diff options
author | Justin Saunders <justin@jumaka.co.uk> | 2016-02-22 21:09:29 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-02-23 06:10:03 +0000 |
commit | dfed446838983c0cc96472472838213405baf12f (patch) | |
tree | c4897ca4809c8f1cc96d510d18e3e0cf868d03e4 | |
parent | 9389c2d174270bef96cb48c0e5c79ef5a60b2288 (diff) | |
download | alpine_aports-dfed446838983c0cc96472472838213405baf12f.tar.bz2 alpine_aports-dfed446838983c0cc96472472838213405baf12f.tar.xz alpine_aports-dfed446838983c0cc96472472838213405baf12f.zip |
testing/py-rpi-gpio
https://pypi.python.org/pypi/RPi.GPIO
A python module to control Raspberry Pi GPIO channels
-rw-r--r-- | testing/py-rpi-gpio/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py-rpi-gpio/APKBUILD b/testing/py-rpi-gpio/APKBUILD new file mode 100644 index 0000000000..71856725b5 --- /dev/null +++ b/testing/py-rpi-gpio/APKBUILD | |||
@@ -0,0 +1,32 @@ | |||
1 | # Contributor: Justin Saunders <justin@jumaka.co.uk> | ||
2 | # Maintainer: Justin Saunders <justin@jumaka.co.uk> | ||
3 | pkgname=py-rpi-gpio | ||
4 | _pkg_real=RPi.GPIO | ||
5 | pkgver=0.6.1 | ||
6 | pkgrel=0 | ||
7 | pkgdesc="A python module to control Raspberry Pi GPIO channels" | ||
8 | url="https://pypi.python.org/pypi/RPi.GPIO" | ||
9 | arch="armhf" | ||
10 | license="PSF" | ||
11 | pydepends="" | ||
12 | pymakedepends="" | ||
13 | depends="python $pydepends" | ||
14 | makedepends="python-dev $pymakedepends" | ||
15 | source="https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.6.1.tar.gz" | ||
16 | |||
17 | _builddir="$srcdir/$_pkg_real-$pkgver" | ||
18 | build() { | ||
19 | cd "$_builddir" | ||
20 | python setup.py build || return 1 | ||
21 | } | ||
22 | |||
23 | package() { | ||
24 | cd "$_builddir" | ||
25 | python setup.py install \ | ||
26 | --prefix=/usr \ | ||
27 | --root="$pkgdir" \ | ||
28 | || return 1 | ||
29 | } | ||
30 | md5sums="254d0443a436eb241367c487274e7197 RPi.GPIO-0.6.1.tar.gz" | ||
31 | sha256sums="54e5fb06d9ea1a1389a497fb5a06dfa950c86303b0f4ba89b68c55999d1df064 RPi.GPIO-0.6.1.tar.gz" | ||
32 | sha512sums="8a66a5c6283b79aa6cc5bbf16507c6c93ba6c53b84b6b67d2f133572ce76cb2c8ba4b0957a4fc131ff920e0b34b09aa913d0c9401dc1bfaf76be8235b4f33687 RPi.GPIO-0.6.1.tar.gz" | ||