summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Czernia2016-08-31 16:02:34 +0200
committerNils Czernia2016-08-31 16:02:34 +0200
commita3d5da0bd48c3c6eeac9868f5fac956018947c77 (patch)
tree04da3d860eb367d58742b3e25faaa2d1107a8686
downloadaur-a3d5da0bd48c3c6eeac9868f5fac956018947c77.tar.gz
Initial commit. Package is NOT productivegit add .git add .
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD24
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..419e8b337de
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Wed Aug 31 14:02:11 UTC 2016
+pkgbase = python-pya20
+ pkgdesc = A python package for controling GPIO pins, I2C and SPI buses of The A20-OLinuXino-MICRO from Olimex
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = https://www.olimex.com/wiki/A20-OLinuXino-MICRO
+ arch = i686
+ arch = x86_64
+ license = BSD
+ depends = python>=3.1
+ source = http://pypi.python.org/packages/source/p/pyA20/pyA20-0.2.1.tar.gz
+ sha256sums = b15e4ee1016b7eb52001cbccde3751868624a88d2adbb9adc5404628f7e59e7e
+
+pkgname = python-pya20
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f71c635dafd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..21197b319ca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Nils Czernia <nils [at] czserver.de>
+
+_name=pyA20
+pkgname=python-pya20
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="A python package for controling GPIO pins, I2C and SPI buses of The A20-OLinuXino-MICRO from Olimex"
+url="https://www.olimex.com/wiki/A20-OLinuXino-MICRO"
+license=('BSD')
+arch=('i686' 'x86_64')
+source=("http://pypi.python.org/packages/source/p/${_name}/${_name}-$pkgver.tar.gz")
+sha256sums=('b15e4ee1016b7eb52001cbccde3751868624a88d2adbb9adc5404628f7e59e7e')
+
+depends=('python>=3.1')
+
+build() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_name}-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}"
+}