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

Felix Yan felixonmars at archlinux.org
Wed Jul 13 00:23:31 UTC 2016


    Date: Wednesday, July 13, 2016 @ 00:23:31
  Author: felixonmars
Revision: 182813

upgpkg: python-whoosh 2.7.4-1

Modified:
  python-whoosh/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-13 00:23:24 UTC (rev 182812)
+++ PKGBUILD	2016-07-13 00:23:31 UTC (rev 182813)
@@ -5,7 +5,7 @@
 
 pkgbase=python-whoosh
 pkgname=(python-whoosh python2-whoosh)
-pkgver=2.7.0
+pkgver=2.7.4
 pkgrel=1
 pkgdesc="Fast, pure-Python full text indexing, search, and spell checking library"
 arch=('any')
@@ -21,18 +21,18 @@
 }
 
 build() {
-  cd "$srcdir/whoosh"
+  cd "$srcdir"/whoosh
   python setup.py build
 
-  cd "$srcdir/whoosh-py2"
+  cd "$srcdir"/whoosh-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/whoosh"
-  python setup.py ptr || warning "Tests failed"
+  cd "$srcdir"/whoosh
+  python setup.py ptr
 
-  cd "$srcdir/whoosh-py2"
+  cd "$srcdir"/whoosh-py2
   python2 setup.py ptr || warning "Tests failed"
 }
 
@@ -39,15 +39,15 @@
 package_python-whoosh() {
   depends=('python')
 
-  cd "${srcdir}/whoosh"
-  python setup.py install -O1 --root="${pkgdir}"
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  cd whoosh
+  python setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }
 
 package_python2-whoosh() {
   depends=('python2')
 
-  cd "${srcdir}/whoosh-py2"
-  python2 setup.py install -O1 --root="${pkgdir}"
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  cd whoosh-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
 }



More information about the arch-commits mailing list