view tool_dependencies.xml @ 6:3d82cb97b67c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_matplotlib_1_4 commit 26e1a6c62f83e82c02f2cdc10180090181ec0374-dirty
author iuc
date Fri, 02 Oct 2015 08:36:01 -0400
parents 800d4bab57d5
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="numpy" version="1.9">
       <repository changeset_revision="d6f39c80e75b" name="package_numpy_1_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="freetype" version="2.5.2">
        <repository changeset_revision="d635a8f02a1e" name="package_freetype_2_5_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="libpng" version="1.6.7">
        <repository changeset_revision="05df724aefbb" name="package_libpng_1_6_7" 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="matplotlib" version="1.4">
        <install version="1.0">
            <actions>
                <!-- first action is always downloading -->
                <action md5sum="86af2e3e3c61849ac7576a6f5ca44267" type="download_by_url">https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.4.3.tar.gz</action>

                <!-- populate the environment variables from the dependend repos -->
                <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="d6f39c80e75b" name="package_numpy_1_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="numpy" version="1.9" />
                    </repository>
                    <repository changeset_revision="d635a8f02a1e" name="package_freetype_2_5_2" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="freetype" version="2.5.2" />
                    </repository>
                    <repository changeset_revision="05df724aefbb" name="package_libpng_1_6_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="libpng" version="1.6.7" />
                    </repository>
                </action>

                <!-- install matplotlib -->
                <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="PYTHONPATH">$ENV[PYTHONPATH_NUMPY]</environment_variable>
                    <environment_variable action="prepend_to" name="PATH">$ENV[PATH_NUMPY]</environment_variable>
                    <environment_variable action="set_to" name="PYTHONPATH_MATPLOTLIB">$INSTALL_DIR/lib/python</environment_variable>
                </action>
            </actions>
        </install>
        <readme>Compiling matplotlib requires a C compiler (typically gcc) and libpng.</readme>
    </package>
</tool_dependency>