void-packages/srcpkgs/python3-Werkzeug/template

31 lines
984 B
Bash

# Template file for 'python3-Werkzeug'
pkgname=python3-Werkzeug
version=2.3.7
revision=2
build_style=python3-pep517
# Some tests depend on unpackaged dependencies
make_check_args="
--ignore=tests/test_debug.py
--ignore=tests/middleware/test_http_proxy.py
--ignore=tests/test_serving.py
"
hostmakedepends="python3-flit_core"
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="https://github.com/pallets/werkzeug/archive/${version}.tar.gz"
checksum=d9a68679b430e099b668a61130f1eb6e6768ac663a8667745ad637955ca1dd9d
pre_check() {
# For some reason, --ignore doesn't work on this file
rm -f tests/conftest.py
}
post_install() {
vlicense LICENSE.rst
}