# Description: Swiss Army knife of Python web development
# URL: http://werkzeug.pocoo.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-flit-core python3-installer python3-markupsafe python3-wheel

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

build() {
  cd werkzeug-$version

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