[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/18: gnu: python-bottleneck: Honor #:tests? flag.
From: |
guix-commits |
Subject: |
18/18: gnu: python-bottleneck: Honor #:tests? flag. |
Date: |
Mon, 8 May 2023 05:51:49 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 12c529c071762dc80ef0439a1c94422cfa26af57
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 8 12:39:20 2023 +0300
gnu: python-bottleneck: Honor #:tests? flag.
* gnu/packages/python-science.scm (python-bottleneck)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
---
gnu/packages/python-science.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ef9f672f1f..c9f122c5c9 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -580,8 +580,9 @@ Python module with the same interface, but (hopefully)
faster.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "python" "setup.py" "pytest"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "setup.py" "pytest")))))))
(native-inputs
(list python-hypothesis python-pytest python-pytest-runner))
(propagated-inputs
- 09/18: gnu: python-pytest-astropy: Simplify package., (continued)
- 09/18: gnu: python-pytest-astropy: Simplify package., guix-commits, 2023/05/08
- 03/18: gnu: python-pytest-doctestplus: Update to 0.12.1., guix-commits, 2023/05/08
- 06/18: gnu: Add python-h3., guix-commits, 2023/05/08
- 07/18: gnu: Add python-timezonefinder., guix-commits, 2023/05/08
- 05/18: gnu: Sort use-module alphabetically in (gnu packages geo)., guix-commits, 2023/05/08
- 08/18: gnu: python-pytest-filter-subpackage: Update to 0.1.2., guix-commits, 2023/05/08
- 02/18: gnu: tio: Update to 2.5., guix-commits, 2023/05/08
- 10/18: gnu: python-extension-helpers: Update to 1.0.0., guix-commits, 2023/05/08
- 13/18: gnu: python-pytest-remotedata: Update to 0.4.0., guix-commits, 2023/05/08
- 16/18: gnu: python-astropy: Update to 5.2.2., guix-commits, 2023/05/08
- 18/18: gnu: python-bottleneck: Honor #:tests? flag.,
guix-commits <=
- 14/18: gnu: python-pytest-arraydiff: Update to 0.5.0., guix-commits, 2023/05/08
- 11/18: gnu: python-jplephem: Update to 2.18., guix-commits, 2023/05/08
- 17/18: gnu: python-bottleneck: Update to 1.3.7., guix-commits, 2023/05/08
- 15/18: gnu: python-pytest-mpl: Update to 0.16.1., guix-commits, 2023/05/08
- 12/18: gnu: python-skyfield: Update to 1.46., guix-commits, 2023/05/08