summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2015-11-05 20:57:20 -0800
committerKyle Manna2015-11-05 20:57:37 -0800
commit70525270c59950aaf7a0539b7b304ad389de126f (patch)
tree4aa0a7dbc422973aa252d297d2561fa1969be9b3
downloadaur-70525270c59950aaf7a0539b7b304ad389de126f.tar.gz
Initial release: v2.0
* Should be good for a while.
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD25
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..45e10b983f6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-intelhex
+ pkgdesc = Python IntelHex library
+ pkgver = 2.0
+ pkgrel = 1
+ url = https://github.com/bialix/intelhex
+ arch = any
+ license = BSD
+ depends = python
+ depends = python-pip
+ source = https://github.com/bialix/intelhex/archive/2.0.tar.gz
+ sha512sums = 770262fba1b032fdc3b4d2b50c239327b8f15286e089a218a48682f2b1b943a680a76b2a0813ee522babc21a8c6289db2244352ed0a5c442c3de55010765e04a
+
+pkgname = python-intelhex
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6faae81e788
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.xz
+*.tar.gz
+/src
+/pkg
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca28e808f43
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
+pkgname=python-intelhex
+_pkgname=${pkgname/python-/}
+pkgver=2.0
+pkgrel=1
+pkgdesc="Python IntelHex library"
+url="https://github.com/bialix/intelhex"
+depends=('python' 'python-pip')
+optdepends=()
+license=('BSD')
+arch=('any')
+source=("https://github.com/bialix/${_pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('770262fba1b032fdc3b4d2b50c239327b8f15286e089a218a48682f2b1b943a680a76b2a0813ee522babc21a8c6289db2244352ed0a5c442c3de55010765e04a')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ rm -rf ${pkgdir}/usr/lib/python3.4/site-packages/tests/
+}
+