guix-commits
[Top][All Lists]
Advanced

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

92/103: gnu: python-testlib: Remove useless self-defined phase "unpack".


From: Hartmut Goebel
Subject: 92/103: gnu: python-testlib: Remove useless self-defined phase "unpack".
Date: Tue, 25 Oct 2016 17:47:57 +0000 (UTC)

htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit d26ae43915ee91d93fd3785d887a8469fda57505
Author: Hartmut Goebel <address@hidden>
Date:   Sun Oct 16 22:16:58 2016 +0200

    gnu: python-testlib: Remove useless self-defined phase "unpack".
    
    Unzipping is now done by standard-phase "unpack" automatically.
    
    * gnu/packages/python.scm (python-testlib, python2-testlib)[phases] No 
longer
      replace "unpack".
---
 gnu/packages/python.scm |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a6e3044..e738383 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4883,18 +4883,7 @@ falling into the Python interpreter.")
         (base32 "1mz26cxn4x8bbgv0rn0mvj2z05y31rkc8009nvdlb3lam5b4mj3y"))))
     (build-system python-build-system)
     (native-inputs
-     `(("unzip" ,unzip)))
-    (arguments
-     `(#:phases
-       (alist-replace
-        'unpack
-        (lambda* (#:key inputs outputs #:allow-other-keys)
-          (let ((unzip (string-append (assoc-ref inputs "unzip")
-                                      "/bin/unzip"))
-                (source (assoc-ref inputs "source")))
-            (and (zero? (system* unzip source))
-                 (chdir (string-append "testlib-" ,version)))))
-        %standard-phases)))
+     `(("unzip" ,unzip)))  ; for unpacking the source
     (synopsis "Python micro test suite harness")
     (description "A micro unittest suite harness for Python.")
     (home-page "https://github.com/trentm/testlib";)



reply via email to

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