diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-11 20:16:07 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-11 20:16:07 (GMT) |
commit | c4cb82665aac0540618c1c84c887cdb3357fd9ef (patch) | |
tree | a8f09b5a0935d3f896aeb39dc47a3a8d92b1b47e /abs/core/python_modules | |
parent | 2ee2839de9bc01dc2591f75b65eb1a3cf57b7a96 (diff) | |
download | linhes_pkgbuild-c4cb82665aac0540618c1c84c887cdb3357fd9ef.zip linhes_pkgbuild-c4cb82665aac0540618c1c84c887cdb3357fd9ef.tar.gz linhes_pkgbuild-c4cb82665aac0540618c1c84c887cdb3357fd9ef.tar.bz2 |
python-flask-login: update to 0.4.1
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r-- | abs/core/python_modules/python-flask-login/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/core/python_modules/python-flask-login/__changelog | 1 |
2 files changed, 14 insertions, 14 deletions
diff --git a/abs/core/python_modules/python-flask-login/PKGBUILD b/abs/core/python_modules/python-flask-login/PKGBUILD index 06d268f..23e4d9c 100644 --- a/abs/core/python_modules/python-flask-login/PKGBUILD +++ b/abs/core/python_modules/python-flask-login/PKGBUILD @@ -2,27 +2,28 @@ # Maintainer: Felix Yan <felixonmars@archlinux.org> pkgbase=python-flask-login -pkgname=('python2-flask-login') -pkgver=0.4.0 -pkgrel=2 +pkgname=('python2-flask-login' 'python-flask-login') +pkgver=0.4.1 +pkgrel=1 pkgdesc="User session management for Flask." arch=('any') url="https://pythonhosted.org/Flask-Login/" license=('MIT') -makedepends=('python2-setuptools' 'python2-flask' 'git') -checkdepends=('python2-nose' 'python2-mock' '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 -# nosetests3 + 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 @@ check() { 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_python-flask-login() { 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 diff --git a/abs/core/python_modules/python-flask-login/__changelog b/abs/core/python_modules/python-flask-login/__changelog deleted file mode 100644 index 60db758..0000000 --- a/abs/core/python_modules/python-flask-login/__changelog +++ /dev/null @@ -1 +0,0 @@ -PKGBUILD: remove py3 stuff |