gnu: python-django-contact-form: Use INVOKE.

* gnu/packages/django.scm (python-django-contact-form)[arguments]: Use INVOKE.
This commit is contained in:
Ricardo Wurmus 2019-03-27 00:03:31 +01:00
parent 7cdc7e579b
commit de6be02379
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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)))