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

Felix Yan felixonmars at archlinux.org
Fri Oct 28 02:40:48 UTC 2016


    Date: Friday, October 28, 2016 @ 02:40:47
  Author: felixonmars
Revision: 193827

upgpkg: python-flask-login 0.4.0-1

Modified:
  python-flask-login/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-28 02:38:49 UTC (rev 193826)
+++ PKGBUILD	2016-10-28 02:40:47 UTC (rev 193827)
@@ -3,7 +3,7 @@
 
 pkgbase=python-flask-login
 pkgname=('python2-flask-login' 'python-flask-login')
-pkgver=0.3.2
+pkgver=0.4.0
 pkgrel=1
 pkgdesc="User session management for Flask."
 arch=('any')
@@ -19,10 +19,10 @@
 }
 
 check() {
-  cd "$srcdir/flask-login"
+  cd "$srcdir"/flask-login
   nosetests3
 
-  cd "$srcdir/flask-login-py2"
+  cd "$srcdir"/flask-login-py2
   # https://github.com/maxcountryman/flask-login/issues/232
   nosetests2 || warning "Tests failed"
 }
@@ -31,7 +31,7 @@
   depends=('python-flask')
 
   cd flask-login
-  python setup.py install --root="$pkgdir/" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1
 
   mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
   install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
@@ -41,7 +41,7 @@
   depends=('python2-flask')
 
   cd flask-login-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
+  python2 setup.py install --root="$pkgdir" --optimize=1
 
   mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
   install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname



More information about the arch-commits mailing list