summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2025-07-20 19:22:20 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-23 16:23:25 +0100
commit15d269010469375d4c18772bb80264c3faa790e4 (patch)
tree9e46f47f2d49bc7a7e8e8f7b672d35bcec8964a5 /gnu/packages/python-xyz.scm
parentecfda5ffd3fa0fb965a69d4cd05ed1c297e6f041 (diff)
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>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm15
1 files changed, 5 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a951a3ab1b6..ffcf8f46727 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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