guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6176e673ecc33ff30fe27940bc5c7b9358f39e44
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jul 22 02:11:00 2025 +0200

    gnu: python-recommonmark: Switch to pyproject.
    
    pytest is not mandatory here, but it's convenient.
    
    * gnu/packages/python-xyz.scm (python-recommonmark):
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Migrate <#:phases> to <#:test-flags>.
    [native-inputs]: Add python-pytest, python-setuptools, python-wheel.
    
    Change-Id: I9704f2a4ade3095a477e039a6c8a17b8cd0fc0d1
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a8d9c6cd29..6623dabaa5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35737,15 +35737,13 @@ result.")
        (sha256
         (base32
          "0rvdd2ikdr0yg6cx6594fdzn53cmdc0g0i6qsbcdq8i2kxjdpd5x"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-commonmark python-docutils python-sphinx))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'delete-test-sphinx
-                    (lambda* (#:key outputs #:allow-other-keys)
-                      (let* ((out (assoc-ref outputs "out")))
-                        (delete-file "tests/test_sphinx.py")))))))
+     (list
+      ;; XXX: Some of those fail for no good reason.
+      #:test-flags #~(list "--ignore=tests/test_sphinx.py")))
+    (native-inputs (list python-pytest python-setuptools python-wheel))
+    (propagated-inputs (list python-commonmark python-docutils python-sphinx))
     (home-page "https://github.com/readthedocs/recommonmark";)
     (synopsis "Docutils-compatibility bridge to CommonMark")
     (description

Reply via email to