guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 64fd3e51b6c7c73e41982c262f47390a84860a77
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 20 18:11:44 2025 +0100

    gnu: python-feedparser: Switch to pyproject.
    
    * gnu/packages/web.scm (python-feedparser):
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Replace <#:phases> with <#:test-backend, #:test-flags>.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Iedcbcd06e4d8171f484e077b93ff0dcc24ddf066
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/web.scm | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a41665f169..fb13fa5f5e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5512,17 +5512,13 @@ Integration Center (4DN-DCIC).")
        (sha256
         (base32 "1mc4856draxac5s7acywq060a0awng195cpbs1js1wn6cixl1l69"))
        (patches (search-patches "python-feedparser-missing-import.patch"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-sgmllib3k))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "tests/runtests.py")))))))
+     (list
+      #:test-backend #~'custom
+      #:test-flags #~(list "tests/runtests.py")))
+    (native-inputs (list python-setuptools))
+    (propagated-inputs (list python-sgmllib3k))
     (home-page "https://github.com/kurtmckee/feedparser";)
     (synopsis "Parse feeds in Python")
     (description

Reply via email to