Commit acec1718 authored by Łukasz Nowak's avatar Łukasz Nowak

- define used python in software definition instead in python part

 - python_version_minor is interal python part
 - reuse software_definition to create pythonbin


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32687 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69a5e764
......@@ -24,6 +24,7 @@ etc-directory = ${:var-directory}/etc
log-directory = ${:var-directory}/log
data-bin-directory = ${:var-directory}/bin
python = software_definition
versions = versions
find-links =
http://download.zope.org/distribution/
......@@ -78,3 +79,4 @@ mysql_software = ${:software_home}/parts/mysql-tritonn-5.0
oood_software = ${:software_home}/parts/oood
openoffice_software = ${:software_home}/parts/openoffice-bin
zope_software = ${:software_home}/parts/zope-2.8
executable = ${:software_home}/parts/python${buildout:python_version}/bin/python${buildout:python_version}
......@@ -2,15 +2,14 @@
# http://bluedynamics.com/articles/jens/build-python-in-buildout
# based on https://svn.plone.org/svn/collective/buildout/bda-naked-python/buildout2.4.cfg
python_version = 2.4
python_version_minor = 6
python_version_full = ${:python_version}.${:python_version_minor}
python = python
parts =
python
pythonbin
[python]
recipe = hexagonit.recipe.cmmi
python_version_minor = 6
python_version_full = ${buildout:python_version}.${:python_version_minor}
url =
http://python.org/ftp/python/${buildout:python_version_full}/Python-${buildout:python_version_full}.tgz
prefix = ${buildout:parts-directory}/python${buildout:python_version}
......@@ -25,11 +24,9 @@ configure-options =
patches = ${buildout:directory}/patches/python2.4-dbm.patch
executable = ${:prefix}/bin/python${buildout:python_version}
[pythonbin]
recipe = plone.recipe.command
command = ln -sf ${python:executable} ${software_definition:software_home}/bin/python${buildout:python_version}
command = ln -sf ${software_definition:executable} ${software_definition:software_home}/bin/python${buildout:python_version}
[requirements]
binary =
......
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