erp5-2.12.cfg 4.57 KB
Newer Older
1 2
# XXX refactor parts shared with erp5.cfg into a common file
[buildout]
3 4 5
extends =
  mysql-tritonn-5.0.cfg
  python-2.6.cfg
6
  lxml-python.cfg
7
  mysql-python.cfg
8
  python-ldap-python.cfg
9
  pysvn-python.cfg
10 11
  subversion.cfg
  git.cfg
12
  glib.cfg
13

14 15 16 17 18 19 20
parts =
  itools-build
  mysql-python
  products-other
  products-deps
  products-erp5

21 22
# ugly itools building sections until itools and setuptools learn to get
# along:
23

24 25 26 27
[itools-download]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://download.hforge.org/itools/0.50/${itools:pkgname}.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
28
md5sum = 12704cc354e2201e0921a832bf6b1556
29
destination = ${itools:source}
30 31

[itools-build]
32
recipe = plone.recipe.command
33 34
# reference itools-download:destination instead of itools:source to trigger its
# execution
35
command =
36
    cd ${itools-download:destination} &&
37 38
    ${buildout:executable} setup.py build_ext -L ${glib:location}/lib -I ${glib:location}/include/glib-2.0:${glib:location}/lib/glib-2.0/include -R ${glib:location}/lib &&
    ${buildout:executable} setup.py install_lib -d ${itools:lib}
39

40 41 42
update-command = ${:command}
location = ${itools:location}
stop-on-error = true
43

44
[products-deps]
45 46 47 48 49
# Recipe minitage.recipe.fetch is disabled, as it uses PATH variable, but it
# is not possible to change its environment to use localy delivered subversion
# nor git. plone.recipe.command can do same job, but it is controllable which
# binary will be used
recipe = plone.recipe.command
Łukasz Nowak's avatar
Łukasz Nowak committed
50
svn_param =--trust-server-cert --non-interactive --quiet
51
location = ${buildout:parts-directory}/${:_buildout_section_name_}
52
stop-on-error = true
53
command =
54
  ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile &&
Łukasz Nowak's avatar
Łukasz Nowak committed
55
  ${git:location}/bin/git clone --quiet git://git.hforge.org/Localizer.git ${:location}/Localizer
56
update-command =
57 58
  ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile &&
  cd ${:location}/Localizer &&
Łukasz Nowak's avatar
Łukasz Nowak committed
59
  ${git:location}/bin/git pull --quiet
60 61 62 63 64

[eggs]
recipe = zc.recipe.egg
eggs =
  ${mysql-python:egg}
65
  ${lxml-python:egg}
66
  ${python-ldap-python:egg}
67
  ${pysvn-python:egg}
68 69 70
  PyXML
  SOAPpy
  cElementTree
71
  chardet
72 73 74 75 76
  elementtree
  erp5diff
  ipdb
  mechanize
  numpy
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
77
  ordereddict
78 79
  paramiko
  ply
80
  python-magic
81 82 83 84 85
  python-memcached
  pytz
  simplejson
  threadframe
  timerserver
86
  urlnorm
87
  uuid
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
88 89
  xml_marshaller
  xupdate_processor
Ivan Tyagov's avatar
Ivan Tyagov committed
90
  feedparser
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113

# Zope 2.12 with patched acquisition
  Zope2
  Acquisition

# Other Zope 2 packages
  Products.PluggableAuthService
  Products.PluginRegistry

# CMF 2.2
  Products.CMFActionIcons
  Products.CMFCalendar
  Products.CMFCore
  Products.CMFDefault
  Products.CMFTopic
  Products.CMFUid
  Products.DCWorkflow
  Products.GenericSetup
  five.localsitemanager

# Other products
    Products.DCWorkflowGraph
    Products.MimetypesRegistry
114
    Products.ExternalEditor
115 116
    Products.Zelenium

117 118
# Currently forked in our repository
#    Products.PortalTransforms
119 120
# Dependency for our fork of PortalTransforms
    StructuredText
121 122

dependent-scripts = true
123 124 125 126 127 128 129
# XXX getting python from [buildout] for the benefit of instance recipes
# which should not attempt to compile python again
#python = python2.6

# parameterizing the version of the generated python interpreter name by the
# python section version causes dependency between this egg section and the
# installation of python, which we don't want on an instance
130 131
interpreter = python2.6
scripts =
132 133
	python=${:interpreter}
	ipython=i${:interpreter}
134

135 136 137 138 139 140
[precache-eggs]
# recipe to populate the egg cache during software-home build, so instances can
# run in offline mode. Hence, no scripts
recipe = zc.recipe.egg
scripts =
eggs =
141
  cloudooo
142
  collective.recipe.supervisor
143
  collective.recipe.template
144 145 146
  erp5.recipe.cloudoooinstance
  erp5.recipe.genbt5list
  erp5.recipe.mysqldatabase
147 148
  erp5.recipe.mysqlserver
  erp5.recipe.ooodinstance
149
  erp5.recipe.sphinxserver
150
  erp5.recipe.standaloneinstance
151
  erp5.recipe.testrunner
152
  plone.recipe.command
153
  plone.recipe.zeoserver
154
  plone.recipe.zope2instance
155
  supervisor
156
  z3c.recipe.mkdir
157

158 159 160 161 162 163 164 165
[erp5-zope2.12-template]
# XXX: Template is downloaded to satisfy *bad* erp5.recipe.standaloneinstance
recipe = hexagonit.recipe.download
url = https://svn.erp5.org/repos/public/erp5/trunk/buildout/templates/default-erp5-standalone-zope-2.12.conf.in
filename = template.in
download-only = true
md5sum = c299a7d5b60f5929eacfa6e947213615

166
[omelette]
167 168
# XXX don't use this part until this omelette bug is fixed:
# https://bugs.launchpad.net/collective.buildout/+bug/553005
169 170 171
recipe = collective.recipe.omelette
eggs = ${eggs:eggs}
packages =
172
      ${itools:lib} .