guix-commits
[Top][All Lists]
Advanced

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

17/21: gnu: python-odfpy: Use INVOKE.


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

rekado pushed a commit to branch master
in repository guix.

commit 21ccc01d4c7fdddf8b956d6433ad980a78132b89
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 23 17:22:29 2019 +0100

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 789eb8a..42b5a09 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9990,9 +9990,9 @@ discovery, monitoring and configuration.")
            ;; The test runner invokes python2 and python3 for test*.py.
            ;; To avoid having both in inputs, we replicate it here.
            (lambda _
-             (every (lambda (test-file)
-                      (zero? (system* "python" test-file)))
-                    (find-files "tests" "^test.*\\.py$")))))))
+             (for-each (lambda (test-file) (invoke "python" test-file))
+                       (find-files "tests" "^test.*\\.py$"))
+             #t)))))
     (build-system python-build-system)
     (home-page "https://github.com/eea/odfpy";)
     (synopsis "Python API and tools to manipulate OpenDocument files")



reply via email to

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