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