[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55060] [PATCH 3/6] gnu: python-meshio: Honor #:tests? flag.
From: |
Paul A. Patience |
Subject: |
[bug#55060] [PATCH 3/6] gnu: python-meshio: Honor #:tests? flag. |
Date: |
Fri, 22 Apr 2022 01:02:57 +0000 |
* gnu/packages/simulation.scm (python-meshio)[arguments]: Adjust custom
'check' phase to honor the #:tests? flag.
---
gnu/packages/simulation.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index fa246f9fb7..17d0a1352c 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -799,9 +799,10 @@ (define-public python-meshio
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key outputs inputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest" "-v" "tests"))))))
+ (lambda* (#:key tests? outputs inputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "-m" "pytest" "-v" "tests")))))))
(home-page "https://github.com/nschloe/meshio")
(synopsis "I/O for mesh files")
(description "There are various file formats available for
--
2.35.1
- [bug#55060] [PATCH 0/6] gnu: Add python-pyvista., Paul A. Patience, 2022/04/21
- [bug#55060] [PATCH 5/6] gnu: Add python-scooby., Paul A. Patience, 2022/04/21
- [bug#55060] [PATCH 5/6] gnu: Add python-scooby., Maxime Devos, 2022/04/22
- [bug#55060] [PATCH 5/6] gnu: Add python-scooby., Maxime Devos, 2022/04/22
- [bug#55060] [PATCH 5/6] gnu: Add python-scooby., Maxime Devos, 2022/04/22
- [bug#55060] [PATCH 5/6] gnu: Add python-scooby., Paul A. Patience, 2022/04/22
- [bug#55060] [PATCH 5/6] gnu: Add python-scooby., Maxime Devos, 2022/04/22