void-packages/srcpkgs/python3-Werkzeug/template

31 lines
984 B
Bash

# Template file for 'python3-Werkzeug'
pkgname=python3-Werkzeug
version=3.0.1
revision=1
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=d5aed0e7fe61a83cf385c94f7cf7f6c43a7affa7f81ef7b07bd632834756f4dc
pre_check() {
# For some reason, --ignore doesn't work on this file
rm -f tests/conftest.py
}
post_install() {
vlicense LICENSE.rst
}