Commit 154adeff authored by Scrumpy Jack's avatar Scrumpy Jack Committed by Timo Teräs

testing/py-rpigpio: new aport

This package provides a class to control the GPIO on a Raspberry Pi
https://pypi.python.org/pypi/RPi.GPIO

ref #5195, [TT: Fix arch, license and whitespace]
parent b514d7e9
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=py-rpigpio
_pkgname=RPi.GPIO
pkgver=0.6.2
pkgrel=0
pkgdesc="This package provides a class to control the GPIO on a Raspberry Pi."
url="https://pypi.python.org/pypi/RPi.GPIO"
arch="armhf"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/R/${_pkgname}/${_pkgname}-${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="9db86fd5f3bae872de9dbb068ee0b096 RPi.GPIO-0.6.2.tar.gz"
sha256sums="82acff0ef6bbe3cdf6f4dbdd73d96add5294bb94baf7f51c1d901861af3c2392 RPi.GPIO-0.6.2.tar.gz"
sha512sums="a6fbea51ffd07d33425f66deb1afcd7c3c7334d9e8a7c7ff793fc41e11a744e31003b9553384f0ac29da6576a071caae269ae6f1a681a9ebc5f7914955d84de1 RPi.GPIO-0.6.2.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment