8 http://www.nexedi.org/static/packages/source/slapos.buildout/
10 http://www.nexedi.org/static/packages/source/
12 # Separate from site eggs
13 allowed-eggs-from-site-packages =
14 include-site-packages = false
15 exec-sitecustomize = false
17 # Use only quite well working sites.
25 peak.telecommunity.com
30 # Exact version of Zope
31 http://svn.zope.org/repos/main/Zope/tags/2.12.19/versions.cfg
32 ../component/logrotate/buildout.cfg
33 ../component/dcron/buildout.cfg
34 ../component/file/buildout.cfg
35 ../component/fonts/buildout.cfg
36 ../component/ghostscript/buildout.cfg
37 ../component/git/buildout.cfg
38 ../component/glib/buildout.cfg
39 ../component/graphviz/buildout.cfg
40 ../component/haproxy/buildout.cfg
41 ../component/hookbox/buildout.cfg
42 ../component/imagemagick/buildout.cfg
43 ../component/kumo/buildout.cfg
44 ../component/libreoffice-bin/buildout.cfg
45 ../component/lxml-python/buildout.cfg
46 ../component/mariadb/buildout.cfg
47 ../component/memcached/buildout.cfg
48 ../component/mysql-python/buildout.cfg
49 ../component/pdftk/buildout.cfg
50 ../component/pysvn-python/buildout.cfg
51 ../component/python-2.6/buildout.cfg
52 ../component/python-2.7/buildout.cfg
53 ../component/python-ldap-python/buildout.cfg
54 ../component/rdiff-backup/buildout.cfg
55 ../component/sphinx/buildout.cfg
56 ../component/stunnel/buildout.cfg
57 ../component/subversion/buildout.cfg
58 ../component/tesseract/buildout.cfg
59 ../component/varnish/buildout.cfg
60 ../component/w3-validator/buildout.cfg
61 ../component/w3m/buildout.cfg
62 ../component/xorg/buildout.cfg
63 ../component/poppler/buildout.cfg
64 ../component/xtrabackup/buildout.cfg
65 ../component/zabbix/buildout.cfg
66 ../component/sed/buildout.cfg
67 ../component/coreutils/buildout.cfg
68 ../component/grep/buildout.cfg
93 tesseract-eng-traineddata-unzip
120 # Cloudooo specific part
123 # get git repositories
129 # <url or path> [...]
131 # Use absolute paths for local repositories, and URLs for non-local otherwise.
133 list = ${local-bt5-repository:list}
135 [local-bt5-repository]
136 # Same as bt5-repository, but only local repository.
137 # Used to generate bt5lists.
138 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
141 recipe = plone.recipe.command
143 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
145 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
146 update-command = ${:command}
154 eggs = slapos.libnetworkcache
157 pkgname = itools-0.50.8
158 location = ${buildout:parts-directory}/${:_buildout_section_name_}
159 lib = ${:location}/lib
160 source = ${:location}/src
162 # ugly itools building sections until itools and setuptools learn to get
166 recipe = hexagonit.recipe.download
167 strip-top-level-dir = true
168 url = http://download.hforge.org/itools/0.50/${itools:pkgname}.tar.gz
169 md5sum = 12704cc354e2201e0921a832bf6b1556
170 destination = ${itools:source}
173 recipe = plone.recipe.command
174 # reference itools-download:destination instead of itools:source to trigger its
176 # here, we unset PYTHONPATH to invoke different python than buildout one.
178 cd ${itools-download:destination} &&
179 PYTHONPATH= ${python2.6:executable} setup.py build_ext -L ${glib:location}/lib -I ${glib:location}/include/glib-2.0:${glib:location}/lib/glib-2.0/include -R ${glib:location}/lib &&
180 PYTHONPATH= ${python2.6:executable} setup.py install_lib -d ${itools:lib}
182 update-command = ${:command}
183 location = ${itools:location}
187 # Recipe minitage.recipe.fetch is disabled, as it uses PATH variable, but it
188 # is not possible to change its environment to use localy delivered subversion
189 # nor git. plone.recipe.command can do same job, but it is controllable which
190 # binary will be used
191 recipe = plone.recipe.command
192 svn_param =--trust-server-cert --non-interactive --quiet
193 location = ${buildout:parts-directory}/${:_buildout_section_name_}
196 ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile &&
197 ${git:location}/bin/git clone --quiet git://git.hforge.org/Localizer.git ${:location}/Localizer
199 if ${buildout:newest}; then
200 ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile &&
201 cd ${:location}/Localizer &&
202 ${git:location}/bin/git pull --quiet
205 [erp5_repository_list]
206 repository_id_list = erp5
209 # Recipe zerokspot.recipe.git is disabled, as is not possible to change its
210 # environment to use localy delivered git.
211 # plone.recipe.command can do same job, but it is controllable which binary
213 recipe = plone.recipe.command
214 location = ${buildout:parts-directory}/${:_buildout_section_name_}
216 repository = http://git.erp5.org/repos/erp5.git
218 revision = 0c37bafcc688c022d710f04ffafa226e3543a2cd
219 command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location} && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
220 update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
223 # XXX: ERP5 related products are not defined as python distributions, so it is
224 # required to configure them in declarative manner
225 list = ${products-deps:location} ${buildout:parts-directory}/erp5/product
228 # XXX: Workaround for fact ERP5Type is not an distribution and does not
229 # expose entry point for test runner
230 recipe = zc.recipe.egg
233 extra-paths = ${eggs:extra-paths}
235 runUnitTest=Products.ERP5Type.tests.runUnitTest:main
236 scripts = runUnitTest
241 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
242 Products.__path__.extend(reversed('''${products:list}'''.split()))
244 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
245 os.environ['ZOPE_SCRIPTS'] = ''
246 parts_directory = '''${buildout:parts-directory}'''
247 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
248 temp_bt5_path_list = ['/'.join([parts_directory, x, 'bt5']) for x in repository_id_list]
250 [bt5_path_list.extend([bt5_path, '%s/*' % bt5_path]) for bt5_path in temp_bt5_path_list]
251 os.environ['erp5_tests_bt5_path'] = ','.join(bt5_path_list)
252 sys.path[0:0] = ['/'.join([parts_directory, x, 'tests']) for x in repository_id_list]
254 product_test_path_list = []
255 [product_test_path_list.extend(glob.glob('/'.join([parts_directory, x, 'product/*/tests']))) for x in repository_id_list]
256 sys.path[0:0] = product_test_path_list
259 # XXX: Workaround for fact ERP5Type is not an distribution and does not
260 # expose entry point for test runner
261 recipe = zc.recipe.egg
264 extra-paths = ${eggs:extra-paths}
266 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
267 scripts = runTestSuite
272 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
273 Products.__path__.extend(reversed('''${products:list}'''.split()))
275 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
276 os.environ['ZOPE_SCRIPTS'] = ''
277 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
278 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
280 [instance-recipe-egg]
281 recipe = zc.recipe.egg
285 ${instance-recipe:egg}
286 erp5.conflictresolver
289 recipe = zc.recipe.egg
294 ${python-ldap-python:egg}
322 # Zope 2.12 with patched acquisition
327 # Other Zope 2 packages
328 Products.PluggableAuthService
329 Products.PluginRegistry
332 Products.CMFActionIcons
339 Products.GenericSetup
340 five.localsitemanager
343 Products.DCWorkflowGraph
344 Products.MimetypesRegistry
345 Products.ExternalEditor
349 # Currently forked in our repository
350 # Products.PortalTransforms
351 # Dependency for our fork of PortalTransforms
354 # parameterizing the version of the generated python interpreter name by the
355 # python section version causes dependency between this egg section and the
356 # installation of python, which we don't want on an instance
357 interpreter = python2.6
366 ${itools:location}/lib
381 recipe = zc.recipe.egg
385 cloudooo.handler.ffmpeg
386 cloudooo.handler.imagemagick
392 paster=cloudooo_paster
395 # Use SlapOS patched zc.buildout
396 zc.buildout = 1.5.3-dev-SlapOS-004
398 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
399 Acquisition = 2.13.7nxd001
400 Products.DCWorkflow = 2.2.3nxd002
402 # Known version with works
404 # Patched version which support python 2.6
406 # modified version that works fine for buildout installation
407 SOAPpy = 0.12.0nxd001
408 # we are still using this old stable version.
411 # Zope Known Good Set is incompatible with buildout 1.5.0 in case of
412 # distribute and zc.buildout, and as ERP5 Appliance trunk wants to use
413 # the newest versions of buildout infrastructure clear the pin
417 # official pysvn egg does not supports --include-dirs and
418 # --library-dirs, so we use our modified version