0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="zlib" version="1.2.8">
|
|
4 <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="readline" version="6.3">
|
|
7 <repository changeset_revision="de22495ddf2b" name="package_readline_6_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="bzlib" version="1.0.6">
|
|
10 <repository changeset_revision="29f79feefc77" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
11 </package>
|
|
12 <package name="xz" version="5.0.5">
|
|
13 <repository changeset_revision="c9d30f1de10a" name="package_xz_5_0_5" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
14 </package>
|
|
15 <package name="sqlite" version="3.8.3">
|
|
16 <repository changeset_revision="9ba893c2353f" name="package_sqlite_3_8_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
17 </package>
|
|
18 <package name="gdbm" version="1.11">
|
|
19 <repository changeset_revision="77ea468f199e" name="package_gdbm_1_11" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
20 </package>
|
|
21 <package name="ncurses" version="6.0">
|
|
22 <repository changeset_revision="bc016af62878" name="package_ncurses_6_0" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
23 </package>
|
|
24 <package name="python" version="2.7.10">
|
|
25 <install version="1.0">
|
|
26 <actions>
|
|
27 <action type="download_by_url">https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz</action>
|
|
28
|
|
29 <action type="set_environment_for_install">
|
|
30 <repository changeset_revision="03abe628fbe8" name="package_zlib_1_2_8" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
31 <package name="zlib" version="1.2.8" />
|
|
32 </repository>
|
|
33 <repository changeset_revision="de22495ddf2b" name="package_readline_6_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
34 <package name="readline" version="6.3" />
|
|
35 </repository>
|
|
36 <repository changeset_revision="29f79feefc77" name="package_bzlib_1_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
37 <package name="bzlib" version="1.0.6" />
|
|
38 </repository>
|
|
39 <repository changeset_revision="c9d30f1de10a" name="package_xz_5_0_5" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
40 <package name="xz" version="5.0.5" />
|
|
41 </repository>
|
|
42 <repository changeset_revision="9ba893c2353f" name="package_sqlite_3_8_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
43 <package name="sqlite" version="3.8.3" />
|
|
44 </repository>
|
|
45 <repository changeset_revision="77ea468f199e" name="package_gdbm_1_11" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
46 <package name="gdbm" version="1.11" />
|
|
47 </repository>
|
|
48 <repository changeset_revision="bc016af62878" name="package_ncurses_6_0" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
49 <package name="ncurses" version="6.0" />
|
|
50 </repository>
|
|
51 </action>
|
|
52 <!-- by default python is not looking af LD_INCLUDE_PATH and Co. -->
|
|
53 <action type="shell_command">sed -i.bak -e "s/if host_platform == 'atheos':/if True:/g" setup.py</action>
|
|
54 <action type="autoconf">--enable-shared</action>
|
|
55 <action type="download_file">https://bitbucket.org/pypa/setuptools/get/18.2.tar.bz2</action>
|
|
56 <action type="shell_command">tar -xjf 18.2.tar.bz2</action>
|
|
57 <action type="change_directory">pypa-setuptools-1a981f2e5031</action>
|
|
58
|
|
59 <action type="shell_command">
|
|
60 export PATH=$PATH:$INSTALL_DIR/bin &&
|
|
61 export PYTHONHOME=$INSTALL_DIR &&
|
|
62 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR &&
|
|
63 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python2.7/site-packages/ &&
|
|
64 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$INSTALL_DIR/lib/pkgconfig &&
|
|
65 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
|
|
66 </action>
|
|
67 <action type="set_environment">
|
|
68 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
69 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
|
|
70 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable>
|
|
71 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python2.7</environment_variable>
|
|
72 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python2.7/site-packages</environment_variable>
|
|
73 <environment_variable action="set_to" name="PYTHONHOME">$INSTALL_DIR</environment_variable>
|
|
74 <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
|
|
75 <environment_variable action="prepend_to" name="PYTHON_ROOT_DIR">$INSTALL_DIR</environment_variable>
|
|
76 </action>
|
|
77 </actions>
|
|
78 </install>
|
|
79
|
|
80 <readme>
|
|
81 The Python programming language version 2.7.10
|
|
82
|
|
83 http://www.python.org
|
|
84 </readme>
|
|
85
|
|
86 </package>
|
|
87 </tool_dependency>
|