diff --git a/srcpkgs/python3-Werkzeug/template b/srcpkgs/python3-Werkzeug/template index 22aee999309..8678180b3ad 100644 --- a/srcpkgs/python3-Werkzeug/template +++ b/srcpkgs/python3-Werkzeug/template @@ -1,9 +1,15 @@ # Template file for 'python3-Werkzeug' pkgname=python3-Werkzeug -version=2.2.2 -revision=3 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=2.3.7 +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)" @@ -11,14 +17,12 @@ maintainer="Markus Berger " 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 +distfiles="https://github.com/pallets/werkzeug/archive/${version}.tar.gz" +checksum=d9a68679b430e099b668a61130f1eb6e6768ac663a8667745ad637955ca1dd9d -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' +pre_check() { + # For some reason, --ignore doesn't work on this file + rm -f tests/conftest.py } post_install() {