changeset 1:997181c8671c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_python_2_7 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 10:47:57 -0400
parents 44bb4258922f
children 5caf592bb259
files tool_dependencies.xml
diffstat 1 files changed, 36 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue May 19 15:00:33 2015 -0400
+++ b/tool_dependencies.xml	Fri Jul 17 10:47:57 2015 -0400
@@ -3,39 +3,33 @@
   <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="readline" version="6.2">
     <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
   </package>
-
   <package name="bzlib" version="1.0.6">
-    <repository changeset_revision="f744bc704064" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    <repository changeset_revision="c494aad769a8" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
   </package>
-
   <package name="xz" version="5.0.5">
     <repository changeset_revision="0f72eb330da4" name="package_xz_5_0_5" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
   </package>
-
-  <package name="openssl" version="1.0.1">
-    <repository changeset_revision="a8db64fce735" name="package_openssl_1_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    <!--
+  <package name="openssl" version="1.0">
+    <repository name="package_openssl_1_0" owner="iuc" prior_installation_required="True" />
   </package>
-
+    -->
   <package name="sqlite" version="3.8.3">
     <repository changeset_revision="706b1f3b1fc0" name="package_sqlite_3_8_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
   </package>
-
   <package name="gdbm" version="1.11">
-    <repository changeset_revision="ad3c23208758" name="package_gdbm_1_11" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+    <repository changeset_revision="ed2537bccffc" name="package_gdbm_1_11" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
   </package>
-
   <package name="ncurses" version="5.9">
     <repository changeset_revision="5e1760c773ba" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
   </package>
-
   <package name="python" version="2.7">
     <install version="1.0">
       <actions>
-        <action type="download_by_url">https://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz</action>
+        <action type="download_by_url">https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz</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">
@@ -44,48 +38,58 @@
           <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
             <package name="readline" version="6.2" />
           </repository>
-          <repository changeset_revision="f744bc704064" name="package_bzlib_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+          <repository changeset_revision="c494aad769a8" name="package_bzlib_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
             <package name="bzlib" version="1.0.6" />
           </repository>
           <repository changeset_revision="0f72eb330da4" name="package_xz_5_0_5" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
             <package name="xz" version="5.0.5" />
           </repository>
-          <repository changeset_revision="a8db64fce735" name="package_openssl_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
-            <package name="openssl" version="1.0.1" />
-          </repository>
           <repository changeset_revision="706b1f3b1fc0" name="package_sqlite_3_8_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
             <package name="sqlite" version="3.8.3" />
           </repository>
-          <repository changeset_revision="ad3c23208758" name="package_gdbm_1_11" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
+            <!--
+          <repository name="package_openssl_1_0" owner="iuc">
+            <package name="openssl" version="1.0" />
+          </repository>
+            -->
+          <repository changeset_revision="ed2537bccffc" name="package_gdbm_1_11" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
             <package name="gdbm" version="1.11" />
           </repository>
           <repository changeset_revision="5e1760c773ba" name="package_ncurses_5_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
             <package name="ncurses" version="5.9" />
           </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" />
+        <action type="download_file">https://bitbucket.org/pypa/setuptools/get/6.1.tar.bz2</action>
+        <action type="shell_command">tar -xjf 6.1.tar.bz2</action>
+        <action type="change_directory">pypa-setuptools-7ea80190d494</action>
 
-        <action type="download_file">https://bitbucket.org/pypa/setuptools/get/5.2.tar.bz2</action>
-        <action type="shell_command">tar -xjf 5.2.tar.bz2</action>
-        <action type="change_directory">pypa-setuptools-f493e6c4ffd8</action>
-
-        <action type="shell_command">export PATH=$PATH:$INSTALL_DIR/bin &amp;&amp;
+        <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;
-            $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR</action>
+            $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="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="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/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="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>