Package Details: python-raspberry-gpio 0.6.3-1

Git Clone URL: https://aur.archlinux.org/python-raspberry-gpio.git (read-only)
Package Base: python-raspberry-gpio
Description: Python library for GPIO access on a Raspberry Pi
Upstream URL: http://sourceforge.net/projects/raspberry-gpio-python/
Licenses: MIT
Submitter: mickybart
Maintainer: mdevaev
Last Packager: mdevaev
Votes: 8
Popularity: 0.113673
First Submitted: 2013-05-11 19:27
Last Updated: 2016-11-30 14:46

Latest Comments

mercutio commented on 2016-11-29 20:06

For the newest version I had to change the URL scheme to use files.pythonhosted.org (see https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package#comment-27719890 ):

pkgver="0.6.3"

...

source=("https://files.pythonhosted.org/packages/source/R/RPi.GPIO/RPi.GPIO-$pkgver.tar.gz")
md5sums=("e4abe1cfb5eacebe53078032256eb837")

mdevaev commented on 2015-07-20 21:14

No problems, dude :-)

grubernd commented on 2015-07-20 20:53

i didnt forget, i just had to triage my time. since installing these packages works better via pip i decided for this to happen Later™. thank you for having more time than me. =)

mdevaev commented on 2015-07-20 20:45

I will maintain this package. I think grubernd forgot about it.

mickybart commented on 2015-02-18 20:45

Guys, I will orphan both RPi.GPIO packages. grubernd will be the maintainer. Thanks to him.

grubernd commented on 2015-02-18 18:48

pkgver=0.5.11
md5sums=('9dc3dab6ce2b7ccb833a866efb392821')

also.. if changing the arch from "any" to "armv6h" please also add the "armv7h" for the Raspberry Pi 2 B.

ahstro commented on 2015-01-05 17:52

So here's a PKGBUILD for version 0.5.9, the latest as of writing this.
The diff is basically just changing build() to package() and fixing the md5sum.

pkgname=python-raspberry-gpio
pkgver=0.5.9
pkgrel=1
pkgdesc="Python library for GPIO access on a Raspberry Pi"
arch=('any')
url="https://sourceforge.net/projects/raspberry-gpio-python/"
license=('MIT')
depends=('python')
makedepends=('python-distribute')
source=("https://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-$pkgver.tar.gz")
md5sums=('54ea6ef33502d43e3a89713593315e5a')

package() {
cd "$srcdir/RPi.GPIO-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
}

mickybart commented on 2014-06-17 21:47

Sorry guys for the delay ! I have not my raspberry available at this time.
I have updated the PKGBUILD.

The arch is still "any". I will change that when I have my rasp to generate the package. This is not an issue because import of RPi.GPIO will just trigger an error :

>>> import RPi.GPIO
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: This module can only be run on a Raspberry Pi!

But I will do this arch change as soon as possible.

Thanks to everybody for the PKGBUILD update on comments.

drunkenmonkey commented on 2014-06-13 10:47

#In case anyone wants it, this finds and installs the newest version. No md5sums obviously.

pkgname=python-raspberry-gpio

# Gets latest version from pypi.python.org.
pkgver=$(list=$(wget -O- https://pypi.python.org/packages/source/R/RPi.GPIO/ | egrep -o 'RPi.GPIO-[0-9\.]+.tar.gz' | sort | uniq); echo $list | awk '{ print $(NF) }' | sed 's|RPi.GPIO-\(.*\).tar.gz|\1|')

# Replace with required version if you want. ie. pkgver=0.5.5

pkgrel=1
pkgdesc="Python library for GPIO access on a Raspberry Pi"
arch=('armv6h')
url="http://sourceforge.net/projects/raspberry-gpio-python/"
license=('MIT')
depends=('python')
makedepends=('python-distribute')
source=(http://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-$pkgver.tar.gz)
md5sums=('SKIP')
build() {


# Needed for downloading files. You can remove this bit if you download manually.
cd $srcdir
wget $source
tar -zxvf RPi.GPIO-$pkgver.tar.gz

# Install
cd $srcdir/RPi.GPIO-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
}

hydranix commented on 2014-06-06 06:12

# Fixed for anyone who needs it
pkgname=python-raspberry-gpio
pkgver=0.5.5
pkgrel=1
pkgdesc="Python library for GPIO access on a Raspberry Pi"
arch=('armv6h')
url="http://code.google.com/p/raspberry-gpio-python/"
license=('MIT')
depends=('python')
makedepends=('python-distribute')
source=(http://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-$pkgver.tar.gz)
md5sums=('8cbc1cb0c0f1a4d93bf1efe1a745f1f0')
build() {
cd $srcdir/RPi.GPIO-$pkgver
python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1
}

All comments