guix-commits
[Top][All Lists]
Advanced

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

201/361: gnu: python-uqbar: Improve package style.


From: guix-commits
Subject: 201/361: gnu: python-uqbar: Improve package style.
Date: Fri, 22 Nov 2024 06:00:41 -0500 (EST)

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

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

    gnu: python-uqbar: Improve package style.
    
    * gnu/packages/graphviz.scm (python-uqbar): Improve package style.
      [build-system]: Move to pyproject-build-system.
      [arguments]: Convert 'check phase replacement to <#:test-flags>.
    
    Change-Id: I536e60438e3f2d5592ab9cd34fe66104cfd117e2
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/graphviz.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index b438c86b5c..f0bbe772c9 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -213,15 +213,9 @@ structure and layout algorithms.")
         (base32
          "0c573nzpm51qgz2g296f8pw8ys0i3r6daynxk06zagk5l5fgw9ar"))
        (patches (search-patches "python-uqbar-python3.10.patch"))))
-    (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 "python" "-m" "pytest" "tests"))
-             #t)))))
+     (list #:test-flags '(list "tests")))
     (native-inputs
      (list graphviz
            python-flake8



reply via email to

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