changeset 0:218c5b67206d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_rpy2_2_3_6 commit 0c094c3df9574cb057ccb65878f98f300d5b0a09
author iuc
date Tue, 19 May 2015 15:01:27 -0400
parents
children b95be27b8ebf
files tool_dependencies.xml
diffstat 1 files changed, 39 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Tue May 19 15:01:27 2015 -0400
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="R_3_0_1" version="3.0.1">
+        <repository changeset_revision="c5ff6dd33c79" name="package_r_3_0_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="readline" version="6.2">
+        <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="rpy2_2_3_6" version="2.3.6">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://pypi.python.org/packages/source/r/rpy2/rpy2-2.3.6.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="readline" version="6.2" />
+                    </repository>
+                    <repository changeset_revision="c5ff6dd33c79" name="package_r_3_0_1" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+                        <package name="R_3_0_1" version="3.0.1" />
+                    </repository>
+                </action>
+
+                <action type="shell_command">
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
+                    export LDFLAGS="-L$READLINE_LIB_PATH -lreadline" &amp;&amp;
+                    export CPPFLAGS="-I$READLINE_INCLUDE_PATH" &amp;&amp;
+                    python setup.py build --r-home $R_HOME --r-home-lib $R_HOME/lib install --install-lib $INSTALL_DIR/lib/python
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[READLINE_LIB_PATH]</environment_variable>
+                    <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[RHOME]/lib</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>rpy2 is a redesign and rewrite of rpy. It is providing a low-level interface to R, a proposed high-level interface, including wrappers to graphical libraries, as well as R-like structures and functions.
+        http://rpy.sourceforge.net/rpy2.html
+        </readme>
+    </package>
+</tool_dependency>