| 1 |
[buildout]
|
| 2 |
# XXX: Extends shall not jump out of software
|
| 3 |
extends =
|
| 4 |
bzip2.cfg
|
| 5 |
gdbm.cfg
|
| 6 |
gettext.cfg
|
| 7 |
ncurses.cfg
|
| 8 |
openssl.cfg
|
| 9 |
readline.cfg
|
| 10 |
sqlite3.cfg
|
| 11 |
zlib.cfg
|
| 12 |
|
| 13 |
parts =
|
| 14 |
python2.6
|
| 15 |
|
| 16 |
[python-2.6.6-no_system_inc_dirs.patch]
|
| 17 |
recipe = hexagonit.recipe.download
|
| 18 |
url = http://www.nexedi.org/static/patches/${:filename}
|
| 19 |
path = ${:filename}
|
| 20 |
md5sum = ed7f8e11a97e45e5e09649c8b242e917
|
| 21 |
download-only = true
|
| 22 |
filename = python-2.6.6-no_system_inc_dirs.patch
|
| 23 |
|
| 24 |
[python2.6]
|
| 25 |
recipe = hexagonit.recipe.cmmi
|
| 26 |
# This is actually the default setting for prefix, but we can't use it in
|
| 27 |
# other settings in this part if we don't set it explicitly here.
|
| 28 |
prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
|
| 29 |
version = 2.6
|
| 30 |
package_version = ${:version}.6
|
| 31 |
executable = ${:prefix}/bin/python${:version}
|
| 32 |
|
| 33 |
url =
|
| 34 |
http://python.org/ftp/python/${:package_version}/Python-${:package_version}.tgz
|
| 35 |
md5sum = b2f209df270a33315e62c1ffac1937f0
|
| 36 |
patch-options = -p1
|
| 37 |
patches =
|
| 38 |
${python-2.6.6-no_system_inc_dirs.patch:location}/${python-2.6.6-no_system_inc_dirs.patch:filename}
|
| 39 |
configure-options =
|
| 40 |
--enable-unicode=ucs4
|
| 41 |
--with-threads
|
| 42 |
|
| 43 |
environment =
|
| 44 |
CPPFLAGS=-I${zlib:location}/include -I${readline:location}/include -I${ncurses:location}/include/ -I${ncurses:location}/include/ncursesw/ -I${bzip2:location}/include -I${gdbm:location}/include -I${openssl:location}/include -I${sqlite3:location}/include -I${gettext:location}/include
|
| 45 |
LDFLAGS=-L${zlib:location}/lib -L${readline:location}/lib -L${ncurses:location}/lib -L${bzip2:location}/lib -L${gdbm:location}/lib -L${openssl:location}/lib -L${sqlite3:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -Wl,-rpath -Wl,${readline:location}/lib -Wl,-rpath -Wl,${ncurses:location}/lib -Wl,-rpath -Wl,${bzip2:location}/lib -Wl,-rpath -Wl,${gdbm:location}/lib -Wl,-rpath -Wl,${openssl:location}/lib -Wl,-rpath -Wl,${sqlite3:location}/lib -L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib
|
| 46 |
|
| 47 |
[bootstrap2.6]
|
| 48 |
recipe = zc.recipe.egg
|
| 49 |
eggs = zc.buildout
|
| 50 |
suffix =
|
| 51 |
scripts =
|
| 52 |
buildout=bootstrap2.6
|
| 53 |
arguments = sys.argv[1:] + ["bootstrap"]
|
| 54 |
python = python2.6
|