remove last piece of hard-coding from the python compilation parts

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34409 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cb344cfc
...@@ -16,8 +16,6 @@ filename = python2.4-dbm.patch ...@@ -16,8 +16,6 @@ filename = python2.4-dbm.patch
<= python-common <= python-common
python_version_major = 2.4 python_version_major = 2.4
python_version_minor = 6 python_version_minor = 6
# this next setting should always match the name of this part
name = python2.4
# XXX maybe add the tarfile patch as well? # XXX maybe add the tarfile patch as well?
patches = patches =
${python2.4-dbm-patch:location}/${python2.4-dbm-patch:filename} ${python2.4-dbm-patch:location}/${python2.4-dbm-patch:filename}
......
...@@ -8,8 +8,6 @@ parts = ...@@ -8,8 +8,6 @@ parts =
<= python-common <= python-common
python_version_major = 2.6 python_version_major = 2.6
python_version_minor = 5 python_version_minor = 5
# this next setting should always match the name of this part
name = python2.6
[bootstrap2.6] [bootstrap2.6]
recipe = zc.recipe.egg recipe = zc.recipe.egg
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# This is actually the default setting for prefix, but we can't use it in # 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. # other settings in this part if we don't set it explicitly here.
prefix = ${buildout:parts-directory}/${:name} prefix = ${buildout:parts-directory}/${:_buildout_section_name_}
version = ${:python_version_major} version = ${:python_version_major}
executable = ${:prefix}/bin/python${:version} executable = ${:prefix}/bin/python${:version}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment