guix-commits
[Top][All Lists]
Advanced

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

199/361: gnu: python-cmd2: Move to pyproject-build-system.


From: guix-commits
Subject: 199/361: gnu: python-cmd2: Move to pyproject-build-system.
Date: Thu, 21 Nov 2024 06:29:18 -0500 (EST)

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

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

    gnu: python-cmd2: Move to pyproject-build-system.
    
    * gnu/packages/python-xyz.scm (python-cmd2):
      [build-system]: Move to pyproject-build-system.
      [arguments]<#:phases>: Remove check phase replacement.
      <#:test-flags>: Add field.
    
    Change-Id: I55b4134fb6caa4af1a4988934043487fa85f9b9b
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/python-xyz.scm | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 04c27c6023..5f0a137600 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32542,18 +32542,10 @@ intended for validating data coming into Python as 
JSON, YAML, etc.")
        (sha256
         (base32
          "0h1naik558qh48gx2iyy0a0khvw5fz0in69y84mbrhsm9nq7w3bm"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (if tests?
-                 (invoke "pytest" "-vv" "-k"
-                         ;; These tests fail because no EDITOR is in PATH.
-                         "not test_find_editor_not_specified \
-and not test_transcript")
-                 (format #t "test suite not run~%")))))))
+     (list #:test-flags '(list "-k" "not test_find_editor_not_specified \
+and not test_transcript")))
     (propagated-inputs
      (list python-attrs python-colorama python-pyperclip python-wcwidth))
     (native-inputs



reply via email to

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