mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: python-meshio: Honor #:tests? flag.
* gnu/packages/simulation.scm (python-meshio)[arguments]: Adjust custom 'check' phase to honor the #:tests? flag. Remove unnecessary 'add-installed-pythonpath' call. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
c76ba27662
commit
ec27aafcd3
1 changed files with 4 additions and 4 deletions
|
@ -798,12 +798,12 @@ (define-public python-meshio
|
||||||
(list python-importlib-metadata
|
(list python-importlib-metadata
|
||||||
python-numpy))
|
python-numpy))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(when tests?
|
||||||
(invoke "python" "-m" "pytest" "-v" "tests"))))))
|
(invoke "python" "-m" "pytest" "-v" "tests")))))))
|
||||||
(home-page "https://github.com/nschloe/meshio")
|
(home-page "https://github.com/nschloe/meshio")
|
||||||
(synopsis "I/O for mesh files")
|
(synopsis "I/O for mesh files")
|
||||||
(description "There are various file formats available for
|
(description "There are various file formats available for
|
||||||
|
|
Loading…
Reference in a new issue