[arch-commits] Commit in python-flask-security-too/trunk (PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Thu Mar 24 18:48:42 UTC 2022
Date: Thursday, March 24, 2022 @ 18:48:42
Author: anthraxx
Revision: 1174926
upgpkg: python-flask-security-too 4.1.3-1
Modified:
python-flask-security-too/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-24 18:46:32 UTC (rev 1174925)
+++ PKGBUILD 2022-03-24 18:48:42 UTC (rev 1174926)
@@ -2,8 +2,8 @@
_pkgname=flask-security
pkgname=python-flask-security-too
-pkgver=4.0.1
-pkgrel=4
+pkgver=4.1.3
+pkgrel=1
pkgdesc='Quick and simple security for Flask applications'
url='https://github.com/jwag956/flask-security'
arch=('any')
@@ -14,13 +14,15 @@
makedepends=('python-flask' 'python-flask-login' 'python-flask-mail' 'python-flask-principal'
'python-flask-wtf' 'python-flask-babelex' 'python-itsdangerous' 'python-passlib'
'python-sphinx' 'python-setuptools' 'python-pallets-sphinx-themes' 'python-sphinx-issues')
-#checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-cov' 'python-pytest-cache'
- #'python-mock' 'python-sqlalchemy' 'python-flask-sqlalchemy' 'python-bcrypt' 'python-pony')
+checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-cov' 'python-peewee'
+ 'python-mock' 'python-sqlalchemy' 'python-flask-sqlalchemy' 'python-bcrypt' 'python-pony'
+ 'python-flask-babel' 'python-zxcvbn' 'python-cryptography' 'python-pyqrcode' 'python-bleach'
+ 'python-phonenumbers' 'python-argon2_cffi')
provides=('python-flask-security')
conflicts=('python-flask-security')
source=(https://github.com/jwag956/flask-security/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('ea541cb40679432dea67ffc0bc640147c518e07b7e83a01e3beacc156d0a9198a33da3f458a9219b04148c011f1a26f1a4019a216904239efea3b57e65f3cb45')
-b2sums=('38e352dab5fe687211240011d844a1d5f6c0b5fcbb10752960f7ff5de14f5aa2e30ed9bdadda6684a3bc99e176edb7b8937d99322b4c131e22e87b273896c391')
+sha512sums=('92a0e7fce95eb4eb04baa9a11ee88ab3b8e88952aa6300bf8245cecfcc90657c83bbe93e1c3b19d62642a346b30f5912dd424e59a81023637f3183a61e8cf91c')
+b2sums=('ef4b270d62de75fdcf51d1247960df85deca1699fdbfb73592a5711f9bb56f71a2f2de12a8d8c0eccdaccfef11a578cf9bd9abbf52bdacfe4bfc10f9adda0acc')
prepare() {
cd ${_pkgname}-${pkgver}
@@ -35,15 +37,15 @@
build() {
cd ${_pkgname}-${pkgver}
python setup.py build
+ python setup.py compile_catalog
sphinx-build -b text docs docs/_build/text
sphinx-build -b man docs docs/_build/man
}
-# TODO: test marks not compatible with latest pytest
-#check() {
- #cd ${_pkgname}-${pkgver}
- #PYTHONPATH=. py.test
-#}
+check() {
+ cd ${_pkgname}-${pkgver}
+ PYTHONPATH=build/lib pytest
+}
package() {
cd ${_pkgname}-${pkgver}
More information about the arch-commits
mailing list