gnu: python-readability-lxml: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-readability-lxml): Switch to
pyproject-build-system.  Drop arguments.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia85fb8c34af377f9c7d0caf70cfe7c18f473bcf9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Liliana Marie Prikler 2025-07-20 19:22:20 +02:00 committed by Sharlatan Hellseher
parent ecfda5ffd3
commit 15d2690104
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -35908,20 +35908,15 @@ number of words, syllables, and sentences.")
"13nfy2v0pbbf62jn9qwgi489gg97hbb22q6w3f78mnvjxd2m19rh"))
(snippet
#~(begin (delete-file "readability/compat/two.py")))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "pytest" "-v" "tests/")))))))
(build-system pyproject-build-system)
(propagated-inputs (list python-chardet
python-cssselect
python-lxml
python-lxml-html-clean))
(native-inputs (list python-timeout-decorator python-pytest))
(native-inputs (list python-timeout-decorator
python-setuptools
python-pytest
python-wheel))
(home-page "http://github.com/buriy/python-readability")
(synopsis "HTML to text parser")
(description