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