[arch-commits] Commit in python-kaitaistruct/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Mar 23 02:19:57 UTC 2017


    Date: Thursday, March 23, 2017 @ 02:19:56
  Author: felixonmars
Revision: 218431

upgpkg: python-kaitaistruct 0.7-1

Modified:
  python-kaitaistruct/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-23 01:27:33 UTC (rev 218430)
+++ PKGBUILD	2017-03-23 02:19:56 UTC (rev 218431)
@@ -3,7 +3,7 @@
 
 pkgbase=python-kaitaistruct
 pkgname=('python-kaitaistruct' 'python2-kaitaistruct')
-pkgver=0.6
+pkgver=0.7
 pkgrel=1
 pkgdesc="Kaitai Struct declarative parser generator for binary data: runtime library for Python"
 arch=('any')
@@ -10,18 +10,18 @@
 license=('MIT')
 url="http://kaitai.io"
 makedepends=('python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/kaitai-io/kaitai_struct_python_runtime.git#tag=$pkgver")
-sha512sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/$pkgver.tar.gz")
+sha512sums=('b7b5b1455107a4129615db9fdcf396c7c4655ababbf6c8ccd82a63a9fd93cd549a04f183b235467d7dc989b522f3a1939bb248808c5fb88e8c723ce9b2068047')
 
 prepare() {
-  cp -a kaitai_struct_python_runtime{,-py2}
+  cp -a kaitai_struct_python_runtime-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/kaitai_struct_python_runtime
+  cd "$srcdir"/kaitai_struct_python_runtime-$pkgver
   python setup.py build
 
-  cd "$srcdir"/kaitai_struct_python_runtime-py2
+  cd "$srcdir"/kaitai_struct_python_runtime-$pkgver-py2
   python2 setup.py build
 }
 
@@ -28,7 +28,7 @@
 package_python-kaitaistruct() {
   depends=('python')
 
-  cd kaitai_struct_python_runtime
+  cd kaitai_struct_python_runtime-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 }
 
@@ -35,6 +35,6 @@
 package_python2-kaitaistruct() {
   depends=('python2')
 
-  cd kaitai_struct_python_runtime-py2
+  cd kaitai_struct_python_runtime-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1
 }



More information about the arch-commits mailing list