[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69449] [PATCH python-team 7/9] gnu: Add python-werkzeug-3.
From: |
Tanguy Le Carrour |
Subject: |
[bug#69449] [PATCH python-team 7/9] gnu: Add python-werkzeug-3. |
Date: |
Wed, 28 Feb 2024 11:15:37 +0100 |
* gnu/packages/python-web.scm (python-werkzeug-3): New variable.
Change-Id: I9e53b3a5e303cc36aeaf7b3cfb678fb6aab1b6a7
---
gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 960ad0d879..e8edc1604c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5030,6 +5030,41 @@ (define-public python-werkzeug-1.0
(native-inputs
(list python-pytest python-pytest-timeout))))
+(define-public python-werkzeug-3
+ (package
+ (name "python-werkzeug")
+ (version "3.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "werkzeug" version))
+ (sha256
+ (base32 "1k0x7fxlbvshcpbr9d16z2w1s3irngadwyll0jj1hax7rqg82zjh"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ ;; Some tests rely on the network and on a newer
version
+ ;; or python-watchdog.
+ (delete-file "tests/test_serving.py")
+ (invoke "python" "-m" "pytest")))))))
+ (propagated-inputs (list))
+ (native-inputs (list python-ephemeral-port-reserve python-flit-core
+ python-markupsafe python-watchdog
+ python-pytest python-pytest-timeout
+ python-pytest-xprocess))
+ (home-page "https://werkzeug.palletsprojects.com")
+ (synopsis "Utilities for WSGI applications")
+ (description
+ "One of the most advanced WSGI utility modules. It includes a
+powerful debugger, full-featured request and response objects, HTTP utilities
to
+handle entity tags, cache control headers, HTTP dates, cookie handling, file
+uploads, a powerful URL routing system and a bunch of community-contributed
+addon modules.")
+ (license license:bsd-3)))
+
(define-public python-werkzeug python-werkzeug-2)
(define-public python-bottle
--
2.41.0
- [bug#69449] [PATCH python-team 0/9] gnu: Add python-flask-3., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 5/9] gnu: Add python-ephemeral-port-reserve., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 1/9] gnu: python-itsdangerous: Update to 2.1.2., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 7/9] gnu: Add python-werkzeug-3.,
Tanguy Le Carrour <=
- [bug#69449] [PATCH python-team 2/9] gnu: python-jinja2: Update to 3.1.3., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 9/9] gnu: Add python-flask-3., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 6/9] gnu: python-werkzeug: Rename variable to python-werkzeug-2., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 3/9] gnu: python-click: Update to 8.1.7., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 4/9] gnu: python-blinker: Update to 1.7.0., Tanguy Le Carrour, 2024/02/28
- [bug#69449] [PATCH python-team 8/9] gnu: python-flask: Rename to python-flask-2., Tanguy Le Carrour, 2024/02/28