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