void-packages/srcpkgs/python3-Werkzeug/template
Pulux 26282598c2 python3-Werkzeug: update to 2.0.3.
Closes: #36337 [via git-merge-pr]
2022-04-07 10:03:47 -04:00

27 lines
894 B
Bash

# Template file for 'python3-Werkzeug'
pkgname=python3-Werkzeug
version=2.0.3
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest python3-hypothesis python3-requests"
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/"
distfiles="${PYPI_SITE}/W/Werkzeug/Werkzeug-${version}.tar.gz"
checksum=b863f8ff057c522164b6067c9e28b041161b4be5ba4d0daceeaa50a163822d3c
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
}