[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/79: gnu: python-typed-ast: Make the 'check' phase respect #:tests?.
From: |
guix-commits |
Subject: |
26/79: gnu: python-typed-ast: Make the 'check' phase respect #:tests?. |
Date: |
Sun, 21 Jul 2024 09:59:40 -0400 (EDT) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit b3784c6326b398eb4efb0deea679674832004097
Author: jgart <jgart@dismail.de>
AuthorDate: Thu Jul 11 16:12:03 2024 -0500
gnu: python-typed-ast: Make the 'check' phase respect #:tests?.
* gnu/packages/python-xyz.scm (python-typed-ast) [arguments]: Make the
'check'
phase respect #:tests?.
Change-Id: I6817270eca0c19bc786aa77460759f32d47a2948
---
gnu/packages/python-xyz.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2618c2078d..115ccef217 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26317,8 +26317,9 @@ source bytes using the UTF-8 encoding and then rewrites
Python 3.6 style
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(native-inputs (list python-pytest))
(home-page "https://github.com/python/typed_ast")
(synopsis "Fork of Python @code{ast} modules with type comment support")
- branch gnome-team created (now ff35d24f2b), guix-commits, 2024/07/21
- 02/79: gnu: Add go-github-com-google-go-tpm., guix-commits, 2024/07/21
- 32/79: gnu: nano: Update to 8.1., guix-commits, 2024/07/21
- 18/79: gnu: python-dolfin-adjoint: Adjust package style., guix-commits, 2024/07/21
- 26/79: gnu: python-typed-ast: Make the 'check' phase respect #:tests?.,
guix-commits <=
- 08/79: gnu: miniflux: Update to 2.1.4., guix-commits, 2024/07/21
- 24/79: gnu: python-sacn: Enable tests., guix-commits, 2024/07/21
- 29/79: gnu: python-pytelegrambotapi: Use new style., guix-commits, 2024/07/21
- 33/79: build-system/composer: Do not try to delete-duplicates., guix-commits, 2024/07/21
- 04/79: gnu: Add go-github-com-abadojack-whatlanggo., guix-commits, 2024/07/21
- 48/79: gnu: libvirt-glib: Update to 5.0.0., guix-commits, 2024/07/21
- 23/79: gnu: Add python-sacn., guix-commits, 2024/07/21
- 19/79: gnu: python-dolfin-adjoint: Swap to pyproject-build-system., guix-commits, 2024/07/21
- 12/79: gnu: xnnpack: Fix supported systems., guix-commits, 2024/07/21
- 01/79: gnu: go-github-com-andybalholm-brotli: Update to 1.1.0., guix-commits, 2024/07/21