8 http://www.nexedi.org/static/packages/source/slapos.buildout/
10 http://www.nexedi.org/static/packages/source/
11 http://www.owlfish.com/software/wsgiutils/download.html
13 # Separate from site eggs
14 allowed-eggs-from-site-packages =
15 include-site-packages = false
16 exec-sitecustomize = false
18 # Use only quite well working sites.
27 peak.telecommunity.com
34 # Exact version of Zope
35 http://svn.zope.org/repos/main/Zope/tags/2.12.21/versions.cfg
36 ../component/logrotate/buildout.cfg
37 ../component/dcron/buildout.cfg
38 ../component/file/buildout.cfg
39 ../component/fonts/buildout.cfg
40 ../component/ghostscript/buildout.cfg
41 ../component/git/buildout.cfg
42 ../component/glib/buildout.cfg
43 ../component/graphviz/buildout.cfg
44 ../component/gzip/buildout.cfg
45 ../component/haproxy/buildout.cfg
46 ../component/hookbox/buildout.cfg
47 ../component/imagemagick/buildout.cfg
48 ../component/kumo/buildout.cfg
49 ../component/libreoffice-bin/buildout.cfg
50 ../component/lxml-python/buildout.cfg
51 ../component/percona-toolkit/buildout.cfg
52 ../component/mariadb/buildout.cfg
53 ../component/memcached/buildout.cfg
54 ../component/mysql-python/buildout.cfg
55 ../component/pdftk/buildout.cfg
56 ../component/pycrypto-python/buildout.cfg
57 ../component/pysvn-python/buildout.cfg
58 ../component/python-2.6/buildout.cfg
59 ../component/python-2.7/buildout.cfg
60 ../component/python-ldap-python/buildout.cfg
61 ../component/rdiff-backup/buildout.cfg
62 ../component/sphinx/buildout.cfg
63 ../component/stunnel/buildout.cfg
64 ../component/subversion/buildout.cfg
65 ../component/tesseract/buildout.cfg
66 ../component/varnish/buildout.cfg
67 ../component/w3-validator/buildout.cfg
68 ../component/w3m/buildout.cfg
69 ../component/xorg/buildout.cfg
70 ../component/poppler/buildout.cfg
71 ../component/xtrabackup/buildout.cfg
72 ../component/zabbix/buildout.cfg
73 ../component/sed/buildout.cfg
74 ../component/coreutils/buildout.cfg
75 ../component/grep/buildout.cfg
101 tesseract-eng-traineddata-unzip
131 # Cloudooo specific part
134 # get git repositories
138 # fix products path (Zeo needs ERP5 Products to be available for
139 # conflict resolution)
141 # some additional utils
146 # <url or path> [...]
148 # Use absolute paths for local repositories, and URLs for non-local otherwise.
150 list = ${local-bt5-repository:list}
152 [local-bt5-repository]
153 # Same as bt5-repository, but only local repository.
154 # Used to generate bt5lists.
155 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
158 recipe = plone.recipe.command
160 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
162 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
163 update-command = ${:command}
171 eggs = slapos.libnetworkcache
174 pkgname = itools-0.50.8
175 location = ${buildout:parts-directory}/${:_buildout_section_name_}
176 lib = ${:location}/lib
177 source = ${:location}/src
179 # ugly itools building sections until itools and setuptools learn to get
183 recipe = hexagonit.recipe.download
184 strip-top-level-dir = true
185 url = http://download.hforge.org/itools/0.50/${itools:pkgname}.tar.gz
186 md5sum = 12704cc354e2201e0921a832bf6b1556
187 destination = ${itools:source}
190 recipe = plone.recipe.command
191 # reference itools-download:destination instead of itools:source to trigger its
193 # here, we unset PYTHONPATH to invoke different python than buildout one.
195 cd ${itools-download:destination} &&
196 PYTHONPATH= ${python2.6: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 &&
197 PYTHONPATH= ${python2.6:executable} setup.py install_lib -d ${itools:lib}
199 update-command = ${:command}
200 location = ${itools:location}
204 # Recipe minitage.recipe.fetch is disabled, as it uses PATH variable, but it
205 # is not possible to change its environment to use localy delivered subversion
206 # nor git. plone.recipe.command can do same job, but it is controllable which
207 # binary will be used
208 recipe = plone.recipe.command
209 svn_param =--trust-server-cert --non-interactive --quiet
210 location = ${buildout:parts-directory}/${:_buildout_section_name_}
213 ${subversion:location}/bin/svn checkout -r 98997 ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile &&
214 ${git:location}/bin/git clone --quiet git://git.hforge.org/Localizer.git ${:location}/Localizer && cd ${:location}/Localizer && ${git:location}/bin/git reset --quiet --hard dacb6ba0ae559cd9bdb8822812d24a12a21e9e37
216 [erp5_repository_list]
217 repository_id_list = erp5
220 # Recipe zerokspot.recipe.git is disabled, as is not possible to change its
221 # environment to use localy delivered git.
222 # plone.recipe.command can do same job, but it is controllable which binary
224 recipe = plone.recipe.command
225 location = ${buildout:parts-directory}/${:_buildout_section_name_}
227 repository = http://git.erp5.org/repos/erp5.git
230 command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location} && if [ -n "${:revision}" ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
231 update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ -n "${:revision}" ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
234 # XXX: ERP5 related products are not defined as python distributions, so it is
235 # required to configure them in declarative manner
239 recipe = plone.recipe.command
242 for DIR in "${products-deps:location}"; do cd "$DIR"; rm -f Products ; ln -s . Products; touch __init__.py; done
243 for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
244 update-command = ${:command}
247 # XXX: Workaround for fact ERP5Type is not an distribution and does not
248 # expose entry point for test runner
249 recipe = zc.recipe.egg
252 extra-paths = ${eggs:extra-paths}
254 runUnitTest=runUnitTest:main
255 scripts = runUnitTest
257 import glob, imp, os, sys
258 import App # prevent Testing from importing Zope2.App instead of App
260 Products.__path__[:0] = filter(None,
261 os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
262 Products.__path__.extend(reversed('''${products:list}'''.split()))
263 os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
264 os.environ['ZOPE_SCRIPTS'] = ''
265 parts_directory = '''${buildout:parts-directory}'''
266 repository_id_list = \
267 '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
268 os.environ['erp5_tests_bt5_path'] = ','.join(sum((
269 [bt5_path, os.path.join(bt5_path, '*')]
270 for bt5_path in (os.path.join(parts_directory, x, 'bt5')
271 for x in repository_id_list)), []))
272 sys.path[:0] = [os.path.join(parts_directory, x, 'tests')
273 for x in repository_id_list]
275 glob.glob(os.path.join(parts_directory, x, 'product', '*', 'tests'))
276 for x in repository_id_list), [])
279 # XXX: Workaround for fact ERP5Type is not an distribution and does not
280 # expose entry point for test runner
281 recipe = zc.recipe.egg
284 extra-paths = ${eggs:extra-paths}
286 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
287 scripts = runTestSuite
292 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
293 Products.__path__.extend(reversed('''${products:list}'''.split()))
295 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
296 os.environ['ZOPE_SCRIPTS'] = ''
297 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
298 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
301 recipe = zc.recipe.egg
306 ${python-ldap-python:egg}
308 ${pycrypto-python:egg}
335 # Zope 2.12 with patched acquisition
340 # Other Zope 2 packages
341 Products.PluggableAuthService
342 Products.PluginRegistry
345 Products.CMFActionIcons
352 Products.GenericSetup
353 five.localsitemanager
356 Products.DCWorkflowGraph
357 Products.MimetypesRegistry
358 Products.ExternalEditor
362 # Currently forked in our repository
363 # Products.PortalTransforms
364 # Dependency for our fork of PortalTransforms
367 # parameterizing the version of the generated python interpreter name by the
368 # python section version causes dependency between this egg section and the
369 # installation of python, which we don't want on an instance
370 interpreter = python2.6
379 ${itools:location}/lib
380 ${products-deps:location}
396 recipe = zc.recipe.egg
397 python = ${eggs:python}
403 killpidfromfile = slapos.systool:killpidfromfile
404 onetimedownload = slapos.toolbox:onetimedownload
407 recipe = zc.recipe.egg
411 cloudooo.handler.ffmpeg
412 cloudooo.handler.imagemagick
418 paster=cloudooo_paster
421 # Use SlapOS patched zc.buildout
422 zc.buildout = 1.6.0-dev-SlapOS-003
424 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
425 Acquisition = 2.13.7nxd001
426 Products.DCWorkflow = 2.2.3nxd002
428 # Known version with works
430 # Patched version which support python 2.6
432 # modified version that works fine for buildout installation
433 SOAPpy = 0.12.0nxd001
434 # we are still using this old stable version.
437 # Zope Known Good Set is incompatible with buildout 1.5.0 in case of
438 # distribute and zc.buildout, and as ERP5 Appliance trunk wants to use
439 # the newest versions of buildout infrastructure clear the pin
443 # official pysvn egg does not supports --include-dirs and
444 # --library-dirs, so we use our modified version