aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-03-31 12:37:31 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-03-31 20:04:32 +0200
commit49261e45d8a9e2ff42a10950306c92b547ea3e8f (patch)
tree8da2f84454a793ffaf2507f9da29a1718d6d2bbb /gnu/packages/bioinformatics.scm
parent32f77c0445b811481e011674ba6cfdfb22ead3c1 (diff)
downloadguix-49261e45d8a9e2ff42a10950306c92b547ea3e8f.tar
guix-49261e45d8a9e2ff42a10950306c92b547ea3e8f.tar.gz
gnu: pbtranscript-tofu: Delete pre-built libraries.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete "build" directory and any shared objects after unpacking.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r--gnu/packages/bioinformatics.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 651018e0f5..f6db5a8e65 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)