guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/30: build-system/python: Use invoke instead of system*.


From: Mark H. Weaver
Subject: 07/30: build-system/python: Use invoke instead of system*.
Date: Fri, 16 Mar 2018 05:03:36 -0400 (EDT)

mhw pushed a commit to branch core-updates
in repository guix.

commit e35b09ca71354f47a9fd6a7f568aa3831189c799
Author: Mark H Weaver <address@hidden>
Date:   Fri Mar 16 03:27:50 2018 -0400

    build-system/python: Use invoke instead of system*.
    
    * guix/build/python-build-system.scm (call-setuppy): Use invoke.
---
 guix/build/python-build-system.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/guix/build/python-build-system.scm 
b/guix/build/python-build-system.scm
index 507cc27..c0a4320 100644
--- a/guix/build/python-build-system.scm
+++ b/guix/build/python-build-system.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2013, 2015, 2016, 2018 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2013 Andreas Enge <address@hidden>
 ;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
-;;; Copyright © 2015 Mark H Weaver <address@hidden>
+;;; Copyright © 2015, 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2016 Hartmut Goebel <address@hidden>
 ;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
 ;;;
@@ -121,9 +121,9 @@
          (format #t "running \"python setup.py\" with command ~s and 
parameters ~s~%"
                 command params)
          (if use-setuptools?
-             (zero? (apply system* "python" "-c" setuptools-shim
-                           command params))
-             (zero? (apply system* "python" "./setup.py" command params))))
+             (apply invoke "python" "-c" setuptools-shim
+                    command params)
+             (apply invoke "python" "./setup.py" command params)))
       (error "no setup.py found")))
 
 (define* (build #:key use-setuptools? #:allow-other-keys)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]