guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 15d269010469375d4c18772bb80264c3faa790e4
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Sun Jul 20 19:22:20 2025 +0200

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a951a3ab1b..ffcf8f4672 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

Reply via email to