mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: python-symengine: Fix tests.
This fixes <https://issues.guix.gnu.org/57104>. * gnu/packages/python-xyz.scm (python-symengine): [native-inputs]: Add python-nose. [arguments]: Run tests with 'nosetests'.
This commit is contained in:
parent
f030ae422b
commit
4c846ba9eb
1 changed files with 12 additions and 1 deletions
|
@ -14645,8 +14645,19 @@ (define-public python-symengine
|
|||
(sha256
|
||||
(base32 "0qjgdbnb10kfk7jdhxnzfl8cpaps81k8vap7gm7q9ym3pgslazhg"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
;; Run tests against installed package.
|
||||
(with-directory-excursion "/tmp"
|
||||
(invoke "nosetests" "-v" "symengine.tests"))
|
||||
(format #t "test suite not run~%")))))))
|
||||
(native-inputs
|
||||
(list cmake python-cython))
|
||||
(list cmake python-cython python-nose))
|
||||
(inputs
|
||||
(list symengine))
|
||||
(home-page "https://github.com/symengine/symengine.py")
|
||||
|
|
Loading…
Reference in a new issue