27 lines
962 B
Bash
27 lines
962 B
Bash
# Template file for 'python3-Werkzeug'
|
|
pkgname=python3-Werkzeug
|
|
version=2.2.2
|
|
revision=3
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-MarkupSafe"
|
|
checkdepends="python3-pytest python3-hypothesis python3-requests ${depends}"
|
|
short_desc="Swiss Army knife of Python web development (Python3)"
|
|
maintainer="Markus Berger <pulux@pf4sh.de>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://palletsprojects.com/p/werkzeug/"
|
|
changelog="https://raw.githubusercontent.com/pallets/werkzeug/main/CHANGES.rst"
|
|
distfiles="${PYPI_SITE}/W/Werkzeug/Werkzeug-${version}.tar.gz"
|
|
checksum=7ea2d48322cc7c0f8b3a215ed73eabd7b5d75d0b50e31ab006286ccff9e00b8f
|
|
|
|
do_check() {
|
|
# Tests depend on xprocess and pytest-timeout, which aren't packaged
|
|
# For some reason, --ignore doesn't work
|
|
rm -f tests/conftest.py tests/test_debug.py tests/test_serving.py
|
|
PYTHONPATH=src python3 -m pytest tests -k 'not test_http_proxy'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst
|
|
}
|