GNU bug report logs - #70855
[PATCH 00/92] python-team patches

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 9 May 2024 22:51:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70855 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [bug#70855] [PATCH 72/92] gnu: python-uqbar: Improve package style.
Date: Fri, 10 May 2024 00:54:07 +0200
* 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
---
 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 fe67d103865..8ef3642e7e7 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -213,15 +213,9 @@ (define-public python-uqbar
         (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
-- 
2.41.0





This bug report was last modified 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.