[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/13: gnu: python-arrow: Honor #:tests? in 'check' phase.
From: |
guix-commits |
Subject: |
13/13: gnu: python-arrow: Honor #:tests? in 'check' phase. |
Date: |
Fri, 9 Jul 2021 05:59:28 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b182121458c0126a05a41fec78a4f42472ba8081
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jul 8 23:44:06 2021 +0200
gnu: python-arrow: Honor #:tests? in 'check' phase.
* gnu/packages/time.scm (python-arrow)[arguments]: 'check' phase honors
#:tests?.
---
gnu/packages/time.scm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 0e0eef6..df4b8ac 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
-;;; Copyright © 2013, 2017, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2017, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2021 Efraim Flashner
<efraim@flashner.co.il>
;;; Copyright © 2015, 2017 Leo Famulari <leo@famulari.name>
@@ -423,11 +423,12 @@ timestamps.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest" "-vv" "tests"
- ;; python-dateutil doesn't recognize America/Nuuk.
- ;; Remove when python-dateutil > 2.8.1.
- "-k" "not test_parse_tz_name_zzz"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "tests"
+ ;; python-dateutil doesn't recognize America/Nuuk.
+ ;; Remove when python-dateutil > 2.8.1.
+ "-k" "not test_parse_tz_name_zzz")))))))
(native-inputs
`(;; For testing
("python-chai" ,python-chai)
- 02/13: gnu: python-seaborn: Simplify 'start-xserver' phase., (continued)
- 02/13: gnu: python-seaborn: Simplify 'start-xserver' phase., guix-commits, 2021/07/09
- 03/13: gnu: python-seaborn: Update to 0.11.1., guix-commits, 2021/07/09
- 06/13: gnu: Add python-pytest-datadir., guix-commits, 2021/07/09
- 09/13: gnu: Add python-sphinxcontrib-autoprogram., guix-commits, 2021/07/09
- 08/13: gnu: Add python-jupyter-sphinx., guix-commits, 2021/07/09
- 10/13: gnu: Add python-pydata-sphinx-theme., guix-commits, 2021/07/09
- 11/13: gnu: Add repo2docker., guix-commits, 2021/07/09
- 05/13: gnu: Add python-recommonmark., guix-commits, 2021/07/09
- 07/13: gnu: Add python-pytest-regressions., guix-commits, 2021/07/09
- 12/13: gnu: python-arrow: Update to 1.1.1., guix-commits, 2021/07/09
- 13/13: gnu: python-arrow: Honor #:tests? in 'check' phase.,
guix-commits <=