[arch-commits] Commit in python-flask-login/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jan 6 11:55:17 UTC 2020
Date: Monday, January 6, 2020 @ 11:55:16
Author: arojas
Revision: 549708
Rebuild to fix dependencies on archweb
Modified:
python-flask-login/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-06 11:51:19 UTC (rev 549707)
+++ PKGBUILD 2020-01-06 11:55:16 UTC (rev 549708)
@@ -2,7 +2,7 @@
pkgname=python-flask-login
pkgver=0.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="User session management for Flask."
arch=('any')
url="https://pythonhosted.org/Flask-Login/"
@@ -10,9 +10,16 @@
depends=('python-flask')
makedepends=('python-setuptools')
checkdepends=('python-nose' 'python-mock' 'python-blinker' 'python-semantic-version')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/maxcountryman/flask-login/archive/$pkgver.tar.gz")
-sha512sums=('c87a2948ac37439ddd76f3f11584bdd5910cb00e96a7400343cf4dadc5a0f9bc84d40bdc068d2e8c05bd5a510046e18473e9ad71502c5039a5f05b371ce9bb4c')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/maxcountryman/flask-login/archive/$pkgver.tar.gz"
+ python-flask-login-fix-test.patch::"https://github.com/maxcountryman/flask-login/commit/5931bd5c.patch")
+sha512sums=('c87a2948ac37439ddd76f3f11584bdd5910cb00e96a7400343cf4dadc5a0f9bc84d40bdc068d2e8c05bd5a510046e18473e9ad71502c5039a5f05b371ce9bb4c'
+ '4a59d2a59c556f4d00684456d43a3a8f1bd06fbcf75b7037a0d52817b4227083e82538a8e6fb86055558b3f89b681db8a15c125102fa7df7534aaf29a856fff0')
+prepare() {
+ cd flask-login-$pkgver
+ patch -p1 -i ../python-flask-login-fix-test.patch # Fix X-Forwarded-Host test
+}
+
check() {
cd "$srcdir"/flask-login-$pkgver
nosetests3
More information about the arch-commits
mailing list