me
/
guix
Archived
1
0
Fork 0

gnu: python-h2: Update to 4.1.0.

* gnu/packages/python-web.scm (python-h2): Update to 4.1.0.
[native-inputs]: Add python-hypothesis-6.23.
[arguments]: Invoke pytest through `python -m` so it finds the newer
python-hypothesis-6.23.
[home-page]: Update to current url.

Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
master
Sébastien Lerique 2021-10-15 11:40:20 +09:00 committed by Lars-Dominik Braun
parent 51bd29f3c8
commit 5f8b2bcff2
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 6 additions and 5 deletions

View File

@ -934,13 +934,13 @@ and that could be anything you want.")
(define-public python-h2 (define-public python-h2
(package (package
(name "python-h2") (name "python-h2")
(version "3.2.0") (version "4.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "h2" version)) (uri (pypi-uri "h2" version))
(sha256 (sha256
(base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7")))) (base32 "1fraip114fm1ha5w37pdc0sk8dn9pb0ck267zrwwpap7zc4clfm8"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -949,13 +949,14 @@ and that could be anything you want.")
(lambda* (#:key tests? inputs outputs #:allow-other-keys) (lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests? (when tests?
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv" "test"))))))) (invoke "python" "-m" "pytest" "-vv" "test")))))))
(native-inputs (native-inputs
`(("python-pytest" ,python-pytest))) `(("python-hypothesis" ,python-hypothesis-6.23)
("python-pytest" ,python-pytest)))
(propagated-inputs (propagated-inputs
`(("python-hpack" ,python-hpack) `(("python-hpack" ,python-hpack)
("python-hyperframe" ,python-hyperframe))) ("python-hyperframe" ,python-hyperframe)))
(home-page "https://github.com/python-hyper/hyper-h2") (home-page "https://github.com/python-hyper/h2")
(synopsis "HTTP/2 State-Machine based protocol implementation") (synopsis "HTTP/2 State-Machine based protocol implementation")
(description (description
"This module contains a pure-Python implementation of a HTTP/2 protocol "This module contains a pure-Python implementation of a HTTP/2 protocol