guix-commits
[Top][All Lists]
Advanced

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

20/36: gnu: python-waf: Return #t from all phases.


From: Mark H. Weaver
Subject: 20/36: gnu: python-waf: Return #t from all phases.
Date: Thu, 12 Apr 2018 04:09:20 -0400 (EDT)

mhw pushed a commit to branch core-updates
in repository guix.

commit 8eb66f4a6829c454285c9d395b6c287fe0dcf8a7
Author: Mark H Weaver <address@hidden>
Date:   Thu Apr 12 03:26:56 2018 -0400

    gnu: python-waf: Return #t from all phases.
    
    * gnu/packages/python.scm (python-waf)[arguments]: Use invoke instead of
    system*, and return #t from all phases.
---
 gnu/packages/python.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index be93d43..630396c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5403,13 +5403,14 @@ so it might be a tiny bit slower.")
        (modify-phases %standard-phases
          (replace 'build
            (lambda _
-             (zero? (system* "python" "waf-light" "configure" "build"))))
+             (invoke "python" "waf-light" "configure" "build")))
          (replace 'check
            (lambda _
-             (zero? (system* "python" "waf" "--version"))))
+             (invoke "python" "waf" "--version")))
          (replace 'install
            (lambda _
-             (copy-file "waf" %output))))))
+             (copy-file "waf" %output)
+             #t)))))
     (home-page "https://waf.io/";)
     (synopsis "Python-based build system")
     (description



reply via email to

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