Mercurial > repos > iuc > package_imaging_1_1_7
changeset 0:d5f2627f4cfd draft default tip
Uploaded tool dependency definition
author | iuc |
---|---|
date | Sat, 28 Mar 2015 16:27:59 -0400 |
parents | |
children | |
files | tool_dependencies.xml |
diffstat | 1 files changed, 45 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Sat Mar 28 16:27:59 2015 -0400 @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="tiff" version="4.0.3"> + <repository changeset_revision="e35a4a8b7e33" name="package_tiff_4_0_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" /> + </package> + <package name="freetype" version="2.4.11"> + <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" /> + </package> + <package name="zlib" version="1.2.8"> + <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" /> + </package> + <package name="imaging" version="1.1.7"> + <install version="1.0"> + <actions> + <action type="download_by_url">http://effbot.org/downloads/Imaging-1.1.7.tar.gz</action> + <action type="make_directory">$INSTALL_DIR/lib/python</action> + <action type="set_environment_for_install"> + <repository changeset_revision="63a4a902cda2" name="package_zlib_1_2_8" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu"> + <package name="zlib" version="1.2.8" /> + </repository> + <repository changeset_revision="e35a4a8b7e33" name="package_tiff_4_0_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu"> + <package name="tiff" version="4.0.3" /> + </repository> + <repository changeset_revision="022adf7d6195" name="package_freetype_2_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu"> + <package name="freetype" version="2.4.11" /> + </repository> + </action> + <action type="shell_command"> + export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && + sed -i.bak "s#ZLIB_ROOT = None#ZLIB_ROOT = '$ZLIB_ROOT_PATH'#" setup.py && + sed -i.bak "s#TIFF_ROOT = None#TIFF_ROOT = '$TIFF_ROOT'#" setup.py && + sed -i.bak "s#FREETYPE_ROOT = None#FREETYPE_ROOT = '$FREETYPE_ROOT'#" setup.py && + 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_IMAGING">$INSTALL_DIR/lib/python</environment_variable> + <environment_variable action="set_to" name="PATH_IMAGING">$INSTALL_DIR/bin</environment_variable> + </action> + </actions> + </install> + <readme /> + </package> +</tool_dependency>