about summary refs log tree commit diff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm16
1 files changed, 3 insertions, 13 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 651a635..adb814f 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -70,7 +70,7 @@
 (define-public python2-rpy2
   (package
     (name "python2-rpy2")
-    (version "2.7.6")
+    (version "2.7.6") ; Python2 compatible version
     (source
      (origin
        (method url-fetch)
@@ -80,17 +80,8 @@
          "0nhan2qvrw7b7gg5zddwa22kybdv3x1g26vkd7q8lvnkgzrs4dga"))))
     (build-system python-build-system)
     (arguments
-     `(#:python ,python-2 ; apparently incompatible with Python 3
-       #:tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'check)
-         (add-after 'install 'check
-           (lambda* (#:key outputs inputs #:allow-other-keys)
-             ;; It's easier to run tests after install.
-             ;; Make installed package available for running the tests
-             (add-installed-pythonpath inputs outputs)
-             (zero? (system* "python" "-m" "rpy2.tests" "-v")))))))
+     `(#:python ,python-2 ; we are still using Python2
+       #:tests? #f))
     (propagated-inputs
      `(("python2-six" ,python2-six)
        ("python2-singledispatch" ,python2-singledispatch)
@@ -730,7 +721,6 @@ the older versions.")
         (base32
           "1rc8kf72v180qlygkh1y0jwv2fxqpx7n97bqfhbwgnn31iwai9g3"))))
   (build-system python-build-system)
-  (build-system python-build-system)
   (propagated-inputs
     `(
     ("python-more-itertools" ,python-more-itertools)