[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55060] [PATCH v4 3/8] gnu: python-meshio: Honor #:tests? flag.
From: |
Paul A. Patience |
Subject: |
[bug#55060] [PATCH v4 3/8] gnu: python-meshio: Honor #:tests? flag. |
Date: |
Mon, 02 May 2022 21:16:58 +0000 |
* gnu/packages/simulation.scm (python-meshio)[arguments]: Adjust custom
'check' phase to honor the #:tests? flag. Remove unnecessary
'add-installed-pythonpath' call.
---
gnu/packages/simulation.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 42383bf486..b927392263 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -795,12 +795,12 @@ (define-public python-meshio
(list python-importlib-metadata
python-numpy))
(arguments
- `(#:phases
+ '(#: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? #:allow-other-keys)
+ (when tests?
+ (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.36.0
- [bug#55060] [PATCH v4 0/8] gnu: Add python-pyvista., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 1/8] gnu: python-meshio: Remove input labels., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 2/8] gnu: python-meshio: Remove trailing booleans., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 3/8] gnu: python-meshio: Honor #:tests? flag.,
Paul A. Patience <=
- [bug#55060] [PATCH v4 4/8] gnu: python-meshio: Update to 5.3.4., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 5/8] gnu: Add python-pyperf., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 6/8] gnu: Add python-pyvips., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 7/8] gnu: Add python-scooby., Paul A. Patience, 2022/05/02
- [bug#55060] [PATCH v4 8/8] gnu: Add python-pyvista., Paul A. Patience, 2022/05/02
- bug#55060: [PATCH 0/6] gnu: Add python-pyvista., Ludovic Courtès, 2022/05/23