* update python-werkzeug to 3.0.1-1

This commit is contained in:
Alexander Baldeck 2024-05-10 08:26:01 +02:00
parent f962134c7a
commit 674fcdf9ea

View File

@ -6,7 +6,7 @@
# Contributor: Richard Murri
pkgname=python-werkzeug
pkgver=2.3.8
pkgver=3.0.1
pkgrel=1
pkgdesc='Swiss Army knife of Python web development'
url='https://werkzeug.palletsprojects.com/'
@ -17,8 +17,14 @@ makedepends=('python-build' 'python-installer' 'python-flit-core')
checkdepends=('python-pytest' 'python-pytest-timeout' 'python-pytest-xprocess' 'python-requests'
'python-ephemeral-port-reserve' 'python-greenlet' 'python-watchdog'
'python-cryptography')
source=("https://github.com/pallets/werkzeug/archive/${pkgver}/$pkgname-$pkgver.tar.gz")
sha512sums=('56cf12071ca7aa99897ea3c23af699a32db6da00ce0963228c965e3f84060ea83c7365054e2ad53d7930d7472eaca6821e610815871a24a4257eaa18f19a5423')
source=("https://github.com/pallets/werkzeug/archive/${pkgver}/$pkgname-$pkgver.tar.gz"
https://github.com/pallets/werkzeug/commit/4e5bdca7.patch)
sha512sums=('125a5c7680cba726149198802efa90d06c6586daeafcd0960feda637b765356f602df83af7b14996994303c52d32bc6fa044b774f42f0b8991008d1396675033'
'eddd871dfe1faf3b2ab35dac32fe991ee26679eb6116fe6290e7a20f2abe430a025b0345b39137746c05c0da79f555ca10d73df298eb02d5c5ef82b13d6384ad')
prepare() {
patch -d werkzeug-$pkgver -p1 < 4e5bdca7.patch # Fix tests with pytest 8
}
build() {
cd "werkzeug-$pkgver"