gnu: python-html5lib: Switch to pyproject-build-system.

* gnu/packages/python-web.scm (python-html5lib):
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: If4df2b32c95a23252063e0826f27bc99fb2f5530
This commit is contained in:
Sharlatan Hellseher 2025-08-05 16:32:18 +01:00
parent cb828a2d2c
commit d3f38201d1
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3292,19 +3292,19 @@ storage.")
(method url-fetch)
(uri (pypi-uri "html5lib" version))
(sha256
(base32
"0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))))
(build-system python-build-system)
(base32 "0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))))
(build-system pyproject-build-system)
(arguments
'(#:tests? #f)) ;tests depent on dated pytest-expect
(native-inputs
(list python-setuptools))
(propagated-inputs
(list python-six python-webencodings
(list python-six
python-webencodings
;; Required by Calibre 5.
python-chardet))
(arguments
`(#:test-target "check"))
(home-page
"https://github.com/html5lib/html5lib-python")
(synopsis
"Python HTML parser based on the WHATWG HTML specification")
(home-page "https://github.com/html5lib/html5lib-python")
(synopsis "Python HTML parser based on the WHATWG HTML specification")
(description
"Html5lib is an HTML parser based on the WHATWG HTML specification
and written in Python.")