guix-commits
[Top][All Lists]
Advanced

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

13/21: gnu: python-tables: Use INVOKE.


From: guix-commits
Subject: 13/21: gnu: python-tables: Use INVOKE.
Date: Wed, 23 Jan 2019 12:13:51 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 35d79d6103765cf0f509dc4c905a402c4c21e980
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 23 17:19:20 2019 +0100

    gnu: python-tables: Use INVOKE.
    
    * gnu/packages/python-xyz.scm (python-tables)[arguments]: Unconditionally
    return #T from "check" and "build" phases.
---
 gnu/packages/python-xyz.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 43b0e26..f020e1a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6167,14 +6167,14 @@ printing of sub-tables by specifying a row range.")
              #t))
          (replace 'build
            (lambda* (#:key inputs #:allow-other-keys)
-             (zero? (system* "python" "setup.py" "build"
-                             (string-append "--hdf5="
-                                            (assoc-ref inputs "hdf5"))))))
+             (invoke "python" "setup.py" "build"
+                     (string-append "--hdf5="
+                                    (assoc-ref inputs "hdf5")))))
          (replace 'check
            (lambda* (#:key inputs #:allow-other-keys)
-             (zero? (system* "python" "setup.py" "check"
-                             (string-append "--hdf5="
-                                            (assoc-ref inputs "hdf5")))))))))
+             (invoke "python" "setup.py" "check"
+                     (string-append "--hdf5="
+                                    (assoc-ref inputs "hdf5"))))))))
     (propagated-inputs
      `(("python-numexpr" ,python-numexpr)
        ("python-numpy" ,python-numpy)))



reply via email to

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