3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: python-odfpy: Use INVOKE.

* gnu/packages/python-xyz.scm (python-odfpy)[arguments]: Unconditionally
return #T from "check" phase.
This commit is contained in:
Ricardo Wurmus 2019-01-23 17:22:29 +01:00
parent 49ff882740
commit 21ccc01d4c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

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