Repository 'package_rpy_1_0_3'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/package_rpy_1_0_3

Changeset 0:82170c94ca7c (2014-04-01)
Commit message:
Imported from capsule None
added:
tool_dependencies.xml
b
diff -r 000000000000 -r 82170c94ca7c tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Tue Apr 01 10:47:51 2014 -0400
b
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="R" version="2.11.0">
+      <repository changeset_revision="6e1b17857732" name="package_r_2_11_0" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="rpy" version="1.0.3">
+      <install version="1.0">
+          <actions>
+              <!--
+                Need to download from depot.galaxyproject.org, because the distributed version of rpy 1.0.3 
+                doesn't recognize R 2.11.0 as a valid version.
+                -->
+                <action type="download_by_url">http://depot.galaxyproject.org/package/source/rpy-1.0.3.tar.gz</action>
+                <action type="set_environment_for_install">
+                  <repository changeset_revision="6e1b17857732" name="package_r_2_11_0" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                      <package name="R" version="2.11.0" />
+                    </repository>
+                </action>
+                <action type="make_directory">$INSTALL_DIR/lib/python</action>
+                <action type="shell_command">
+                    export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 
+                    python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin
+                </action>
+                <action type="set_environment">
+                  <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="PYTHONPATH_RPY">$INSTALL_DIR/lib/python</environment_variable>
+                    <environment_variable action="set_to" name="PATH_RPY">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme />
+    </package>
+</tool_dependency>