summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2016-04-27 07:45:19 -0700
committerKyle Manna2016-04-27 07:45:19 -0700
commit6abdf719fd82ec961955eb91ed92f6eb84934dcf (patch)
tree1f3a74136e5852fd2a12259237020d7fc2d9f96e
parent70525270c59950aaf7a0539b7b304ad389de126f (diff)
downloadaur-6abdf719fd82ec961955eb91ed92f6eb84934dcf.tar.gz
release: python-intelhex v2.1-1
* Follow upstream.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD21
2 files changed, 22 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 45e10b983f6..b500a00b271 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
+# Generated by mksrcinfo v8
+# Wed Apr 27 14:44:55 UTC 2016
pkgbase = python-intelhex
pkgdesc = Python IntelHex library
- pkgver = 2.0
+ pkgver = 2.1
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
+ depends = python-setuptools
+ source = https://github.com/bialix/intelhex/archive/2.1.tar.gz
+ sha512sums = af5ee3cb7424d15cf259861dcedf6ca68ecfae0819cb9f5c3437a1c8ff8c2f03486dd9f12b93564a5e2f4b7bab4c055a44c6dbe2a86007165412336bd2a4554f
pkgname = python-intelhex
diff --git a/PKGBUILD b/PKGBUILD
index ca28e808f43..14e7cb02eda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
pkgname=python-intelhex
_pkgname=${pkgname/python-/}
-pkgver=2.0
+pkgver=2.1
pkgrel=1
pkgdesc="Python IntelHex library"
url="https://github.com/bialix/intelhex"
-depends=('python' 'python-pip')
+depends=('python' 'python-setuptools')
optdepends=()
license=('BSD')
arch=('any')
source=("https://github.com/bialix/${_pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('770262fba1b032fdc3b4d2b50c239327b8f15286e089a218a48682f2b1b943a680a76b2a0813ee522babc21a8c6289db2244352ed0a5c442c3de55010765e04a')
+sha512sums=('af5ee3cb7424d15cf259861dcedf6ca68ecfae0819cb9f5c3437a1c8ff8c2f03486dd9f12b93564a5e2f4b7bab4c055a44c6dbe2a86007165412336bd2a4554f')
build() {
cd "$srcdir/$_pkgname-$pkgver"
@@ -19,7 +19,18 @@ build() {
package() {
cd "$srcdir/$_pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
- rm -rf ${pkgdir}/usr/lib/python3.4/site-packages/tests/
+ python setup.py install --root="$pkgdir" --optimize=1
+ rm -rf ${pkgdir}/usr/lib/python*/site-packages/tests/
+
+ # Only install command line tools with python2-intelhex version
+ rm -rf ${pkgdir}/usr/bin
}
+#package_python2-intelhex() {
+# cd "$srcdir/$_pkgname-$pkgver"
+# python setup.py install --root="$pkgdir" --optimize=1
+# rm -rf ${pkgdir}/usr/lib/python*/site-packages/tests/
+#
+# # Only install command line tools with python3 version
+# rm -rf ${pkgdir}/usr/bin
+#}