[arch-commits] Commit in python-flask-login/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Dec 6 06:10:44 UTC 2017
Date: Wednesday, December 6, 2017 @ 06:10:42
Author: felixonmars
Revision: 272450
upgpkg: python-flask-login 0.4.1-1
Modified:
python-flask-login/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-06 06:08:16 UTC (rev 272449)
+++ PKGBUILD 2017-12-06 06:10:42 UTC (rev 272450)
@@ -3,26 +3,27 @@
pkgbase=python-flask-login
pkgname=('python2-flask-login' 'python-flask-login')
-pkgver=0.4.0
-pkgrel=2
+pkgver=0.4.1
+pkgrel=1
pkgdesc="User session management for Flask."
arch=('any')
url="https://pythonhosted.org/Flask-Login/"
license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-flask' 'python2-flask' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-blinker' 'python2-blinker')
-source=("git+https://github.com/maxcountryman/flask-login.git#tag=$pkgver")
-md5sums=('SKIP')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-flask' 'python2-flask')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-blinker'
+ 'python2-blinker' 'python-semantic-version' 'python2-semantic-version')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/maxcountryman/flask-login/archive/$pkgver.tar.gz")
+sha512sums=('c87a2948ac37439ddd76f3f11584bdd5910cb00e96a7400343cf4dadc5a0f9bc84d40bdc068d2e8c05bd5a510046e18473e9ad71502c5039a5f05b371ce9bb4c')
prepare() {
- cp -a flask-login{,-py2}
+ cp -a flask-login-$pkgver{,-py2}
}
check() {
- cd "$srcdir"/flask-login
+ cd "$srcdir"/flask-login-$pkgver
nosetests3
- cd "$srcdir"/flask-login-py2
+ cd "$srcdir"/flask-login-$pkgver-py2
# https://github.com/maxcountryman/flask-login/issues/232
nosetests2 || warning "Tests failed"
}
@@ -30,7 +31,7 @@
package_python-flask-login() {
depends=('python-flask')
- cd flask-login
+ cd flask-login-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
@@ -40,7 +41,7 @@
package_python2-flask-login() {
depends=('python2-flask')
- cd flask-login-py2
+ cd flask-login-$pkgver-py2
python2 setup.py install --root="$pkgdir" --optimize=1
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
More information about the arch-commits
mailing list