0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="openssl" version="1.0.1g">
|
|
4 <repository changeset_revision="3b19041c651c" name="package_openssl_1_0" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="pydoop" version="0.11">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://downloads.sourceforge.net/project/pydoop/Pydoop-0.11/pydoop-0.11.1.tar.gz</action>
|
|
10 <action type="set_environment_for_install">
|
|
11 <repository changeset_revision="3b19041c651c" name="package_openssl_1_0" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
12 <package name="openssl" version="1.0.1g" />
|
|
13 </repository>
|
|
14 </action>
|
|
15 <action type="make_directory">$INSTALL_DIR/lib/python</action>
|
|
16 <action type="shell_command">export LIBRARY_PATH=$OPENSSL_ROOT_DIR/lib:$LIBRARY_PATH && export JAVA_HOME=$(readlink -f $(which java)|sed 's|/jre/bin/java$||') && export HADOOP_HOME=$(readlink -f $(which hadoop)|sed 's|/bin/hadoop$||') && export PYTHONPATH=$INSTALL_DIR/lib/python:$PYTHONPATH && python setup.py install --prefix=$INSTALL_DIR --install-lib=$INSTALL_DIR/lib/python</action><!-- "export LIBRARY_PATH=$OPENSSL_ROOT_DIR/lib:$LIBRARY_PATH &&" may be removed when package_openssl_1_0 is updated -->
|
|
17 <action type="set_environment">
|
|
18 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
19 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable>
|
|
20 </action>
|
|
21 </actions>
|
|
22 </install>
|
|
23 <readme>
|
|
24 This package requires that Hadoop is already installed and that the 'hadoop' executable is in the PATH.
|
|
25 </readme>
|
|
26 </package>
|
|
27 </tool_dependency>
|