mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-02 07:15:53 +02:00
gnu: python-flask: Update to 3.1.0.
* gnu/packages/python-web.scm (python-flask): Update to 3.1.0. [build-system]: Swapt to pyproject-build-system. [arguments]<phases>: Use default 'check phase. [propagated-inputs]: Add python-blinker. [native-inputs]: Add python-flit-core. Change-Id: Ia745e13a395f2e4d315787600ddc2cbb26308ac7
This commit is contained in:
+11
-16
@@ -4513,26 +4513,21 @@ minimum of WSGI.")
|
||||
(define-public python-flask
|
||||
(package
|
||||
(name "python-flask")
|
||||
(version "2.1.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Flask" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1j0rjly2yhbm566lq2s8543fs7fz86f77abps539djcfalzbvjd8"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "tests")))))))
|
||||
(version "3.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "flask" version))
|
||||
(sha256
|
||||
(base32 "1b1nb250jxrjplbs21wnwq69250vs3iz2pdhs7cwi5y8hi8kr1sz"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(list python-flit-core
|
||||
python-pytest))
|
||||
(propagated-inputs
|
||||
(list python-asgiref ;async extra
|
||||
python-click
|
||||
python-blinker
|
||||
python-importlib-metadata
|
||||
python-itsdangerous
|
||||
python-jinja2
|
||||
|
||||
Reference in New Issue
Block a user