2022-03-27 19:10:37 +02:00
|
|
|
# Description: Micro webdevelopment framework for Python
|
|
|
|
# URL: https://flask.palletsprojects.com/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-06-29 18:04:02 +02:00
|
|
|
# Depends on: python3-click python3-importlib_metadata python3-itsdangerous python3-jinja2 python3-werkzeug
|
2022-03-27 19:10:37 +02:00
|
|
|
|
|
|
|
name=python3-flask
|
2023-04-28 17:20:54 +02:00
|
|
|
version=2.3.1
|
2022-03-27 19:10:37 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/pallets/flask/archive/$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd flask-$version
|
2023-04-28 17:20:54 +02:00
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2022-03-27 19:10:37 +02:00
|
|
|
}
|