From 838bb6bc1544cad96fc43b7fe0c2d3e406eab332 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 17 May 2021 21:45:57 -0400 Subject: [PATCH] python3-Werkzeug: update to 2.0.1. --- srcpkgs/python3-Werkzeug/template | 16 +++++++++++----- srcpkgs/python3-Werkzeug/update | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/python3-Werkzeug/update diff --git a/srcpkgs/python3-Werkzeug/template b/srcpkgs/python3-Werkzeug/template index 328535e25fb..acf4629d74a 100644 --- a/srcpkgs/python3-Werkzeug/template +++ b/srcpkgs/python3-Werkzeug/template @@ -1,19 +1,25 @@ # Template file for 'python3-Werkzeug' pkgname=python3-Werkzeug -version=1.0.1 -revision=3 +version=2.0.1 +revision=1 wrksrc="${pkgname#*-}-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" -checkdepends=" -python3-pytest python3-hypothesis python3-requests" +checkdepends="python3-pytest python3-hypothesis python3-requests" short_desc="Swiss Army knife of Python web development (Python3)" maintainer="Markus Berger " license="BSD-3-Clause" homepage="https://palletsprojects.com/p/werkzeug/" distfiles="${PYPI_SITE}/W/Werkzeug/Werkzeug-${version}.tar.gz" -checksum=6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c +checksum=1de1db30d010ff1af14a009224ec49ab2329ad2cde454c8a708130642d579c42 + +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 diff --git a/srcpkgs/python3-Werkzeug/update b/srcpkgs/python3-Werkzeug/update new file mode 100644 index 00000000000..e299d00ea67 --- /dev/null +++ b/srcpkgs/python3-Werkzeug/update @@ -0,0 +1 @@ +ignore="*rc*"