Subject: [PATCH] python-rpy2: Propagate python2-singledispatch

From: Pjotr Prins <[email-masked]>
Date: Tue, 7 Mar 2017 10:28:57 +0000

From: Pjotr Prins <[email-masked]>

* gnu/packages/python.scm (python-rp2): Fixes availability of singledispatch
when actually using the RPy2 package.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5b86980..3b01a9a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3836,9 +3836,9 @@ functions.")
 (define-public python2-rpy2
   (let ((rpy2 (package-with-python2 python-rpy2)))
     (package (inherit rpy2)
-      (native-inputs
+      (propagated-inputs
        `(("python2-singledispatch" ,python2-singledispatch)
-         ,@(package-native-inputs rpy2))))))
+         ,@(package-propagated-inputs rpy2))))))
 
 (define-public python-scipy
   (package
-- 
2.8.4