From 0ec8b206d496b3c976d2a5a7cbf7ac3f136181e6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 17 Jun 2015 12:14:39 +0200 Subject: 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". --- gnu/packages/bioinformatics.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu') 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 @@ (define-public miso (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 @@ (define-public miso ("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 -- cgit v1.2.3