gnu: python2-contextlib2: Use 'invoke' instead of 'system*'.

* gnu/packages/python.scm (python2-contextlib2)[arguments]: Use INVOKE.
This commit is contained in:
Marius Bakke 2018-09-10 14:28:42 +02:00
parent d06940882d
commit 073705e725
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -7176,9 +7176,7 @@ (define-public python2-contextlib2
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (zero?
(system*
"python" "test_contextlib2.py" "-v")))))))
(lambda _ (invoke "python" "test_contextlib2.py" "-v"))))))
(native-inputs
`(("python2-unittest2" ,python2-unittest2)))
(home-page "http://contextlib2.readthedocs.org/")