From d3f38201d177791fcd135daeec7ffa477c0469e5 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 5 Aug 2025 16:32:18 +0100 Subject: [PATCH] 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 --- gnu/packages/python-web.scm | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f97abf1e52ffb4e179d5d43fb6c9d934beb2f309..9e0fe2dc43a9caceb13207f6c7f7fab2a2b2f983 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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)))