erp5-2.12.cfg 3.82 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 59 60 61
  if ${buildout:newest}; then
    ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile &&
    cd ${:location}/Localizer &&
    ${git:location}/bin/git pull --quiet
  fi
62 63 64 65 66

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

# 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
117
    Products.ExternalEditor
118 119
    Products.Zelenium

120 121
# Currently forked in our repository
#    Products.PortalTransforms
122 123
# Dependency for our fork of PortalTransforms
    StructuredText
124 125

dependent-scripts = true
126 127 128 129 130 131 132
# 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
133 134
interpreter = python2.6
scripts =
Łukasz Nowak's avatar
Łukasz Nowak committed
135 136
  python=${:interpreter}
  ipython=i${:interpreter}
Łukasz Nowak's avatar
Łukasz Nowak committed
137
  runzope
Łukasz Nowak's avatar
Łukasz Nowak committed
138
  runzeo
139

140 141 142 143 144
[precache-eggs]
eggs +=
  plone.recipe.zope2instance
  plone.recipe.zeoserver

145
[omelette]
146 147
# XXX don't use this part until this omelette bug is fixed:
# https://bugs.launchpad.net/collective.buildout/+bug/553005
148 149 150
recipe = collective.recipe.omelette
eggs = ${eggs:eggs}
packages =
151
      ${itools:lib} .