From bcff673a068444db93fc840123947c283cac163f Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Thu, 8 Jul 2021 17:07:49 +0200 Subject: [PATCH 2/7] gnu: python-watchgod: Respect "--without-tests". * gnu/packages/python-xyz.scm (python-watchgod)[arguments]<#:phases>{check}: Respect #:tests?. --- 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 d42119fd3c..1a35f02edb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23419,8 +23419,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) -- 2.32.0