[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/18: gnu: python-meshio: Honor #:tests? flag.
From: |
guix-commits |
Subject: |
06/18: gnu: python-meshio: Honor #:tests? flag. |
Date: |
Mon, 23 May 2022 10:26:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit ec27aafcd32da20059c5d5545878af2f9395da13
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Mon May 2 21:16:58 2022 +0000
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>
---
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 cbd4a1d3e7..b7b8010ef2 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -798,12 +798,12 @@ river flooding.")
(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
- branch master updated (a6da02217e -> 2f58393d99), guix-commits, 2022/05/23
- 01/18: scripts: package: Transform before creating manifest entries., guix-commits, 2022/05/23
- 07/18: gnu: python-meshio: Update to 5.3.4., guix-commits, 2022/05/23
- 08/18: gnu: Add python-pyperf., guix-commits, 2022/05/23
- 10/18: gnu: Add python-scooby., guix-commits, 2022/05/23
- 02/18: import: utils: Update list of SPDX licenses., guix-commits, 2022/05/23
- 03/18: gnu: python-plotly: Update to 5.6.0., guix-commits, 2022/05/23
- 04/18: gnu: python-meshio: Remove input labels., guix-commits, 2022/05/23
- 05/18: gnu: python-meshio: Remove trailing booleans., guix-commits, 2022/05/23
- 06/18: gnu: python-meshio: Honor #:tests? flag.,
guix-commits <=
- 09/18: gnu: Add python-pyvips., guix-commits, 2022/05/23
- 13/18: gnu: Add patatt., guix-commits, 2022/05/23
- 11/18: gnu: Add python-pyvista., guix-commits, 2022/05/23
- 12/18: licenses: Add Expat No Attribution license., guix-commits, 2022/05/23
- 14/18: gnu: b4: Drop now unneeded snippet., guix-commits, 2022/05/23
- 15/18: gnu: b4: Enable patch attestation., guix-commits, 2022/05/23
- 16/18: gnu: python-django: Add 3.1.14., guix-commits, 2022/05/23
- 17/18: gnu: Add archivebox., guix-commits, 2022/05/23
- 18/18: gnu: emacs-org-contrib: Do not propogate cider to profile., guix-commits, 2022/05/23