aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-09-10 14:28:42 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-09-10 14:28:42 +0200
commit073705e7253d59cfc2b3c629566027edd25308f1 (patch)
tree7b3df3004b8d055310d85c3fc6296d26a58f2a22
parentd06940882dad48607a99b1cb42f41a8609fac924 (diff)
downloadpatches-073705e7253d59cfc2b3c629566027edd25308f1.tar
patches-073705e7253d59cfc2b3c629566027edd25308f1.tar.gz
gnu: python2-contextlib2: Use 'invoke' instead of 'system*'.
* gnu/packages/python.scm (python2-contextlib2)[arguments]: Use INVOKE.
-rw-r--r--gnu/packages/python.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6c94c070a7..7f208c01a2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7176,9 +7176,7 @@ be set via config files and/or environment variables.")
#: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/")