gnu: python-flask: Update to 1.1.1.
* gnu/packages/python-web.scm (python-flask): Update to 1.1.1.
parent
44b885656a
commit
15af040cc3
|
@ -1728,20 +1728,22 @@ minimum of WSGI.")
|
||||||
(define-public python-flask
|
(define-public python-flask
|
||||||
(package
|
(package
|
||||||
(name "python-flask")
|
(name "python-flask")
|
||||||
(version "1.0.3")
|
(version "1.1.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "Flask" version))
|
(uri (pypi-uri "Flask" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1wxnhjlxwwjhjxmghykjhllpahv5pkdc5hln4ab6nab43s26sz5d"))))
|
"0ljdjgyjn7vh8ic1n1dc2l1cl421i6pr3kx5sz2w5irhyfbg3y8k"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "python" "-m" "pytest"))))))
|
(setenv "PYTHONPATH" (string-append "./build/lib:"
|
||||||
|
(getenv "PYTHONPATH")))
|
||||||
|
(invoke "pytest" "-vv" "tests"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Reference in New Issue