[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: python-h11: Respect "--without-tests".
From: |
guix-commits |
Subject: |
05/07: gnu: python-h11: Respect "--without-tests". |
Date: |
Thu, 8 Jul 2021 15:23:14 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit c46c8531dd35db5af0e37a9230acafa9215080ef
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Jul 8 17:24:22 2021 +0200
gnu: python-h11: Respect "--without-tests".
* gnu/packages/python-web.scm
(python-h11)[arguments]<#:phases>{check}: Respect #:tests?.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/python-web.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index acabe00..d175fbb 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -908,8 +908,9 @@ for use in Python programs that implement HTTP/2.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://github.com/python-hyper/h11")
- branch master updated (beaa5df -> f78a09f), guix-commits, 2021/07/08
- 01/07: gnu: python-pymediainfo: Respect "--without-tests"., guix-commits, 2021/07/08
- 02/07: gnu: python-watchgod: Respect "--without-tests"., guix-commits, 2021/07/08
- 04/07: gnu: python-hpack: Respect "--without-tests"., guix-commits, 2021/07/08
- 03/07: gnu: python-hyperframe: Respect "--without-tests"., guix-commits, 2021/07/08
- 05/07: gnu: python-h11: Respect "--without-tests".,
guix-commits <=
- 06/07: gnu: python-h2: Respect "--without-tests"., guix-commits, 2021/07/08
- 07/07: gnu: libolm: Respect "--without-tests"., guix-commits, 2021/07/08