me
/
guix
Archived
1
0
Fork 0

gnu: python-werkzeug: Update to 2.0.1.

* gnu/packages/python-web.scm (python-werkzeug): Update to 2.0.1.
[arguments]: Actually replace check phase. Honor #:tests.
[native-inputs]: Add python-xprocess.
Efraim Flashner 2021-08-09 12:35:44 +03:00
parent 7e8146923f
commit 48b5e57ddc
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 12 additions and 9 deletions

View File

@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr> ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org> ;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2013, 2014, 2015, 2016, 2020 Andreas Enge <andreas@enge.fr>
@ -4044,28 +4044,31 @@ List. Forked from and using the same API as the publicsuffix package.")
(define-public python-werkzeug (define-public python-werkzeug
(package (package
(name "python-werkzeug") (name "python-werkzeug")
(version "1.0.1") (version "2.0.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Werkzeug" version)) (uri (pypi-uri "Werkzeug" version))
(sha256 (sha256
(base32 (base32
"0z74sa1xw5h20yin9faj0vvdbq713cgbj84klc72jr9nmpjv303c")))) "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'check) (replace 'check
(add-after 'install 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys)
(lambda* (#:key inputs outputs #:allow-other-keys) (when tests?
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest")))))) (invoke "python" "-m" "pytest"
;; Test tries to use the network.
"-k not test_reloader_sys_path")))))))
(propagated-inputs (propagated-inputs
`(("python-requests" ,python-requests))) `(("python-requests" ,python-requests)))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest) `(("python-pytest" ,python-pytest)
("python-pytest-timeout" ,python-pytest-timeout))) ("python-pytest-timeout" ,python-pytest-timeout)
("python-pytest-xprocess" ,python-pytest-xprocess)))
(home-page "https://palletsprojects.com/p/werkzeug/") (home-page "https://palletsprojects.com/p/werkzeug/")
(synopsis "Utilities for WSGI applications") (synopsis "Utilities for WSGI applications")
(description "One of the most advanced WSGI utility modules. It includes a (description "One of the most advanced WSGI utility modules. It includes a