[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55060] [PATCH v3 3/6] gnu: python-meshio: Honor #:tests? flag.
From: |
Paul A. Patience |
Subject: |
[bug#55060] [PATCH v3 3/6] gnu: python-meshio: Honor #:tests? flag. |
Date: |
Mon, 25 Apr 2022 17:55:42 +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 42383bf486..1b4016e316 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -798,9 +798,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 v2 3/6] gnu: python-meshio: Honor #:tests? flag., (continued)
- [bug#55060] [PATCH v3 0/6] gnu: Add python-pyvista., Paul A. Patience, 2022/04/25
- [bug#55060] [PATCH v3 1/6] gnu: python-meshio: Remove input labels., Paul A. Patience, 2022/04/25
- [bug#55060] [PATCH v3 2/6] gnu: python-meshio: Remove trailing booleans., Paul A. Patience, 2022/04/25
- [bug#55060] [PATCH v3 4/6] gnu: python-meshio: Update to 5.3.4., Paul A. Patience, 2022/04/25
- [bug#55060] [PATCH v3 3/6] gnu: python-meshio: Honor #:tests? flag.,
Paul A. Patience <=
- [bug#55060] [PATCH v3 6/6] gnu: Add python-pyvista., Paul A. Patience, 2022/04/25
- [bug#55060] [PATCH v3 5/6] gnu: Add python-scooby., Paul A. Patience, 2022/04/25