pdftk removed from erp5
[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/pil-python/buildout.cfg
44   ../../component/pycrypto-python/buildout.cfg
45   ../../component/pysvn-python/buildout.cfg
46   ../../component/python-2.6/buildout.cfg
47   ../../component/python-2.7/buildout.cfg
48   ../../component/python-ldap-python/buildout.cfg
49   ../../component/rdiff-backup/buildout.cfg
50   ../../component/subversion/buildout.cfg
51   ../../component/tesseract/buildout.cfg
52   ../../component/varnish/buildout.cfg
53   ../../component/w3-validator/buildout.cfg
54   ../../component/w3m/buildout.cfg
55   ../../component/xorg/buildout.cfg
56   ../../component/poppler/buildout.cfg
57   ../../component/xtrabackup/buildout.cfg
58   ../../component/zabbix/buildout.cfg
59   ../../component/sed/buildout.cfg
60   ../../component/coreutils/buildout.cfg
61   ../../component/grep/buildout.cfg
62   ../../component/dash/buildout.cfg
63   ../../component/wget/buildout.cfg
64   ../../component/aspell/buildout.cfg
65   ../../component/cloudooo/buildout.cfg
66
67 parts =
68   rdiff-backup
69   aspell
70   aspell-en-dictionary
71   apache
72   apache-antiloris
73   file
74   graphviz
75   memcached
76   haproxy
77   varnish-3.0
78   w3m
79   poppler
80   libpng
81   ghostscript
82   mariadb
83   mroonga-mariadb
84   imagemagick
85   libdmtx
86   dmtx-utils
87   kumo
88   libreoffice-bin
89   w3-validator
90   tesseract
91   hookbox
92   bootstrap2.6
93   perl-DBD-mariadb
94   perl-DBI
95   percona-toolkit
96   zabbix-agent
97   dcron
98   dash
99   wget
100
101 # Buildoutish
102   eggs
103   testrunner
104   test_suite_runner
105
106 # basic Xorg
107   libXdmcp
108   libXext
109   libXau
110   libSM
111   libXrender
112
113 # fonts
114   liberation-fonts
115   ipaex-fonts
116   ocrb-fonts
117
118 # Cloudooo specific part
119   cloudooo
120
121 # get git repositories
122   erp5
123   genbt5list
124
125 # fix products path (Zeo needs ERP5 Products to be available for
126 # conflict resolution)
127   fix-products-paths
128 # some additional utils
129   slapos-toolbox
130
131 # Local development
132   slapos.cookbook-repository
133   check-recipe
134   slapos.cookbook-python2.6
135   slapos.recipe.template-python2.6
136 # Create instance template
137   template
138
139 # Local development
140 [slapos.cookbook-repository]
141 recipe = slapos.recipe.build:gitclone
142 repository = http://git.erp5.org/repos/slapos.git
143 branch = erp5
144 git-executable = ${git:location}/bin/git
145
146 [check-recipe]
147 recipe = plone.recipe.command
148 stop-on-error = true
149 update-command = ${:command}
150 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
151
152 [slapos.cookbook-python2.6]
153 recipe = zc.recipe.egg
154 eggs = slapos.cookbook
155 scripts =
156 python = python2.6
157 ugly-depend-on = ${slapos.cookbook-repository:repository} ${slapos.cookbook-repository:branch}
158
159 [slapos.recipe.template-python2.6]
160 recipe = zc.recipe.egg
161 eggs = slapos.recipe.template
162 scripts =
163 python = python2.6
164
165 [template-jinja2-base]
166 recipe = slapos.recipe.template:jinja2
167 template = ${:_profile_base_location_}/${:filename}.in
168 rendered = ${buildout:directory}/${:filename}
169 # XXX: extra-context is needed because we cannot append to a key of an extended
170 # section.
171 extra-context =
172 context =
173     key bin_directory buildout:bin-directory
174     key develop_eggs_directory buildout:develop-eggs-directory
175     key eggs_directory buildout:eggs-directory
176     ${:extra-context}
177
178 [template-mariadb]
179 < = template-jinja2-base
180 filename = instance-mariadb.cfg
181 md5sum = 49ae6f1bf97d3755978fe08b8e29fb5a
182 extra-context =
183     key coreutils_location coreutils:location
184     key dcron_location dcron:location
185     key gettext_location gettext:location
186     key grep_location grep:location
187     key gzip_location gzip:location
188     key logrotate_location logrotate:location
189     key mariadb_location mariadb:location
190     key perl_location perl:location
191     key perl_siteprefix perl:siteprefix
192     key sed_location sed:location
193     key xtrabackup_location xtrabackup:location
194
195 [template-zope]
196 recipe = slapos.recipe.build:download
197 url = ${:_profile_base_location_}/instance-zope.cfg.in
198 md5sum = d5981dbe595004c707dd1744be1fe753
199 mode = 640
200
201 [template-kumofs]
202 < = template-jinja2-base
203 filename = instance-kumofs.cfg
204 md5sum = 7e13d689de7163dcab64e8df4711cdd7
205 extra-context =
206     key dash_location dash:location
207     key dcron_location dcron:location
208     key gzip_location gzip:location
209     key kumo_location kumo:location
210     key logrotate_location logrotate:location
211
212 [template-tidstorage]
213 recipe = slapos.recipe.build:download
214 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
215 md5sum = 5e0c5de5bc17947c152de73b329a5a02
216 mode = 640
217
218 [template-cloudooo]
219 recipe = slapos.recipe.build:download
220 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
221 md5sum = 53492e520be57f4c6a9eacd107c8d446
222 mode = 640
223
224 [template-zope-conf]
225 recipe = slapos.recipe.build:download
226 url = ${:_profile_base_location_}/zope.conf.in
227 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
228 mode = 640
229
230 [template]
231 < = template-jinja2-base
232 # XXX: "template.cfg" is hardcoded in instanciation recipe
233 filename = template.cfg
234 template = ${:_profile_base_location_}/instance.cfg.in
235 md5sum = bee6c2b640efee53e3b6e209127cb0bc
236 extra-context =
237     key apache_location apache:location
238     key aspell_location aspell:location
239     key buildout_bin_directory buildout:bin-directory
240     key coreutils_location coreutils:location
241     key curl_location curl:location
242     key dash_location dash:location
243     key dcron_location dcron:location
244     key dmtx_utils_location dmtx-utils:location
245     key erp5_location erp5:location
246     key file_location file:location
247     key fontconfig_location fontconfig:location
248     key fonts_location fonts:location
249     key freetype_location freetype:location
250     key git_location git:location
251     key graphviz_location graphviz:location
252     key grep_location grep:location
253     key gzip_location gzip:location
254     key haproxy_location haproxy:location
255     key imagemagick_location imagemagick:location
256     key libICE_location libICE:location
257     key libSM_location libSM:location
258     key libX11_location libX11:location
259     key libXau_location libXau:location
260     key libXdmcp_location libXdmcp:location
261     key libXext_location libXext:location
262     key libXrender_location libXrender:location
263     key libpng12_location libpng12:location
264     key libreoffice_bin_location libreoffice-bin:location
265     key librsvg_location librsvg:location
266     key libxcb_location libxcb:location
267     key local_bt5_repository local-bt5-repository:list
268     key logrotate_location logrotate:location
269     key mariadb_location mariadb:location
270     key openssl_location openssl:location
271     key pdftk_location pdftk:location
272     key poppler_location poppler:location
273     key sed_location sed:location
274     key template_cloudooo template-cloudooo:target
275     key template_erp5_single template-erp5-single:target
276     key template_erp5_cluster template-erp5-cluster:target
277     key template_kumofs template-kumofs:rendered
278     key template_mariadb template-mariadb:rendered
279     key template_memcached template-memcached:rendered
280     key template_tidstorage template-tidstorage:target
281     key template_varnish template-varnish:target
282     key template_zope template-zope:target
283     key template_zope_conf template-zope-conf:target
284     key tesseract_location tesseract:location
285     key varnish_location varnish-3.0:location
286     key w3m_location w3m:location
287     key wget_location wget:location
288     key zlib_location zlib:location
289
290 [template-memcached]
291 < = template-jinja2-base
292 filename = instance-memcached.cfg
293 md5sum = 44c507e9eec1003beb99f9063b5e09be
294 extra-context =
295     key dash_location dash:location
296     key memcached_location memcached:location
297
298 [template-erp5-single]
299 recipe = slapos.recipe.build:download
300 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
301 md5sum = 2a4312202a3160f874c4fa3ee9155a1d
302 mode = 640
303
304 [template-erp5-cluster]
305 recipe = slapos.recipe.build:download
306 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
307 md5sum = eecde68b9a266d8883042540ac077839
308 mode = 640
309
310 [template-varnish]
311 recipe = slapos.recipe.build:download
312 url = ${:_profile_base_location_}/instance-varnish.cfg.in
313 md5sum = 17aee2df57b121343b1fd65f4b51ce80
314 mode = 640
315
316 [bt5-repository]
317 # Format:
318 #   <url or path> [...]
319 #
320 # Use absolute paths for local repositories, and URLs for non-local otherwise.
321 #
322 list = ${local-bt5-repository:list}
323
324 [local-bt5-repository]
325 # Same as bt5-repository, but only local repository.
326 # Used to generate bt5lists.
327 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
328
329 [genbt5list]
330 recipe = plone.recipe.command
331 stop-on-error = true
332 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
333 command =
334   ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
335 update-command = ${:command}
336
337 [bootstrap2.6]
338 python = python2.6
339
340 [erp5_repository_list]
341 repository_id_list = erp5
342
343 [erp5]
344 recipe = slapos.recipe.build:gitclone
345 repository = http://git.erp5.org/repos/erp5.git
346 branch = master
347 git-executable = ${git:location}/bin/git
348
349 [fix-products-paths]
350 recipe = plone.recipe.command
351 stop-on-error = true
352 dir = ${erp5:location}
353 command =
354   rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
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   spyne
452
453 # Zope
454   ZODB3
455   Zope2
456 # Zope acquisition patch
457   Acquisition
458
459 # Other Zope 2 packages
460   Products.PluggableAuthService
461   Products.PluginRegistry
462
463 # CMF 2.2
464   Products.CMFActionIcons
465   Products.CMFCalendar
466   Products.CMFCore
467   Products.CMFDefault
468   Products.CMFTopic
469   Products.CMFUid
470   Products.DCWorkflow
471   Products.GenericSetup
472   five.localsitemanager
473
474 # Other products
475   Products.DCWorkflowGraph
476   Products.MimetypesRegistry
477   Products.ExternalEditor
478   Products.TIDStorage
479   Products.LongRequestLogger
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 = 6629837c96ae58e96cac019044ce95d19cb7a659
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.22
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.2
626 slapos.recipe.build = 0.11.6
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 spyne = 2.9.3
642 requests = 0.13.2
643 cloudooo = 1.2.5-dev