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

Felix Yan felixonmars at archlinux.org
Mon Oct 24 00:52:30 UTC 2016


    Date: Monday, October 24, 2016 @ 00:52:30
  Author: felixonmars
Revision: 279193

upgpkg: python-beaker 1.8.1-1

Modified:
  python-beaker/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-23 21:02:29 UTC (rev 279192)
+++ PKGBUILD	2016-10-24 00:52:30 UTC (rev 279193)
@@ -5,7 +5,7 @@
 
 pkgbase=python-beaker
 pkgname=('python-beaker' 'python2-beaker')
-pkgver=1.8.0
+pkgver=1.8.1
 pkgrel=1
 arch=('any')
 license=('custom')
@@ -26,20 +26,20 @@
 }
 
 build() {
-    cd "${srcdir}/beaker"
+    cd "$srcdir"/beaker
     python3 setup.py build
 
-    cd "${srcdir}/beaker-py2"
+    cd "$srcdir"/beaker-py2
     python2 setup.py build
 }
 
 check() {
-    cd "${srcdir}/beaker"
+    cd "$srcdir"/beaker
     mkdir tests_py3
     2to3 -w -n -o tests_py3 tests/*.py
     PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3 --py3where=tests_py3
 
-    cd "${srcdir}/beaker-py2"
+    cd "$srcdir"/beaker-py2
     PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
 }
 
@@ -46,15 +46,15 @@
 package_python-beaker() {
     depends=('python')
 
-    cd "${srcdir}/beaker"
-    python3 setup.py install --root="${pkgdir}" --optimize=1
-    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-beaker/LICENSE"
+    cd beaker
+    python3 setup.py install --root="$pkgdir" --optimize=1
+    install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python-beaker/LICENSE
 }
 
 package_python2-beaker() {
     depends=('python2')
 
-    cd "${srcdir}/beaker-py2"
-    python2 setup.py install --root="${pkgdir}" --optimize=1
-    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-beaker/LICENSE"
+    cd beaker-py2
+    python2 setup.py install --root="$pkgdir" --optimize=1
+    install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/python2-beaker/LICENSE
 }



More information about the arch-commits mailing list