gnu: httpie: Switch to pyproject.

* gnu/packages/python-web.scm (httpie):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[source, properties]: Improve style.

Change-Id: Ib6073b02235f19a70576c0e37193dcb05496d3eb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-06 14:10:05 +02:00 committed by Sharlatan Hellseher
parent 27e5b6c601
commit eb35eee540
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2585,12 +2585,12 @@ other HTTP libraries.")
(method url-fetch) (method url-fetch)
(uri (pypi-uri "httpie" version)) (uri (pypi-uri "httpie" version))
(sha256 (sha256
(base32 (base32 "140w4mr0w7scpf4j5qm4h475vbwrgxzkdwyygwcmql1r1cgngywb"))))
"140w4mr0w7scpf4j5qm4h475vbwrgxzkdwyygwcmql1r1cgngywb")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
;; The tests attempt to access external web servers, so we cannot run them. ;; The tests attempt to access external web servers, so we cannot run them.
'(#:tests? #f)) '(#:tests? #f))
(native-inputs (list python-setuptools python-wheel))
(propagated-inputs (propagated-inputs
(list python-charset-normalizer (list python-charset-normalizer
python-colorama python-colorama
@ -2611,7 +2611,7 @@ syntax highlighting, wget-like downloads, plugins, and more. It consists of
a single http command designed for painless debugging and interaction with a single http command designed for painless debugging and interaction with
HTTP servers, RESTful APIs, and web services.") HTTP servers, RESTful APIs, and web services.")
;; This was fixed in 1.0.3. ;; This was fixed in 1.0.3.
(properties `((lint-hidden-cve . ("CVE-2019-10751")))) (properties `((lint-hidden-cve "CVE-2019-10751")))
(license license:bsd-3))) (license license:bsd-3)))
(define-public python-parfive (define-public python-parfive