python3-Flask: update to 2.0.1.

Also fix tests (by ericonr).

Closes: #31243 [via git-merge-pr]
This commit is contained in:
Pulux 2021-06-01 19:34:09 +02:00 committed by Érico Nogueira
parent 6550b7936c
commit ba61308af7

View file

@ -1,22 +1,25 @@
# Template file for 'python3-Flask'
pkgname=python3-Flask
version=1.1.2
revision=3
version=2.0.1
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-Jinja2 python3-Werkzeug
python3-itsdangerous python3-click"
checkdepends="${depends}
python3-pytest python3-hypothesis"
checkdepends="${depends} python3-pytest python3-hypothesis"
short_desc="Python3 web microframework"
maintainer="Markus Berger <pulux@pf4sh.de>"
license="BSD-3-Clause"
homepage="http://flask.pocoo.org"
distfiles="${PYPI_SITE}/F/Flask/Flask-${version}.tar.gz"
checksum=4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060
checksum=1c4c257b1892aec1398784c63791cbaa43062f1f7aeb555c4da961b20ee68f55
conflicts="python-Flask>=0"
do_check() {
PYTHONPATH=src/ python3 -m pytest
}
post_install() {
vlicense LICENSE.rst
}