aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-06-17 12:14:39 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-06-23 13:13:03 +0200
commit0ec8b206d496b3c976d2a5a7cbf7ac3f136181e6 (patch)
treea237976d49603193ba822494e00724375c4b43a5
parentc4325f626944b0ee45e670c4e2550f77a303ca16 (diff)
downloadguix-0ec8b206d496b3c976d2a5a7cbf7ac3f136181e6.tar
guix-0ec8b206d496b3c976d2a5a7cbf7ac3f136181e6.tar.gz
gnu: miso: Install executables.
* gnu/packages/bioinformatics.scm (miso)[source]: Patch "setup.py" to use "setuptools" so that executables are built. * gnu/packages/bioinformatics.scm (miso)[native-inputs]: Add "python2-mock" and "python2-pytz".
-rw-r--r--gnu/packages/bioinformatics.scm9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 00bf6915bc..6b87e8962b 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1230,9 +1230,12 @@ sequencing tag position and orientation.")
(base32
"0x446867az8ir0z8c1vjqffkp0ma37wm4sylixnkhgawllzx8v5w"))
(modules '((guix build utils)))
- ;; use "gcc" instead of "cc" for compilation
(snippet
'(substitute* "setup.py"
+ ;; Use setuptools, or else the executables are not
+ ;; installed.
+ (("distutils.core") "setuptools")
+ ;; use "gcc" instead of "cc" for compilation
(("^defines")
"cc.set_executables(
compiler='gcc',
@@ -1250,7 +1253,9 @@ linker_so='gcc -shared'); defines")))))
("python-scipy" ,python2-scipy)
("python-matplotlib" ,python2-matplotlib)))
(native-inputs
- `(("python-setuptools" ,python2-setuptools)))
+ `(("python-mock" ,python2-mock) ;for tests
+ ("python-pytz" ,python2-pytz) ;for tests
+ ("python-setuptools" ,python2-setuptools)))
(home-page "http://genes.mit.edu/burgelab/miso/index.html")
(synopsis "Mixture of Isoforms model for RNA-Seq isoform quantitation")
(description