diff --git a/srcpkgs/python3-Flask/template b/srcpkgs/python3-Flask/template index e761c1104c9..699115bfcd9 100644 --- a/srcpkgs/python3-Flask/template +++ b/srcpkgs/python3-Flask/template @@ -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 " 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 }