changeset 1:09e6ec4fbbe0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 9cb24ec3ae97ad10c28eda52169feea44e2cddfa
author iuc
date Thu, 12 Nov 2015 10:36:05 -0500
parents f257b2dba774
children c02c1e1abd48
files tool_dependencies.xml
diffstat 1 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Wed Nov 11 09:44:49 2015 -0500
+++ b/tool_dependencies.xml	Thu Nov 12 10:36:05 2015 -0500
@@ -1,13 +1,23 @@
 <?xml version="1.0"?>
 <tool_dependency>
+    <package name="bz2file" version="0.98">
+        <repository changeset_revision="73382c8fa8f3" name="package_bz2file_0_98" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="screed" version="0.9">
+        <repository changeset_revision="639e5e37404d" name="package_screed_0_9" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
     <package name="khmer" version="2.0">
         <install version="1.0">
             <actions>
-                <action type="setup_python_environment">
-                    <repository changeset_revision="eb37ce21eef1" name="package_python_2_7" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
-                        <package name="python" version="2.7" />
-                    </repository>
-                    <package md5sum="1f610abd021254e21b082179a100cd39">https://pypi.python.org/packages/source/k/khmer/khmer-2.0.tar.gz</package>
+                <action md5sum="1f610abd021254e21b082179a100cd39" type="download_by_url">https://pypi.python.org/packages/source/k/khmer/khmer-2.0.tar.gz</action>
+                <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="PATH">$INSTALL_DIR/bin</environment_variable>
                 </action>
             </actions>
         </install>