mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-werkzeug: Reintroduce 1.0.1.
* gnu/packages/python-web.scm (python-werkzeug-1.0): New variable. * gnu/packages/patches/python-werkzeug-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
parent
b1fd953114
commit
248199863c
3 changed files with 84 additions and 0 deletions
|
@ -4088,6 +4088,31 @@ uploads, a powerful URL routing system and a bunch of community-contributed
|
|||
addon modules.")
|
||||
(license license:x11)))
|
||||
|
||||
(define-public python-werkzeug-1.0
|
||||
(package
|
||||
(inherit python-werkzeug)
|
||||
(version "1.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "Werkzeug" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0z74sa1xw5h20yin9faj0vvdbq713cgbj84klc72jr9nmpjv303c"))
|
||||
(patches (search-patches "python-werkzeug-tests.patch"))))
|
||||
(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
|
||||
`(("python-pytest" ,python-pytest)
|
||||
("python-pytest-timeout" ,python-pytest-timeout)))))
|
||||
|
||||
(define-public python-bottle
|
||||
(package
|
||||
(name "python-bottle")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue