From d0b3bb9df7dd04449d7d9a4d0e7f4b67b255a3e6 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Thu, 8 Jul 2021 17:07:49 +0200 Subject: gnu: python-watchgod: Respect "--without-tests". * gnu/packages/python-xyz.scm (python-watchgod)[arguments]<#:phases>{check}: Respect #:tests?. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5a44043635..2bb33dbd63 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23348,8 +23348,9 @@ but portable.") `(#: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-coverage" ,python-coverage) ("python-docutils" ,python-docutils) -- cgit v1.2.3