guix-commits
[Top][All Lists]
Advanced

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

94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory.


From: Hartmut Goebel
Subject: 94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory.
Date: Tue, 25 Oct 2016 18:00:44 +0000 (UTC)

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

commit 8d3ff2c33b7ab2e85cf5c0d10f1732cb2241d2a8
Author: Hartmut Goebel <address@hidden>
Date:   Wed Oct 19 23:45:12 2016 +0200

    gnu: python2-warpedlmm: Remove phase remove-bin-directory.
    
    This directory did contain contain wrappers for `nose`, which should not
    be there anyway (since nose already was a native-input). The new
    python build system no longer creates this directory, while the old one
    did. (This difference is due to the bloody details of how packages are
    installed.)
    
    * gnu/packages/bioinformatics.scm (python2-warpedlmm)
      [modify-phases] Remove, since remove-bin-directory was the only
      modification here.
---
 gnu/packages/bioinformatics.scm |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8dabf38..4ff8200 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3500,18 +3500,7 @@ files and writing bioinformatics applications.")
          "1agfz6zqa8nc6cw47yh0s3y14gkpa9wqazwcj7mwwj3ffnw39p3j"))))
     (build-system python-build-system)
     (arguments
-     `(#:python ,python-2  ; requires Python 2.7
-       #:phases
-       (modify-phases %standard-phases
-         (add-after
-          'install 'remove-bin-directory
-          (lambda* (#:key outputs #:allow-other-keys)
-            ;; The "bin" directory only contains wrappers for running
-            ;; the module tests.  They are not needed after the
-            ;; "check" phase.
-            (delete-file-recursively
-             (string-append (assoc-ref outputs "out") "/bin"))
-            #t)))))
+     `(#:python ,python-2))  ; requires Python 2.7
     (propagated-inputs
      `(("python-scipy" ,python2-scipy)
        ("python-numpy" ,python2-numpy)



reply via email to

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