guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

211/474: gnu: python-numpydoc: Move to pyproject-build-sytem.


From: guix-commits
Subject: 211/474: gnu: python-numpydoc: Move to pyproject-build-sytem.
Date: Sat, 30 Nov 2024 18:20:21 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit ef20415f1a3cafd1084375c9353217df140d8b9c
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:54:18 2024 +0200

    gnu: python-numpydoc: Move to pyproject-build-sytem.
    
    * gnu/packages/python-xyz.scm (python-numpydoc):
      [build-system]: Move to pyproject-build-sytem.
      [arguments]: Move <#:phases> check replacement to
      <#:test-flags>.
    
    Change-Id: Ia7a812c4ee2adcd31fc32db1caa7c163cadf46bf
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/python-xyz.scm | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 72612e6bc5..9c09b6bdd1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9442,16 +9442,12 @@ parse and apply unified diffs.  It has features such as:
        (sha256
         (base32
          "0k2z3g4s3w39h1nd293542hl9qv55j29gcr3bkia0rr3ldsppnxh"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-v" "numpydoc/tests"
-                       ;; TODO: unclear why these fail.
-                       "-k" "not test_MyClass and not test_my_function")))))))
+     (list #:test-flags
+           '(list "numpydoc/tests"
+                  ;; TODO: unclear why these fail.
+                  "-k" "not test_MyClass and not test_my_function")))
     (propagated-inputs (list python-jinja2 python-sphinx))
     (native-inputs (list python-matplotlib python-pytest python-pytest-cov))
     (home-page "https://pypi.org/project/numpydoc/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]