update cloudooo to support LibreOffice 3.6.5.
[slapos.git] / stack / erp5 / buildout.cfg
1 [buildout]
2 # Local development
3 develop =
4   ${:parts-directory}/slapos.cookbook-repository
5   ${:parts-directory}/cloudooo-repository
6
7 extensions =
8   slapos.zcbworkarounds
9   mr.developer
10
11 find-links =
12     http://www.nexedi.org/static/packages/source/slapos.buildout/
13     http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
14     http://dist.repoze.org
15     http://www.nexedi.org/static/packages/source/
16     http://www.owlfish.com/software/wsgiutils/download.html
17
18 extends =
19 # Exact version of Zope
20   http://svn.zope.org/repos/main/Zope/tags/2.12.26/versions.cfg
21   ../../stack/slapos.cfg
22   ../../component/logrotate/buildout.cfg
23   ../../component/dcron/buildout.cfg
24   ../../component/file/buildout.cfg
25   ../../component/fonts/buildout.cfg
26   ../../component/ghostscript/buildout.cfg
27   ../../component/git/buildout.cfg
28   ../../component/graphviz/buildout.cfg
29   ../../component/gzip/buildout.cfg
30   ../../component/haproxy/buildout.cfg
31   ../../component/hookbox/buildout.cfg
32   ../../component/librsvg/buildout.cfg
33   ../../component/imagemagick/buildout.cfg
34   ../../component/kumo/buildout.cfg
35   ../../component/libdmtx/buildout.cfg
36   ../../component/libpng/buildout.cfg
37   ../../component/libreoffice-bin/buildout.cfg
38   ../../component/lxml-python/buildout.cfg
39   ../../component/percona-toolkit/buildout.cfg
40   ../../component/mariadb/buildout.cfg
41   ../../component/memcached/buildout.cfg
42   ../../component/mysql-python/buildout.cfg
43   ../../component/pdftk/buildout.cfg
44   ../../component/pil-python/buildout.cfg
45   ../../component/pycrypto-python/buildout.cfg
46   ../../component/pysvn-python/buildout.cfg
47   ../../component/python-2.6/buildout.cfg
48   ../../component/python-2.7/buildout.cfg
49   ../../component/python-ldap-python/buildout.cfg
50   ../../component/rdiff-backup/buildout.cfg
51   ../../component/subversion/buildout.cfg
52   ../../component/tesseract/buildout.cfg
53   ../../component/varnish/buildout.cfg
54   ../../component/w3-validator/buildout.cfg
55   ../../component/w3m/buildout.cfg
56   ../../component/xorg/buildout.cfg
57   ../../component/poppler/buildout.cfg
58   ../../component/xtrabackup/buildout.cfg
59   ../../component/zabbix/buildout.cfg
60   ../../component/sed/buildout.cfg
61   ../../component/coreutils/buildout.cfg
62   ../../component/grep/buildout.cfg
63   ../../component/dash/buildout.cfg
64   ../../component/wget/buildout.cfg
65   ../../component/aspell/buildout.cfg
66   ../../component/cloudooo/buildout.cfg
67
68 parts =
69   rdiff-backup
70   aspell
71   aspell-en-dictionary
72   apache
73   apache-antiloris
74   file
75   graphviz
76   memcached
77   haproxy
78   varnish-3.0
79   w3m
80   poppler
81   libpng
82   ghostscript
83   mariadb
84   mroonga-mariadb
85   imagemagick
86   libdmtx
87   dmtx-utils
88   kumo
89   libreoffice-bin
90   w3-validator
91   tesseract
92   hookbox
93   bootstrap2.6
94   perl-DBD-mariadb
95   perl-DBI
96   percona-toolkit
97   zabbix-agent
98   pdftk
99   dcron
100   dash
101   wget
102
103 # Buildoutish
104   eggs
105   testrunner
106   test_suite_runner
107
108 # basic Xorg
109   libXdmcp
110   libXext
111   libXau
112   libSM
113   libXrender
114
115 # fonts
116   liberation-fonts
117   ipaex-fonts
118   ocrb-fonts
119
120 # Cloudooo specific part
121   cloudooo
122
123 # get git repositories
124   erp5
125   genbt5list
126
127 # fix products path (Zeo needs ERP5 Products to be available for
128 # conflict resolution)
129   fix-products-paths
130 # some additional utils
131   slapos-toolbox
132
133 # Local development
134   slapos.cookbook-repository
135   check-recipe
136   slapos.cookbook-python2.6
137   slapos.recipe.template-python2.6
138 # Create instance template
139   template
140
141 # Local development
142 [slapos.cookbook-repository]
143 recipe = slapos.recipe.build:gitclone
144 repository = http://git.erp5.org/repos/slapos.git
145 branch = erp5-component
146 git-executable = ${git:location}/bin/git
147
148 [check-recipe]
149 recipe = plone.recipe.command
150 stop-on-error = true
151 update-command = ${:command}
152 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
153
154 [slapos.cookbook-python2.6]
155 recipe = zc.recipe.egg
156 eggs = slapos.cookbook
157 scripts =
158 python = python2.6
159 ugly-depend-on = ${slapos.cookbook-repository:repository} ${slapos.cookbook-repository:branch}
160
161 [slapos.recipe.template-python2.6]
162 recipe = zc.recipe.egg
163 eggs = slapos.recipe.template
164 scripts =
165 python = python2.6
166
167 [template-jinja2-base]
168 recipe = slapos.recipe.template:jinja2
169 template = ${:_profile_base_location_}/${:filename}.in
170 rendered = ${buildout:directory}/${:filename}
171 # XXX: extra-context is needed because we cannot append to a key of an extended
172 # section.
173 extra-context =
174 context =
175     key bin_directory buildout:bin-directory
176     key develop_eggs_directory buildout:develop-eggs-directory
177     key eggs_directory buildout:eggs-directory
178     ${:extra-context}
179
180 [template-mariadb]
181 < = template-jinja2-base
182 filename = instance-mariadb.cfg
183 md5sum = 867bd8e3c4f56db2aab2fcad59f2efd8
184 extra-context =
185     key coreutils_location coreutils:location
186     key dcron_location dcron:location
187     key gettext_location gettext:location
188     key grep_location grep:location
189     key gzip_location gzip:location
190     key logrotate_location logrotate:location
191     key mariadb_location mariadb:location
192     key perl_location perl:location
193     key perl_siteprefix perl:siteprefix
194     key sed_location sed:location
195     key xtrabackup_location xtrabackup:location
196
197 [template-zope]
198 recipe = slapos.recipe.build:download
199 url = ${:_profile_base_location_}/instance-zope.cfg.in
200 md5sum = d5981dbe595004c707dd1744be1fe753
201 mode = 640
202
203 [template-kumofs]
204 < = template-jinja2-base
205 filename = instance-kumofs.cfg
206 md5sum = 7e13d689de7163dcab64e8df4711cdd7
207 extra-context =
208     key dash_location dash:location
209     key dcron_location dcron:location
210     key gzip_location gzip:location
211     key kumo_location kumo:location
212     key logrotate_location logrotate:location
213
214 [template-tidstorage]
215 recipe = slapos.recipe.build:download
216 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
217 md5sum = 5e0c5de5bc17947c152de73b329a5a02
218 mode = 640
219
220 [template-cloudooo]
221 recipe = slapos.recipe.build:download
222 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
223 md5sum = 53492e520be57f4c6a9eacd107c8d446
224 mode = 640
225
226 [template-zope-conf]
227 recipe = slapos.recipe.build:download
228 url = ${:_profile_base_location_}/zope.conf.in
229 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
230 mode = 640
231
232 [template]
233 < = template-jinja2-base
234 # XXX: "template.cfg" is hardcoded in instanciation recipe
235 filename = template.cfg
236 template = ${:_profile_base_location_}/instance.cfg.in
237 md5sum = bee6c2b640efee53e3b6e209127cb0bc
238 extra-context =
239     key apache_location apache:location
240     key aspell_location aspell:location
241     key buildout_bin_directory buildout:bin-directory
242     key coreutils_location coreutils:location
243     key curl_location curl:location
244     key dash_location dash:location
245     key dcron_location dcron:location
246     key dmtx_utils_location dmtx-utils:location
247     key erp5_location erp5:location
248     key file_location file:location
249     key fontconfig_location fontconfig:location
250     key fonts_location fonts:location
251     key freetype_location freetype:location
252     key git_location git:location
253     key graphviz_location graphviz:location
254     key grep_location grep:location
255     key gzip_location gzip:location
256     key haproxy_location haproxy:location
257     key imagemagick_location imagemagick:location
258     key libICE_location libICE:location
259     key libSM_location libSM:location
260     key libX11_location libX11:location
261     key libXau_location libXau:location
262     key libXdmcp_location libXdmcp:location
263     key libXext_location libXext:location
264     key libXrender_location libXrender:location
265     key libpng12_location libpng12:location
266     key libreoffice_bin_location libreoffice-bin:location
267     key librsvg_location librsvg:location
268     key libxcb_location libxcb:location
269     key local_bt5_repository local-bt5-repository:list
270     key logrotate_location logrotate:location
271     key mariadb_location mariadb:location
272     key openssl_location openssl:location
273     key pdftk_location pdftk:location
274     key poppler_location poppler:location
275     key sed_location sed:location
276     key template_cloudooo template-cloudooo:target
277     key template_erp5_single template-erp5-single:target
278     key template_erp5_cluster template-erp5-cluster:target
279     key template_kumofs template-kumofs:rendered
280     key template_mariadb template-mariadb:rendered
281     key template_memcached template-memcached:rendered
282     key template_tidstorage template-tidstorage:target
283     key template_varnish template-varnish:target
284     key template_zope template-zope:target
285     key template_zope_conf template-zope-conf:target
286     key tesseract_location tesseract:location
287     key varnish_location varnish-3.0:location
288     key w3m_location w3m:location
289     key wget_location wget:location
290     key zlib_location zlib:location
291
292 [template-memcached]
293 < = template-jinja2-base
294 filename = instance-memcached.cfg
295 md5sum = 44c507e9eec1003beb99f9063b5e09be
296 extra-context =
297     key dash_location dash:location
298     key memcached_location memcached:location
299
300 [template-erp5-single]
301 recipe = slapos.recipe.build:download
302 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
303 md5sum = 2a4312202a3160f874c4fa3ee9155a1d
304 mode = 640
305
306 [template-erp5-cluster]
307 recipe = slapos.recipe.build:download
308 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
309 md5sum = eecde68b9a266d8883042540ac077839
310 mode = 640
311
312 [template-varnish]
313 recipe = slapos.recipe.build:download
314 url = ${:_profile_base_location_}/instance-varnish.cfg.in
315 md5sum = 17aee2df57b121343b1fd65f4b51ce80
316 mode = 640
317
318 [bt5-repository]
319 # Format:
320 #   <url or path> [...]
321 #
322 # Use absolute paths for local repositories, and URLs for non-local otherwise.
323 #
324 list = ${local-bt5-repository:list}
325
326 [local-bt5-repository]
327 # Same as bt5-repository, but only local repository.
328 # Used to generate bt5lists.
329 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
330
331 [genbt5list]
332 recipe = plone.recipe.command
333 stop-on-error = true
334 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
335 command =
336   ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
337 update-command = ${:command}
338
339 [bootstrap2.6]
340 python = python2.6
341
342 [erp5_repository_list]
343 repository_id_list = erp5
344
345 [erp5]
346 recipe = slapos.recipe.build:gitclone
347 repository = http://git.erp5.org/repos/erp5.git
348 branch = erp5-component
349 git-executable = ${git:location}/bin/git
350
351 [fix-products-paths]
352 recipe = plone.recipe.command
353 stop-on-error = true
354 command =
355   for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
356 update-command = ${:command}
357
358 [testrunner]
359 # XXX: Workaround for fact ERP5Type is not an distribution and does not
360 #      expose entry point for test runner
361 recipe = zc.recipe.egg
362 python = python2.6
363 eggs = ${eggs:eggs}
364 extra-paths = ${eggs:extra-paths}
365 entry-points =
366   runUnitTest=runUnitTest:main
367 scripts = runUnitTest
368 initialization =
369   import glob, imp, os, sys
370   import App # prevent Testing from importing Zope2.App instead of App
371   import Products
372   Products.__path__[:0] = filter(None,
373     os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
374   os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
375   os.environ['ZOPE_SCRIPTS'] = ''
376   parts_directory = '''${buildout:parts-directory}'''
377   repository_id_list = \
378     '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
379   os.environ['erp5_tests_bt5_path'] = ','.join(sum((
380     [bt5_path, os.path.join(bt5_path, '*')]
381     for bt5_path in (os.path.join(parts_directory, x, 'bt5')
382                      for x in repository_id_list)), []))
383   extra_path_list = '''${:extra-paths}'''.split()
384   sys.path[:0] = sum((
385     glob.glob(os.path.join(x, 'tests'))
386     for x in extra_path_list), [])
387   sys.path[:0] = sum((
388     glob.glob(os.path.join(x, 'Products', '*', 'tests'))
389     for x in extra_path_list), [])
390
391 [test_suite_runner]
392 # XXX: Workaround for fact ERP5Type is not an distribution and does not
393 #      expose entry point for test runner
394 recipe = zc.recipe.egg
395 python = python2.6
396 eggs = ${eggs:eggs}
397 extra-paths = ${eggs:extra-paths}
398 entry-points =
399   runTestSuite=Products.ERP5Type.tests.runTestSuite:main
400 scripts = runTestSuite
401 initialization =
402   import os
403   import sys
404   import Products
405   [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
406   import Zope2
407   os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
408   os.environ['ZOPE_SCRIPTS'] = ''
409   repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
410   sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
411
412 [eggs]
413 recipe = zc.recipe.egg
414 python = python2.6
415 eggs =
416   ${mysql-python:egg}
417   ${lxml-python:egg}
418   ${pil-python:egg}
419   ${python-ldap-python:egg}
420   ${pysvn-python:egg}
421   ${pycrypto-python:egg}
422   PyXML
423   SOAPpy
424   cElementTree
425   chardet
426   coverage
427   elementtree
428   erp5diff
429   inotifyx
430   ipdb
431   mechanize
432   numpy
433   ordereddict
434   paramiko
435   ply
436   python-magic
437   python-memcached
438   pytz
439   requests
440   threadframe
441   timerserver
442   urlnorm
443   uuid
444   xml_marshaller
445   xupdate_processor
446   feedparser
447   argparse
448   validictory
449   erp5.util
450   huBarcode
451   qrcode
452   spyne
453
454 # Zope
455   ZODB3
456   Zope2
457 # Zope acquisition patch
458   Acquisition
459
460 # Other Zope 2 packages
461   Products.PluggableAuthService
462   Products.PluginRegistry
463
464 # CMF 2.2
465   Products.CMFActionIcons
466   Products.CMFCalendar
467   Products.CMFCore
468   Products.CMFDefault
469   Products.CMFTopic
470   Products.CMFUid
471   Products.DCWorkflow
472   Products.GenericSetup
473   five.localsitemanager
474
475 # Other products
476   Products.DCWorkflowGraph
477   Products.MimetypesRegistry
478   Products.ExternalEditor
479   Products.TIDStorage
480   Products.LongRequestLogger
481
482 # Currently forked in our repository
483 #    Products.PortalTransforms
484 # Dependency for our fork of PortalTransforms
485   StructuredText
486
487 # Needed for parsing .po files from our Localizer subset
488   polib
489
490 # parameterizing the version of the generated python interpreter name by the
491 # python section version causes dependency between this egg section and the
492 # installation of python, which we don't want on an instance
493 interpreter = python2.6
494 scripts =
495   repozo
496   runzope
497   runzeo
498   tidstoraged
499   tidstorage_repozo
500   web_checker_utility = erp5.util.webchecker:web_checker_utility
501
502 extra-paths =
503   ${erp5:location}
504
505 [cloudooo-repository]
506 branch = master
507 revision = 6629837c96ae58e96cac019044ce95d19cb7a659
508
509 [mysql-python]
510 python = python2.6
511
512 [lxml-python]
513 python = python2.6
514
515 [pil-python]
516 python = python2.6
517
518 [python-ldap-python]
519 python = python2.6
520
521 [pysvn-python]
522 python = python2.6
523
524 [slapos-toolbox]
525 recipe = zc.recipe.egg
526 python = ${eggs:python}
527 eggs =
528   ${lxml-python:egg}
529   slapos.toolbox
530   slapos.toolbox[zodbpack]
531
532 scripts =
533   killpidfromfile
534   onetimedownload
535   zodbpack
536
537 [versions]
538 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
539 Acquisition = 2.13.7nxd001
540 Products.DCWorkflow = 2.2.3nxd002
541
542 # Known version with works
543 numpy = 1.6.2
544 # Patched version which support python 2.6
545 PyXML = 0.8.4nxd001
546 # modified version that works fine for buildout installation
547 SOAPpy = 0.12.0nxd001
548 # we are still using this old stable version.
549 rdiff-backup = 1.0.5
550
551 # official pysvn egg does not supports --include-dirs and
552 # --library-dirs, so we use our modified version
553 pysvn = 1.7.4nxd006
554
555 # CMF 2.3 requries Zope 2.13.
556 Products.CMFCalendar = 2.2.2
557 Products.CMFCore = 2.2.6
558 Products.CMFDefault = 2.2.2
559 Products.CMFTopic = 2.2.1
560 Products.CMFUid = 2.2.1
561
562 # Unpined locally developed egg
563 slapos.cookbook =
564
565 # Pinned versions
566 Flask = 0.9
567 GitPython = 0.3.2.RC1
568 MySQL-python = 1.2.3
569 PIL = 1.1.7
570 Paste = 1.7.5.1
571 PasteDeploy = 1.5.0
572 PasteScript = 1.7.5
573 Products.CMFActionIcons = 2.1.3
574 Products.DCWorkflowGraph = 0.4.1
575 Products.ExternalEditor = 1.1.0
576 Products.GenericSetup = 1.7.2
577 Products.MimetypesRegistry = 2.0.3
578 Products.PluggableAuthService = 1.8.0
579 Products.PluginRegistry = 1.3
580 Products.TIDStorage = 5.4.8
581 Products.Zelenium = 1.0.3
582 StructuredText = 2.11.1
583 WSGIUtils = 0.7
584 Werkzeug = 0.8.3
585 apache-libcloud = 0.11.1
586 argparse = 1.2.1
587 async = 0.6.1
588 atomize = 0.1.1
589 buildout-versions = 1.7
590 cElementTree = 1.0.5-20051216
591 chardet = 1.1
592 coverage = 3.5.2
593 csp-eventlet = 0.7.0
594 elementtree = 1.2.7-20070827-preview
595 erp5.recipe.cmmiforcei686 = 0.1.3
596 erp5.util = 0.4.22
597 erp5diff = 0.8.1.5
598 eventlet = 0.9.17
599 feedparser = 5.1.2
600 five.localsitemanager = 2.0.5
601 fpconst = 0.7.2
602 gitdb = 0.5.4
603 greenlet = 0.4.0
604 hexagonit.recipe.cmmi = 1.6
605 hexagonit.recipe.download = 1.6nxd002
606 http-parser = 0.7.8
607 huBarcode = 0.63
608 inotifyx = 0.2.0
609 ipdb = 0.7
610 ipython = 0.13
611 meld3 = 0.6.8
612 netaddr = 0.7.9
613 netifaces = 0.8
614 ordereddict = 1.1
615 paramiko = 1.7.7.2
616 plone.recipe.command = 1.1
617 ply = 3.4
618 polib = 1.0.0
619 psutil = 0.6.1
620 python-ldap = 2.4.10
621 python-magic = 0.4.3
622 python-memcached = 1.47
623 restkit = 4.2.0
624 rtjp-eventlet = 0.3.2
625 setuptools = 0.6c12dev-r88846
626 slapos.core = 0.28
627 slapos.libnetworkcache = 0.13.2
628 slapos.recipe.build = 0.11.4
629 slapos.recipe.template = 2.4.2
630 slapos.toolbox = 0.29
631 smmap = 0.8.2
632 socketpool = 0.5.2
633 supervisor = 3.0a12
634 threadframe = 0.2
635 timerserver = 2.0.2
636 urlnorm = 1.1.2
637 uuid = 1.30
638 validictory = 0.8.3
639 xml-marshaller = 0.9.7
640 xupdate-processor = 0.4
641 mr.developer = 1.21
642 qrcode = 2.4.1
643 requests = 0.13.2