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

Felix Yan felixonmars at archlinux.org
Wed Apr 19 11:46:45 UTC 2017


    Date: Wednesday, April 19, 2017 @ 11:46:44
  Author: felixonmars
Revision: 223779

upgpkg: python-whelk 2.7.1-1

Modified:
  python-whelk/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-19 09:50:47 UTC (rev 223778)
+++ PKGBUILD	2017-04-19 11:46:44 UTC (rev 223779)
@@ -3,33 +3,33 @@
 
 pkgbase=python-whelk
 pkgname=('python-whelk' 'python2-whelk')
-pkgver=2.7
-pkgrel=2
+pkgver=2.7.1
+pkgrel=1
 pkgdesc="Easy access to shell commands from python"
 arch=('any')
 license=('custom:zlib')
 url="https://pypi.python.org/pypi/whelk"
-makedepends=('python' 'python2' 'git')
-source=("git+https://github.com/seveas/whelk.git#tag=$pkgver")
-sha512sums=('SKIP')
+makedepends=('python' 'python2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/seveas/whelk/archive/$pkgver.tar.gz")
+sha512sums=('39b73ed09a0d2442cdde5b8bae72805571a172c6acfa3f652c8cb125d3a400f2538fe6534179f95383d321e8975b6127115616372c60c736e8cd8ceba00ef093')
 
 prepare() {
-  cp -a whelk{,-py2}
+  cp -a whelk-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/whelk
+  cd "$srcdir"/whelk-$pkgver
   python setup.py build
 
-  cd "$srcdir"/whelk-py2
+  cd "$srcdir"/whelk-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/whelk
+  cd "$srcdir"/whelk-$pkgver
   python -munittest discover
 
-  cd "$srcdir"/whelk-py2
+  cd "$srcdir"/whelk-$pkgver-py2
   python2 -munittest discover
 }
 
@@ -36,7 +36,7 @@
 package_python-whelk() {
   depends=('python')
 
-  cd whelk
+  cd whelk-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
@@ -44,7 +44,7 @@
 package_python2-whelk() {
   depends=('python2')
 
-  cd whelk-py2
+  cd whelk-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }



More information about the arch-commits mailing list