summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Giniewicz2015-09-14 11:09:24 +0200
committerAndrzej Giniewicz2015-09-14 11:09:24 +0200
commitb423b6bf8e5bf96979f528ee646a75eed07a35ef (patch)
tree9d055e7c42c669cdb8ab4a26b7ee5a194fde2180
downloadaur-python-pyfirmata.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6c3048fc675
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-pyfirmata
+ pkgdesc = Python interface for the Firmata
+ pkgver = 1.0.3
+ pkgrel = 1
+ url = https://github.com/tino/pyFirmata
+ arch = any
+ license = MIT
+ makedepends = python-distribute
+ depends = python-pyserial
+ options = !emptydirs
+ source = https://github.com/tino/pyFirmata/archive/1.0.3.tar.gz
+ md5sums = d391cf2975c6a48590d4727a3ce85eae
+
+pkgname = python-pyfirmata
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..47c69839948
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+pkgname=python-pyfirmata
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Python interface for the Firmata"
+arch=('any')
+url="https://github.com/tino/pyFirmata"
+license=('MIT')
+depends=('python-pyserial')
+makedepends=('python-distribute')
+options=(!emptydirs)
+
+source=("https://github.com/tino/pyFirmata/archive/${pkgver}.tar.gz")
+md5sums=('d391cf2975c6a48590d4727a3ce85eae')
+
+build() {
+ cd "$srcdir"/pyFirmata-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/pyFirmata-$pkgver
+
+ python setup.py install --root="$pkgdir"/ --optimize=1
+
+ install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+