about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2017-12-20 10:07:16 -0600
committerPjotr Prins2017-12-20 10:07:16 -0600
commited9ba70c478e54c2e03d56a9cf5d1c67ff498e8e (patch)
tree95533b5b660c7ac38c99b618383426d3b3ec2adb
parent9df032aa61bb669faf49fbadaf86d7319bf2801b (diff)
downloadguix-bioinformatics-ed9ba70c478e54c2e03d56a9cf5d1c67ff498e8e.tar.gz
Fixed Rpy2
-rw-r--r--gn/packages/python.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 34d0134..d489b7a 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -58,7 +58,9 @@
          "0nhan2qvrw7b7gg5zddwa22kybdv3x1g26vkd7q8lvnkgzrs4dga"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:python ,python-2 ; apparently incompatible with Python 3
+       #:tests? #f
+       #:phases
        (modify-phases %standard-phases
          (delete 'check)
          (add-after 'install 'check
@@ -68,7 +70,9 @@
              (add-installed-pythonpath inputs outputs)
              (zero? (system* "python" "-m" "rpy2.tests" "-v")))))))
     (propagated-inputs
-     `(("python2-six" ,python2-six)))
+     `(("python2-six" ,python2-six)
+       ("python2-singledispatch" ,python2-singledispatch)
+     ))
     (inputs
      `(("readline" ,readline)
        ("icu4c" ,icu4c)
@@ -77,7 +81,6 @@
        ("r-survival" ,r-survival)))
     (native-inputs
      `(("zlib" ,zlib)))
-  (arguments `(#:tests? #f)) ;; No tests.
     (home-page "http://rpy.sourceforge.net/")
     (synopsis "Python interface to the R language")
     (description "rpy2 is a redesign and rewrite of rpy.  It is providing a