From 672cf8848491197a4906cdf06f67d4b07386d3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 19 Nov 2010 17:08:48 +0000 Subject: [PATCH] - make profile multiselectable about version, stay with 2.7[.0] - add 2.7.1rc1 to play with easily (just use partname 2.7.1rc1) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40425 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/software-profiles/python-2.7.cfg | 37 ++++++++++++++++------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/buildout/software-profiles/python-2.7.cfg b/buildout/software-profiles/python-2.7.cfg index fb8d1c5043..48111dcead 100644 --- a/buildout/software-profiles/python-2.7.cfg +++ b/buildout/software-profiles/python-2.7.cfg @@ -15,17 +15,40 @@ parts = python2.7 [python2.7] +<= python2.7.0 + +[python2.7.0] +<= python2.7common +package_version = 2.7 +md5sum = 35f56b092ecf39a6bd59d64f142aae0f +package_version_suffix = + +[python2.7.1rc1] +<= python2.7common +package_version = 2.7.1 +md5sum = 35f56b092ecf39a6bd59d64f142aae0f +package_version_suffix = rc1 + +[bootstrap2.7] +<= bootstrap +suffix = 2.7 +python = python2.7 + +[rebootstrap2.7] +recipe = zc.recipe.egg +eggs = zc.buildout +python = python2.7 + +[python2.7common] recipe = erp5.recipe.cmmisafe # This is actually the default setting for prefix, but we can't use it in # other settings in this part if we don't set it explicitly here. prefix = ${buildout:parts-directory}/${:_buildout_section_name_} version = 2.7 -package_version = ${:version} executable = ${:prefix}/bin/python${:version} url = - http://python.org/ftp/python/${:package_version}/Python-${:package_version}.tgz -md5sum = 35f56b092ecf39a6bd59d64f142aae0f + http://python.org/ftp/python/${:package_version}/Python-${:package_version}${:package_version_suffix}.tgz configure-options = --enable-unicode=ucs4 --with-threads @@ -34,12 +57,4 @@ environment = 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${libdb:location}/include 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 -L${libdb: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 -Wl,-rpath -Wl,${libdb:location}/lib -[bootstrap2.7] -<= bootstrap -suffix = 2.7 -python = python2.7 -[rebootstrap2.7] -recipe = zc.recipe.egg -eggs = zc.buildout -python = python2.7 -- 2.30.9