Archived
1
0
Fork 0

gnu: python-h11: Update to 0.14.0.

* gnu/packages/python-web.scm (python-h11): Update to 0.14.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove.
This commit is contained in:
Ricardo Wurmus 2023-04-27 06:35:38 +02:00
parent e1ca411852
commit f95498c92e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1384,21 +1384,14 @@ for use in Python programs that implement HTTP/2.")
(define-public python-h11 (define-public python-h11
(package (package
(name "python-h11") (name "python-h11")
(version "0.12.0") (version "0.14.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "h11" version)) (uri (pypi-uri "h11" version))
(sha256 (sha256
(base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7")))) (base32 "17b97c56y31hi0n0x0cb5a87x4xr9jijf2y06pzj0977k6zgn6cg"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs (native-inputs
(list python-pytest)) (list python-pytest))
(home-page "https://github.com/python-hyper/h11") (home-page "https://github.com/python-hyper/h11")