# Description: Micro webdevelopment framework for Python
# URL: https://flask.palletsprojects.com/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-click python3-importlib_metadata python3-itsdangerous python3-jinja2 python3-werkzeug

name=python3-flask
version=2.3.2
release=1
source=(https://github.com/pallets/flask/archive/$version/$name-$version.tar.gz)

build() {
  cd flask-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
