Mercurial > repos > devteam > package_rpy_1_0_3
changeset 0:82170c94ca7c draft default tip
Imported from capsule None
author | devteam |
---|---|
date | Tue, 01 Apr 2014 10:47:51 -0400 |
parents | |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 34 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Tue Apr 01 10:47:51 2014 -0400 @@ -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 && + 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>