comparison tool_dependencies.xml @ 3:02102db6f1b9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_openbabel_2_3 commit 97a064489364118d108b0dd2cfb4d9bc53080837
author iuc
date Thu, 19 Nov 2015 13:48:46 -0500
parents ac9bf7ac1281
children 4ec0d9c57ddd
comparison
equal deleted inserted replaced
2:ac9bf7ac1281 3:02102db6f1b9
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 <package name="eigen3" version="3.1.3"> 3 <package name="eigen3" version="3.1.3">
4 <repository changeset_revision="c691cdd90be4" name="package_eigen_3_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> 4 <repository changeset_revision="43f1ac6314d1" name="package_eigen_3_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
5 </package> 5 </package>
6 <package name="openbabel" version="2.3.2"> 6 <package name="openbabel" version="2.3.2">
7 <install version="1.0"> 7 <install version="1.0">
8 <actions> 8 <actions>
9 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action> 9 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action>
10 10
11 <!-- populate the environment variables from the dependend repos --> 11 <!-- populate the environment variables from the dependend repos -->
12 <action type="set_environment_for_install"> 12 <action type="set_environment_for_install">
13 <repository changeset_revision="c691cdd90be4" name="package_eigen_3_1" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> 13 <repository changeset_revision="43f1ac6314d1" name="package_eigen_3_1" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
14 <package name="eigen3" version="3.1.3" /> 14 <package name="eigen3" version="3.1.3" />
15 </repository> 15 </repository>
16 </action> 16 </action>
17 17
18 <!-- 18 <!--
19 Huge hack, to point to the actual python lib path. Cmake gets confused with mixed python versions (2.x and 3.x) and we need to point explicitely to the recent version. 19 Huge hack, to point to the actual python lib path. Cmake gets confused with mixed python versions (2.x and 3.x) and we need to point explicitely to the recent version.
20 --> 20 -->
21 <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN3_INCLUDE_DIR=$EIGEN3_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import distutils.sysconfig; print "%s/libpython%s.so" % (distutils.sysconfig.get_config_var("LIBPL"), distutils.sysconfig.get_python_version())'`</action> 21 <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN3_INCLUDE_DIR=$EIGEN3_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import distutils.sysconfig; print "%s/libpython%s.so" % (distutils.sysconfig.get_config_var("LIBPL"), distutils.sysconfig.get_python_version())'`</action>
22 <action type="shell_command">make</action> 22 <action type="make_install" />
23 <action type="shell_command">make install</action>
24 <action type="set_environment"> 23 <action type="set_environment">
25 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 24 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
26 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable> 25 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable>
27 <!-- internal variables for open babel --> 26 <!-- internal variables for open babel -->
28 <environment_variable action="set_to" name="BABEL_DATADIR">$INSTALL_DIR/share/openbabel</environment_variable> 27 <environment_variable action="set_to" name="BABEL_DATADIR">$INSTALL_DIR/share/openbabel</environment_variable>