gnu: python-html2text: Switch to pyproject.

* gnu/packages/python-web.scm (python-html2text):
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ic4b6a46d36fd1346379898f6041bc587c1ba606b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-13 19:46:24 +02:00 committed by Sharlatan Hellseher
parent 7f64ee93ef
commit ac16e0611e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2663,20 +2663,13 @@ API, but uses asyncio to parallelise downloading the files.")
(method url-fetch)
(uri (pypi-uri "html2text" version))
(sha256
(base32
"1fvv4z6dblii2wk1x82981ag8yhxbim1v2ksgywxsndh2s7335p2"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "pytest" "test/"))))))
(native-inputs
(list python-pytest))
(base32 "1fvv4z6dblii2wk1x82981ag8yhxbim1v2ksgywxsndh2s7335p2"))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/Alir3z4/html2text")
(synopsis "Convert HTML into plain text")
(description "html2text takes HTML and converts it into plain ASCII text
(description
"html2text takes HTML and converts it into plain ASCII text
which is also valid markdown. html2text was originally written by Aaron
Swartz.")
(license license:gpl3+)))