Package Details: python-spidev 3.2-1

Git Clone URL: https://aur.archlinux.org/python-spidev.git (read-only)
Package Base: python-spidev
Description: Python bindings for Linux SPI access through spidev
Upstream URL: https://github.com/doceme/py-spidev
Licenses: GPL
Submitter: rpodgorny
Maintainer: rpodgorny
Last Packager: rpodgorny
Votes: 1
Popularity: 0.005331
First Submitted: 2014-02-09 18:12
Last Updated: 2016-04-21 12:20

Latest Comments

razer commented on 2016-10-23 17:02

Need change in path to get it building and installing (see cd commands below)

# Maintainer: Radek Podgorny <radek@podgorny.cz>

pkgname=python-spidev
pkgver=3.2
pkgrel=2
pkgdesc="Python bindings for Linux SPI access through spidev"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/doceme/py-spidev"
license=('GPL')
depends=('python')
source=('https://pypi.python.org/packages/source/s/spidev/spidev-3.2.tar.gz')
md5sums=('f601676f1bb48b9aa3b3897f95216365')

build() {
cd "$srcdir/spidev-$pkgver"
python setup.py build
}

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

rpodgorny commented on 2016-04-21 12:21

@srgk: thanks for the new pkgbuild!

srgk commented on 2016-03-31 20:10

Proposed new PKGBUILD file: https://gist.github.com/s-kostyuk/525ef069f59dc8de318b. Version 3.2, sources from pypi

GloW commented on 2016-03-20 11:26

this is not the official spidev upstream, and it is not working with this lib :
https://github.com/tinue/APA102_Pi

When the official upstream python package is:
https://pypi.python.org/pypi/spidev

rpodgorny commented on 2014-02-09 18:12

forked from python2-spidev (not only the pkgbuild but also the github repository as well).