gnu: python-werkzeug: Update to 0.14.1.

* gnu/packages/python-web.scm (python-werkzeug): Update to 0.14.1.
[arguments]: Run tests after 'install phase. Use custom 'check phase.
[propagated-inputs]: Add python-requests.
[home-page]: Update to new home-page.
This commit is contained in:
Efraim Flashner 2019-01-27 11:13:25 +02:00
parent 8d7e7ca6a1
commit c5e110ce95
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 14 additions and 4 deletions

View File

@ -2603,18 +2603,28 @@ 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 "0.11.15") (version "0.14.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
"1h5wycw8yj7q0grqsjnsqflmrlsdagvl2j4dsgdncci6mjc7fpa5")))) "0z2m4snn1vc9518r2vzgdj1nc90kcgi60wijvd29yvcp85ypmzf3"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest"))))))
(propagated-inputs
`(("python-requests" ,python-requests)))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest))) `(("python-pytest" ,python-pytest)))
(home-page "http://werkzeug.pocoo.org/") (home-page "https://www.palletsprojects.org/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
powerful debugger, full-featured request and response objects, HTTP utilities to powerful debugger, full-featured request and response objects, HTTP utilities to