[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69449] [PATCH python-team 9/9] gnu: Add python-flask-3.
From: |
Tanguy Le Carrour |
Subject: |
[bug#69449] [PATCH python-team 9/9] gnu: Add python-flask-3. |
Date: |
Wed, 28 Feb 2024 11:15:39 +0100 |
* gnu/packages/python-web.scm (python-flask-3): New variable.
Change-Id: I8556a3e2fed74368c6d4db99cd859ecb33a3d573
---
gnu/packages/python-web.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3bdabc311a..215cdd2335 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3957,6 +3957,39 @@ (define-public python-flask-2
presume or force a developer to use a particular tool or library.")
(license license:bsd-3)))
+(define-public python-flask-3
+ (package
+ (name "python-flask")
+ (version "3.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "flask" version))
+ (sha256
+ (base32
+ "0zfbxxgl5zpbvswxywrr6fam6rj0vknv317flx84484rnzs06b42"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "-vv" "tests")))))))
+ (native-inputs
+ (list python-flit-core python-pytest))
+ (propagated-inputs
+ (list python-blinker
+ python-click
+ python-itsdangerous
+ python-jinja2
+ python-werkzeug-3))
+ (home-page "https://flask.palletsprojects.com")
+ (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
+ (description "Flask is a micro web framework based on the Werkzeug toolkit
+and Jinja2 template engine. It is called a micro framework because it does not
+presume or force a developer to use a particular tool or library.")
+ (license license:bsd-3)))
+
(define-public python-flask python-flask-2)
(define-public python-flask-compress
--
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, 2024/02/28
- [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 <=
- [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