request: drop redundant 'config' & 'sla' options
[slapos.git] / stack / erp5 / buildout.cfg
1 [buildout]
2 find-links +=
3   http://www.owlfish.com/software/wsgiutils/download.html
4
5 extends =
6 # Exact version of Zope
7   https://raw.github.com/zopefoundation/Zope/2.13.22/versions.cfg
8   ../../stack/slapos.cfg
9   ../../component/logrotate/buildout.cfg
10   ../../component/cups/buildout.cfg
11   ../../component/dbus/buildout.cfg
12   ../../component/dcron/buildout.cfg
13   ../../component/file/buildout.cfg
14   ../../component/fonts/buildout.cfg
15   ../../component/ghostscript/buildout.cfg
16   ../../component/git/buildout.cfg
17   ../../component/graphviz/buildout.cfg
18   ../../component/gzip/buildout.cfg
19   ../../component/haproxy/buildout.cfg
20   ../../component/hookbox/buildout.cfg
21   ../../component/librsvg/buildout.cfg
22   ../../component/imagemagick/buildout.cfg
23   ../../component/inkscape/buildout.cfg
24   ../../component/kumo/buildout.cfg
25   ../../component/libdmtx/buildout.cfg
26   ../../component/libffi/buildout.cfg
27   ../../component/libpng/buildout.cfg
28   ../../component/libreoffice-bin/buildout.cfg
29   ../../component/lxml-python/buildout.cfg
30   ../../component/mesa/buildout.cfg
31   ../../component/numpy/buildout.cfg
32   ../../component/percona-toolkit/buildout.cfg
33   ../../component/mariadb/buildout.cfg
34   ../../component/mysql-python/buildout.cfg
35   ../../component/patch/buildout.cfg
36   ../../component/pillow/buildout.cfg
37   ../../component/pycrypto-python/buildout.cfg
38   ../../component/pysvn-python/buildout.cfg
39   ../../component/python-2.7/buildout.cfg
40   ../../component/python-ldap-python/buildout.cfg
41   ../../component/rdiff-backup/buildout.cfg
42   ../../component/stunnel/buildout.cfg
43   ../../component/subversion/buildout.cfg
44   ../../component/tesseract/buildout.cfg
45   ../../component/varnish/buildout.cfg
46   ../../component/w3-validator/buildout.cfg
47   ../../component/w3m/buildout.cfg
48   ../../component/xorg/buildout.cfg
49   ../../component/poppler/buildout.cfg
50   ../../component/xtrabackup/buildout.cfg
51   ../../component/zabbix/buildout.cfg
52   ../../component/sed/buildout.cfg
53   ../../component/coreutils/buildout.cfg
54   ../../component/grep/buildout.cfg
55   ../../component/dash/buildout.cfg
56   ../../component/wget/buildout.cfg
57   ../../component/aspell/buildout.cfg
58   ../../component/cloudooo/buildout.cfg
59   ../../component/jsl/buildout.cfg
60
61 parts =
62   erp5-util-develop
63   slapos-cookbook-develop
64   slapos-cookbook
65   rdiff-backup
66   aspell
67   aspell-en-dictionary
68   apache
69   apache-antiloris
70   file
71   graphviz
72   haproxy
73   jsl
74   stunnel
75   varnish-3.0
76   w3m
77   poppler
78   libpng
79   ghostscript
80   mariadb
81   mroonga-mariadb
82   imagemagick
83   inkscape
84   libdmtx
85   dmtx-utils
86   kumo
87   libreoffice-bin
88   w3-validator
89   tesseract
90   hookbox
91   perl-DBD-mariadb
92   perl-DBI
93   percona-toolkit
94   zabbix-agent
95   dcron
96   dash
97   wget
98
99 # Buildoutish
100   patched-eggs
101   eggs
102   testrunner
103   test_suite_runner
104
105 # basic Xorg
106   libXdmcp
107   libXext
108   libXau
109   libSM
110   libXrender
111
112 # fonts
113   liberation-fonts
114   ipaex-fonts
115   ipa-fonts
116   ocrb-fonts
117   android-fonts
118
119 # Cloudooo specific part
120   cloudooo-develop
121   cloudooo
122
123 # get git repositories
124   erp5
125   genbt5list
126
127 # some additional utils
128   slapos-toolbox
129   zodbanalyze
130
131 # Create instance template
132   template
133
134 [template-jinja2-base]
135 recipe = slapos.recipe.template:jinja2
136 template = ${:_profile_base_location_}/${:filename}.in
137 rendered = ${buildout:directory}/${:filename}
138 # XXX: extra-context is needed because we cannot append to a key of an extended
139 # section.
140 extra-context =
141 context =
142     key bin_directory buildout:bin-directory
143     key develop_eggs_directory buildout:develop-eggs-directory
144     key eggs_directory buildout:eggs-directory
145     key slapos_core_version versions:slapos.core
146     ${:extra-context}
147
148 [template-mariadb]
149 < = template-jinja2-base
150 filename = instance-mariadb.cfg
151 md5sum = e0c923a8195b5a36c7df766c1fb4bfdb
152 extra-context =
153     key coreutils_location coreutils:location
154     key dcron_location dcron:location
155     key gettext_location gettext:location
156     key grep_location grep:location
157     key gzip_location gzip:location
158     key logrotate_location logrotate:location
159     key mariadb_location mariadb:location
160     key perl_location perl:location
161     key perl_siteprefix perl:siteprefix
162     key sed_location sed:location
163     key xtrabackup_location xtrabackup:location
164
165 [template-zope]
166 recipe = slapos.recipe.build:download
167 url = ${:_profile_base_location_}/instance-zope.cfg.in
168 md5sum = ddf63b8dac634df63133c24f36df1050
169 mode = 640
170
171 [template-kumofs]
172 < = template-jinja2-base
173 filename = instance-kumofs.cfg
174 md5sum = 40817014a41497bceb696e512436e670
175 extra-context =
176     key dash_location dash:location
177     key dcron_location dcron:location
178     key gzip_location gzip:location
179     key kumo_location kumo:location
180     key logrotate_location logrotate:location
181
182 [template-tidstorage]
183 recipe = slapos.recipe.build:download
184 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
185 md5sum = 2bc13fc6cd52c7b8e2b4ddb99a69974b
186 mode = 640
187
188 [template-cloudooo]
189 recipe = slapos.recipe.build:download
190 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
191 md5sum = c93c881267beadf840dc0b339a3a466a
192 mode = 640
193
194 [template-zope-conf]
195 recipe = slapos.recipe.build:download
196 url = ${:_profile_base_location_}/zope.conf.in
197 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
198 mode = 640
199
200 [template]
201 < = template-jinja2-base
202 # XXX: "template.cfg" is hardcoded in instanciation recipe
203 filename = template.cfg
204 template = ${:_profile_base_location_}/instance.cfg.in
205 md5sum = 2ed28d874b5494521cb874a2474af7c5
206 extra-context =
207     key apache_location apache:location
208     key aspell_location aspell:location
209     key buildout_bin_directory buildout:bin-directory
210     key coreutils_location coreutils:location
211     key cups_location cups:location
212     key curl_location curl:location
213     key dash_location dash:location
214     key dbus_glib_location dbus-glib:location
215     key dbus_location dbus:location
216     key dcron_location dcron:location
217     key dmtx_utils_location dmtx-utils:location
218     key erp5_location erp5:location
219     key file_location file:location
220     key fontconfig_location fontconfig:location
221     key fonts_location fonts:location
222     key freetype_location freetype:location
223     key git_location git:location
224     key glib_location glib:location
225     key glu_location glu:location
226     key graphviz_location graphviz:location
227     key grep_location grep:location
228     key gzip_location gzip:location
229     key haproxy_location haproxy:location
230     key imagemagick_location imagemagick:location
231     key jsl_location jsl:location
232     key libICE_location libICE:location
233     key libSM_location libSM:location
234     key libX11_location libX11:location
235     key libXau_location libXau:location
236     key libXdmcp_location libXdmcp:location
237     key libXext_location libXext:location
238     key libXrender_location libXrender:location
239     key libexpat_location libexpat:location
240     key libffi_location libffi:location
241     key libpng12_location libpng12:location
242     key libreoffice_bin_location libreoffice-bin:location
243     key librsvg_location librsvg:location
244     key libxcb_location libxcb:location
245     key local_bt5_repository local-bt5-repository:list
246     key logrotate_location logrotate:location
247     key mariadb_location mariadb:location
248     key mesa_location mesa:location
249     key openssl_location openssl:location
250     key poppler_location poppler:location
251     key sed_location sed:location
252     key stunnel_location stunnel:location
253     key template_cloudooo template-cloudooo:target
254     key template_erp5_cluster template-erp5-cluster:target
255     key template_erp5_single template-erp5-single:target
256     key template_kumofs template-kumofs:rendered
257     key template_mariadb template-mariadb:rendered
258     key template_memcached template-memcached:rendered
259     key template_tidstorage template-tidstorage:target
260     key template_varnish template-varnish:target
261     key template_zope template-zope:target
262     key template_zope_conf template-zope-conf:target
263     key tesseract_location tesseract:location
264     key varnish_location varnish-3.0:location
265     key w3m_location w3m:location
266     key wget_location wget:location
267     key xdamage_location xdamage:location
268     key xfixes_location xfixes:location
269     key zlib_location zlib:location
270
271 [template-memcached]
272 < = template-jinja2-base
273 filename = instance-memcached.cfg
274 md5sum = 346c864c1f119360eddb5e163f16d4f3
275 extra-context =
276     key dash_location dash:location
277     key dcron_location dcron:location
278     key gzip_location gzip:location
279     key kumo_location kumo:location
280     key logrotate_location logrotate:location
281
282 [template-erp5-single]
283 recipe = slapos.recipe.build:download
284 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
285 md5sum = ee5ce422b52d1325f301a684ffc0eea3
286 mode = 640
287
288 [template-erp5-cluster]
289 recipe = slapos.recipe.build:download
290 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
291 md5sum = 1fafb23019043c069bf6e43d61010a54
292 mode = 640
293
294 [template-varnish]
295 recipe = slapos.recipe.build:download
296 url = ${:_profile_base_location_}/instance-varnish.cfg.in
297 md5sum = ae0465591c22c0cb316c1706965c6b18
298 mode = 640
299
300 [bt5-repository]
301 # Format:
302 #   <url or path> [...]
303 #
304 # Use absolute paths for local repositories, and URLs for non-local otherwise.
305 #
306 list = ${local-bt5-repository:list}
307
308 [local-bt5-repository]
309 # Same as bt5-repository, but only local repository.
310 # Used to generate bt5lists.
311 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
312
313 [genbt5list]
314 recipe = plone.recipe.command
315 stop-on-error = true
316 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
317 command =
318   ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
319 update-command = ${:command}
320
321 [erp5_repository_list]
322 repository_id_list = erp5
323
324 [erp5]
325 recipe = slapos.recipe.build:gitclone
326 repository = http://git.erp5.org/repos/erp5.git
327 branch = master
328 git-executable = ${git:location}/bin/git
329
330 [testrunner]
331 # XXX: Workaround for fact ERP5Type is not an distribution and does not
332 #      expose entry point for test runner
333 recipe = zc.recipe.egg
334 eggs = ${eggs:eggs}
335 extra-paths = ${eggs:extra-paths}
336 entry-points =
337   runUnitTest=runUnitTest:main
338 scripts = runUnitTest
339 initialization =
340   import glob, imp, os, sys
341   import App # prevent Testing from importing Zope2.App instead of App
342   import Products
343   Products.__path__[:0] = filter(None,
344     os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
345   os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
346   os.environ['ZOPE_SCRIPTS'] = ''
347   parts_directory = '''${buildout:parts-directory}'''
348   repository_id_list = \
349     '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
350   os.environ['erp5_tests_bt5_path'] = ','.join(sum((
351     [bt5_path, os.path.join(bt5_path, '*')]
352     for bt5_path in (os.path.join(parts_directory, x, 'bt5')
353                      for x in repository_id_list)), []))
354   extra_path_list = '''${:extra-paths}'''.split()
355   sys.path[:0] = sum((
356     glob.glob(os.path.join(x, 'tests'))
357     for x in extra_path_list), [])
358   sys.path[:0] = sum((
359     glob.glob(os.path.join(x, 'Products', '*', 'tests'))
360     for x in extra_path_list), [])
361   sys.path[:0] = sum((
362     glob.glob(os.path.join(x, 'Products', '*', 'tests'))
363     for x in os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)), [])
364   os.environ['PATH'] = '${jsl:location}/bin:%s' % os.environ['PATH']
365   os.environ['CGI_PATH'] = '${w3-validator:location}/httpd/cgi-bin'
366
367 [test_suite_runner]
368 # XXX: Workaround for fact ERP5Type is not an distribution and does not
369 #      expose entry point for test runner
370 recipe = zc.recipe.egg
371 eggs = ${eggs:eggs}
372 extra-paths = ${eggs:extra-paths}
373 entry-points =
374   runTestSuite=Products.ERP5Type.tests.runTestSuite:main
375 scripts = runTestSuite
376 initialization =
377   import os
378   import sys
379   import Products
380   [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
381   import Zope2
382   os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
383   os.environ['ZOPE_SCRIPTS'] = ''
384   repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
385   sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
386
387 [patched-eggs]
388 recipe = minitage.recipe.egg
389 eggs =
390   Acquisition
391   Products.DCWorkflow
392   ZODB3
393 Acquisition-patches = ${:_profile_base_location_}/../../component/egg-patch/Acquisition/aq_dynamic.patch
394 Acquisition-patch-options = -p1
395 Acquisition-patch-binary = ${patch:location}/bin/patch
396 Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch
397 Products.DCWorkflow-patch-options = -p1
398 Products.DCWorkflow-patch-binary = ${patch:location}/bin/patch
399 ZODB3-patches = ${:_profile_base_location_}/../../component/egg-patch/ZODB3-3.10.5.patch
400 ZODB3-patch-options = -p1
401 ZODB3-patch-binary = ${patch:location}/bin/patch
402
403 [eggs]
404 recipe = zc.recipe.egg
405 eggs =
406   ${numpy:egg}
407   ${mysql-python:egg}
408   ${lxml-python:egg}
409   ${pillow-python:egg}
410   ${python-ldap-python:egg}
411   ${pysvn-python:egg}
412   ${pycrypto-python:egg}
413   lock_file
414   PyXML
415   Pympler
416   SOAPpy
417   chardet
418   coverage
419   elementtree
420   erp5diff
421   inotifyx
422   interval
423   ipdb
424   Jinja2
425   mechanize
426   paramiko
427   ply
428   pyflakes
429   pypdf2
430   python-magic
431   python-memcached
432   pytz
433   requests
434   threadframe
435   timerserver
436   urlnorm
437   uuid
438   xml_marshaller
439   xupdate_processor
440   feedparser
441   argparse
442   validictory
443   erp5.util
444   huBarcode
445   qrcode
446   spyne
447   httplib2
448   suds
449   pprofile
450   pycountry
451 # Needed for checking ZODB Components source code
452   pylint
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 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
483 #      (for tests like testCookieCrumbler).
484   zope.app.testing
485
486 # Currently forked in our repository
487 #    Products.PortalTransforms
488 # Dependency for our fork of PortalTransforms
489   StructuredText
490
491 # Needed for parsing .po files from our Localizer subset
492   polib
493
494 # parameterizing the version of the generated python interpreter name by the
495 # python section version causes dependency between this egg section and the
496 # installation of python, which we don't want on an instance
497 interpreter = ${buildout:python}
498 scripts =
499   repozo
500   runzope
501   runzeo
502   tidstoraged
503   tidstorage_repozo
504   web_checker_utility = erp5.util.webchecker:web_checker_utility
505
506 extra-paths =
507   ${erp5:location}
508
509 [zodbanalyze]
510 recipe = zc.recipe.egg
511 eggs =
512   ZODB3
513   erp5.util
514 entry-points =
515   zodbanalyze=erp5.util.zodbanalyze:main
516 scripts = zodbanalyze
517
518 # develop erp5.util from parts/erp5/
519 [erp5-util-develop]
520 recipe = zc.recipe.egg:develop
521 setup = ${erp5:location}
522
523 [cloudooo-repository]
524 branch =
525 revision = 8db3977b312e3cf8dbb64660c6f4f9e639b749c9
526
527 [slapos.cookbook-repository]
528 branch = erp5
529
530 [slapos-toolbox]
531 recipe = zc.recipe.egg
532 eggs =
533   ${lxml-python:egg}
534   slapos.toolbox
535   slapos.toolbox[zodbpack]
536
537 scripts =
538   killpidfromfile
539   onetimedownload
540   zodbpack
541
542 [versions]
543 # patched eggs
544 Acquisition = 2.13.8-ZMinitagePatched-AqDynamic
545 Products.DCWorkflow = 2.2.4-ZMinitagePatched-WorkflowMethod
546 ZODB3 = 3.10.5-ZMinitagePatched-ZODB33105
547
548 # specify dev version to be sure that an old released version is not used
549 cloudooo = 1.2.5-dev
550
551 # use newer version than specified in ZTK
552 PasteDeploy = 1.5.2
553 Pygments = 1.6
554 coverage = 3.7.1
555
556 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0.
557 Products.PluggableAuthService = 1.9.0
558
559 # official pysvn egg does not supports --include-dirs and
560 # --library-dirs, so we use our modified version
561 pysvn = 1.7.4nxd006
562
563 # we are still using this old stable version.
564 rdiff-backup = 1.0.5
565
566 # use newest version of slapos.cookbook
567 slapos.cookbook =
568
569 # modified version that works fine for buildout installation
570 SOAPpy = 0.12.0nxd001
571
572 # CMF 2.3 is not yet supported.
573 Products.CMFCalendar = 2.2.3
574 Products.CMFCore = 2.2.8
575 Products.CMFDefault = 2.2.4
576 Products.CMFTopic = 2.2.1
577 Products.CMFUid = 2.2.1
578
579 # newer version requires zope.traversing>=4.0.0a2.
580 zope.app.appsetup = 3.16.0
581
582 # newer version requires zope.i18n>=4.0.0a3
583 zope.app.publication = 3.14.0
584
585 # newer version requires zope.testbrowser>=4
586 zope.app.testing = 3.8.1
587
588 # Pinned versions
589 MySQL-python = 1.2.5
590 Pillow = 2.6.1
591 Products.CMFActionIcons = 2.1.3
592 Products.DCWorkflowGraph = 0.4.1
593 Products.ExternalEditor = 1.1.0
594 Products.GenericSetup = 1.7.5
595 Products.LongRequestLogger = 1.1.0
596 Products.MimetypesRegistry = 2.0.6
597 Products.PluginRegistry = 1.3
598 Products.TIDStorage = 5.4.9
599 PyPDF2 = 1.23
600 PyXML = 0.8.5
601 Pympler = 0.3.1
602 StructuredText = 2.11.1
603 WSGIUtils = 0.7
604 apache-libcloud = 0.15.1
605 astroid = 1.2.1
606 async = 0.6.1
607 chardet = 2.3.0
608 csp-eventlet = 0.7.0
609 ecdsa = 0.11
610 elementtree = 1.2.7-20070827-preview
611 erp5diff = 0.8.1.5
612 eventlet = 0.15.2
613 five.formlib = 1.0.4
614 five.localsitemanager = 2.0.5
615 gitdb = 0.5.4
616 greenlet = 0.4.5
617 http-parser = 0.8.3
618 httplib2 = 0.9
619 huBarcode = 1.0.0
620 interval = 1.0.0
621 ipdb = 0.8
622 ipython = 2.3.0
623 logilab-common = 0.63.0
624 minitage.paste = 1.4.6
625 minitage.recipe.egg = 1.107
626 numpy = 1.9.1
627 plone.recipe.command = 1.1
628 ply = 3.4
629 polib = 1.0.5
630 pprofile = 1.7.2
631 pycountry = 1.8
632 pyflakes = 0.8.1
633 pylint = 1.3.1
634 python-ldap = 2.4.17
635 python-magic = 0.4.6
636 python-memcached = 1.53
637 qrcode = 5.1
638 restkit = 4.2.2
639 rtjp-eventlet = 0.3.2
640 slapos.recipe.template = 2.5
641 slapos.toolbox = 0.41.0
642 smmap = 0.8.2
643 socketpool = 0.5.3
644 spyne = 2.11.0
645 suds = 0.4
646 threadframe = 0.2
647 timerserver = 2.0.2
648 urlnorm = 1.1.2
649 uuid = 1.30
650 validictory = 1.0.0a2
651 xupdate-processor = 0.4
652
653 # Required by:
654 # slapos.toolbox==0.40.2
655 GitPython = 0.3.2.RC1
656
657 # Required by:
658 # Products.CMFCore==2.2.8
659 Products.ZSQLMethods = 2.13.4
660
661 # Required by:
662 # slapos.toolbox==0.40.2
663 atomize = 0.2.0
664
665 # Required by:
666 # cloudooo==1.2.5-dev
667 erp5.util = 0.4.41
668
669 # Required by:
670 # slapos.toolbox==0.40.2
671 feedparser = 5.1.3
672
673 # Required by:
674 # SOAPpy==0.12.0nxd001
675 fpconst = 0.7.2
676
677 # Required by:
678 # minitage.recipe.egg==1.107
679 iniparse = 0.4
680
681 # Required by:
682 # minitage.core==2.0.57
683 minitage = 2.0.67
684
685 # Required by:
686 # minitage.recipe.common==1.90
687 # minitage.recipe.egg==1.107
688 minitage.core = 2.0.57
689
690 # Required by:
691 # minitage.recipe.egg==1.107
692 minitage.recipe.common = 1.90
693
694 # Required by:
695 # minitage.recipe.egg==1.107
696 ordereddict = 1.1
697
698 # Required by:
699 # slapos.toolbox==0.40.2
700 paramiko = 1.15.1
701
702 # Required by:
703 # zope.app.testing==3.8.1
704 zope.app.debug = 3.4.1
705
706 # Required by:
707 # zope.app.testing==3.8.1
708 zope.app.dependable = 3.5.1
709
710 # Required by:
711 # Products.CMFCalendar==2.2.3
712 # five.formlib==1.0.4
713 zope.app.form = 4.0.2