1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-17 07:40:29 +02:00

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

View File

@@ -3288,25 +3288,25 @@ storage.")
(name "python-html5lib")
(version "1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "html5lib" version))
(sha256
(base32
"0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))))
(build-system python-build-system)
(origin
(method url-fetch)
(uri (pypi-uri "html5lib" version))
(sha256
(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
"Html5lib is an HTML parser based on the WHATWG HTML specification
and written in Python.")
(license license:expat)))