# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=py-rpigpio _pkgname=RPi.GPIO pkgver=0.6.2 pkgrel=1 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="python2" makedepends="python2-dev py-setuptools" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_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 py-rpigpio-0.6.2.tar.gz" sha256sums="82acff0ef6bbe3cdf6f4dbdd73d96add5294bb94baf7f51c1d901861af3c2392 py-rpigpio-0.6.2.tar.gz" sha512sums="a6fbea51ffd07d33425f66deb1afcd7c3c7334d9e8a7c7ff793fc41e11a744e31003b9553384f0ac29da6576a071caae269ae6f1a681a9ebc5f7914955d84de1 py-rpigpio-0.6.2.tar.gz"