From de6be0237933cd5b807f33a56a9b0bc3b5beda80 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 27 Mar 2019 00:03:31 +0100 Subject: gnu: python-django-contact-form: Use INVOKE. * gnu/packages/django.scm (python-django-contact-form)[arguments]: Use INVOKE. --- gnu/packages/django.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/django.scm') diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 8fd29d533a..99eeb66e9c 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -519,9 +519,9 @@ (define-public python-django-contact-form (replace 'check (lambda _ ;; the next version will need "make test" - (and (zero? (system* "flake8" "contact_form")) - (zero? (system* "coverage" "run" "contact_form/runtests.py")) - (zero? (system* "coverage" "report" "-m" "--fail-under" "0")))))))) + (invoke "flake8" "contact_form") + (invoke "coverage" "run" "contact_form/runtests.py") + (invoke "coverage" "report" "-m" "--fail-under" "0")))))) (native-inputs `(("python-coverage" ,python-coverage) ("python-flake8" ,python-flake8))) -- cgit v1.2.3 From dd2f0cdba13e291946637c5e5ef2fefd5027d88d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 27 Mar 2019 00:04:07 +0100 Subject: gnu: python-django-overextends: Use INVOKE. * gnu/packages/django.scm (python-django-overextends)[arguments]: Use INVOKE. --- gnu/packages/django.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/packages/django.scm') diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 99eeb66e9c..8ea9dca16a 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -577,8 +577,7 @@ (define-public python-django-overextends `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (zero? (system* "./test_project/manage.py" "test"))))))) + (lambda _ (invoke "./test_project/manage.py" "test")))))) (propagated-inputs `(("python-django" ,python-django))) (native-inputs -- cgit v1.2.3