guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: pbtranscript-tofu: Delete pre-built libraries.


From: Ricardo Wurmus
Subject: 01/02: gnu: pbtranscript-tofu: Delete pre-built libraries.
Date: Tue, 31 Mar 2015 18:04:57 +0000

rekado pushed a commit to branch master
in repository guix.

commit 49261e45d8a9e2ff42a10950306c92b547ea3e8f
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Mar 31 12:37:31 2015 +0200

    gnu: pbtranscript-tofu: Delete pre-built libraries.
    
    * gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete
      "build" directory and any shared objects after unpacking.
---
 gnu/packages/bioinformatics.scm |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 651018e..f6db5a8 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -750,15 +750,18 @@ files and writing bioinformatics applications.")
             (chdir "pbtranscript-tofu/pbtranscript/")
             ;; Delete clutter
             (delete-file-recursively "dist/")
+            (delete-file-recursively "build/")
             (delete-file-recursively "setuptools_cython-0.2.1-py2.6.egg/")
             (delete-file-recursively "pbtools.pbtranscript.egg-info")
             (delete-file "Cython-0.20.1.tar.gz")
             (delete-file "setuptools_cython-0.2.1-py2.7.egg")
             (delete-file "setuptools_cython-0.2.1.tar.gz")
             (delete-file "setup.cfg")
+            (for-each delete-file
+                      (find-files "." "\\.so$"))
             ;; files should be writable for install phase
             (for-each (lambda (f) (chmod f #o755))
-                      (find-files "." "\\.py")))
+                      (find-files "." "\\.py$")))
           %standard-phases)))
       (inputs
        `(("python-cython" ,python2-cython)



reply via email to

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