# Contributor: # Maintainer: Drew DeVault pkgname=py3-flask _pkgname=Flask pkgver=2.0.1 pkgrel=0 pkgdesc="web development microframework" url="http://flask.pocoo.org/" arch="noarch" license="MIT" depends="python3 py3-click py3-itsdangerous py3-jinja2 py3-werkzeug" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pluggy" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # Remove in 2.0.1 replaces="py-flask" # Backwards compatibility provides="py-flask=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { PYTHONPATH="$PWD/build/lib" py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" fefed4971f0542b25ba2867919aa54a83b6e3f47e7cee94586543843e7e00ba209ac15d8fe28a3c53981f587aebcf2f3915a49e1a9cd1b729099dccbed3783c2 Flask-2.0.1.tar.gz "