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
|
16
|
62
|
0
|
63 <action type="autoconf" />
|
16
|
64 <action type="download_file">https://bitbucket.org/pypa/setuptools/get/5.2.tar.bz2</action>
|
|
65 <action type="shell_command">tar -xjf 5.2.tar.bz2</action>
|
|
66 <action type="change_directory">pypa-setuptools-f493e6c4ffd8</action>
|
3
|
67
|
8
|
68 <action type="shell_command">
|
|
69 export PATH=$PATH:$INSTALL_DIR/bin &&
|
|
70 export PYTHONHOME=$INSTALL_DIR &&
|
|
71 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR &&
|
|
72 export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python2.7/site-packages/ &&
|
|
73 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$INSTALL_DIR/lib/pkgconfig &&
|
|
74 $INSTALL_DIR/bin/python setup.py install --prefix=$INSTALL_DIR
|
|
75 </action>
|
0
|
76 <action type="set_environment">
|
8
|
77 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
78 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR</environment_variable>
|
13
|
79 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable>
|
|
80 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib/python2.7/site-packages</environment_variable>
|
8
|
81 <environment_variable action="set_to" name="PYTHONHOME">$INSTALL_DIR</environment_variable>
|
|
82 <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
|
0
|
83 </action>
|
|
84 </actions>
|
|
85 </install>
|
|
86
|
|
87 <readme>
|
|
88 The Python programming language version 2.7.
|
15
|
89
|
0
|
90 http://www.python.org
|
|
91 </readme>
|
|
92
|
|
93 </package>
|
|
94 </tool_dependency>
|