view tool_dependencies.xml @ 51:a03693de8e0c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_python_2_7 commit b33f41a96ea17897ec4e84b32958488b496ef5dc
author iuc
date Wed, 07 Mar 2018 06:28:28 -0500
parents 409e51c1c555
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="zlib" version="1.2.8">
    <repository changeset_revision="3348f1acee2a" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="readline" version="6.3">
    <repository changeset_revision="de22495ddf2b" name="package_readline_6_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="bzlib" version="1.0.6">
    <repository changeset_revision="29f79feefc77" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="xz" version="5.0.5">
    <repository changeset_revision="c9d30f1de10a" name="package_xz_5_0_5" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="sqlite" version="3.8.3">
    <repository changeset_revision="9ba893c2353f" name="package_sqlite_3_8_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="gdbm" version="1.11">
    <repository changeset_revision="77ea468f199e" name="package_gdbm_1_11" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="ncurses" version="6.0">
    <repository changeset_revision="15e2190c87ca" name="package_ncurses_6_0" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="python" version="2.7">
    <install version="1.0">
      <actions>
        <action sha256sum="eda8ce6eec03e74991abb5384170e7c65fcd7522e409b8e83d7e6372add0f12a" type="download_by_url">https://depot.galaxyproject.org/software/python/python_2.7_src_all.tar.gz</action>

        <action type="set_environment_for_install">
          <repository changeset_revision="3348f1acee2a" name="package_zlib_1_2_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="zlib" version="1.2.8" />
          </repository>
          <repository changeset_revision="de22495ddf2b" name="package_readline_6_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="readline" version="6.3" />
          </repository>
          <repository changeset_revision="29f79feefc77" name="package_bzlib_1_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="bzlib" version="1.0.6" />
          </repository>
          <repository changeset_revision="c9d30f1de10a" name="package_xz_5_0_5" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="xz" version="5.0.5" />
          </repository>
          <repository changeset_revision="9ba893c2353f" name="package_sqlite_3_8_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="sqlite" version="3.8.3" />
          </repository>
          <repository changeset_revision="77ea468f199e" name="package_gdbm_1_11" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="gdbm" version="1.11" />
          </repository>
          <repository changeset_revision="15e2190c87ca" name="package_ncurses_6_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
            <package name="ncurses" version="6.0" />
          </repository>
        </action>
        <!-- by default python is not looking af LD_INCLUDE_PATH and Co. -->
        <action type="shell_command">sed -i.bak -e "s/if host_platform == 'atheos':/if True:/g" setup.py</action>

        <action type="autoconf">--enable-shared --enable-unicode=ucs4</action>
        <action sha256sum="132d9b7a69facc1a7d78d2dfa2fb5a6e93f1250c5a320634d6061854d8729aaf" type="download_file">https://github.com/pypa/setuptools/archive/18.2.tar.gz</action>
        <action type="shell_command">tar -xzf 18.2.tar.gz</action>
        <action type="change_directory">setuptools-18.2</action>

        <action type="shell_command">
            export PATH=$PATH:$INSTALL_DIR/bin &amp;&amp;
            export PYTHONHOME=$INSTALL_DIR &amp;&amp;
            export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR &amp;&amp;
            export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python2.7/site-packages/ &amp;&amp;
            export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$INSTALL_DIR/lib/pkgconfig &amp;&amp;
            export LD_LIBRARY_PATH=$INSTALL_DIR/lib/:$LD_LIBRARY_PATH &amp;&amp;

            $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
        </action>
        <action type="set_environment">
            <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
            <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
            <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable>
            <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python2.7</environment_variable>
            <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python2.7/site-packages</environment_variable>
            <environment_variable action="set_to" name="PYTHONHOME">$INSTALL_DIR</environment_variable>
            <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
            <environment_variable action="prepend_to" name="PYTHON_ROOT_DIR">$INSTALL_DIR</environment_variable>
            <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
            <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include/python2.7</environment_variable>
            <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include/python2.7</environment_variable>
            <!--
            <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$ENV[OPENSSL_ROOT_DIR]/lib/pkgconfig</environment_variable>
            <environment_variable action="prepend_to" name="LIBRARY_PATH">$ENV[OPENSSL_ROOT_DIR]/lib/</environment_variable>
            <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$ENV[OPENSSL_ROOT_DIR]/lib/</environment_variable>
            <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$ENV[OPENSSL_ROOT_DIR]/include/</environment_variable>
            <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$ENV[OPENSSL_ROOT_DIR]/include/</environment_variable>
            -->
        </action>
      </actions>
    </install>

    <readme>
      The Python programming language version 2.7.

      https://www.python.org
    </readme>

  </package>
</tool_dependency>