Skip to content

Instantly share code, notes, and snippets.

@s-kostyuk
Last active March 31, 2016 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s-kostyuk/525ef069f59dc8de318b to your computer and use it in GitHub Desktop.
Save s-kostyuk/525ef069f59dc8de318b to your computer and use it in GitHub Desktop.
# Maintainer: Radek Podgorny <radek@podgorny.cz>
pkgname=python-spidev
pkgver=3.2
pkgrel=1
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/$pkgname"
python setup.py build
}
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment