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