[buildout] find-links += http://www.owlfish.com/software/wsgiutils/download.html extends = # Exact version of Zope https://raw.github.com/zopefoundation/Zope/2.13.22/versions.cfg ../../stack/slapos.cfg ../../component/cups/buildout.cfg ../../component/dbus/buildout.cfg ../../component/file/buildout.cfg ../../component/fonts/buildout.cfg ../../component/ghostscript/buildout.cfg ../../component/git/buildout.cfg ../../component/graphviz/buildout.cfg ../../component/gzip/buildout.cfg ../../component/haproxy/buildout.cfg ../../component/hookbox/buildout.cfg ../../component/librsvg/buildout.cfg ../../component/imagemagick/buildout.cfg ../../component/inkscape/buildout.cfg ../../component/kumo/buildout.cfg ../../component/libdmtx/buildout.cfg ../../component/libffi/buildout.cfg ../../component/libpng/buildout.cfg ../../component/libreoffice-bin/buildout.cfg ../../component/lxml-python/buildout.cfg ../../component/mesa/buildout.cfg ../../component/numpy/buildout.cfg ../../component/percona-toolkit/buildout.cfg ../../component/mariadb/buildout.cfg ../../component/mysql-python/buildout.cfg ../../component/patch/buildout.cfg ../../component/pillow/buildout.cfg ../../component/pycrypto-python/buildout.cfg ../../component/pysvn-python/buildout.cfg ../../component/python-2.7/buildout.cfg ../../component/python-ldap-python/buildout.cfg ../../component/rdiff-backup/buildout.cfg ../../component/stunnel/buildout.cfg ../../component/subversion/buildout.cfg ../../component/tesseract/buildout.cfg ../../component/w3-validator/buildout.cfg ../../component/w3m/buildout.cfg ../../component/xorg/buildout.cfg ../../component/poppler/buildout.cfg ../../component/zabbix/buildout.cfg ../../component/sed/buildout.cfg ../../component/coreutils/buildout.cfg ../../component/grep/buildout.cfg ../../component/dash/buildout.cfg ../../component/wget/buildout.cfg ../../component/aspell/buildout.cfg ../../component/cloudooo/buildout.cfg ../../component/jsl/buildout.cfg ../../component/6tunnel/buildout.cfg ../../component/findutils/buildout.cfg ../../component/userhosts/buildout.cfg logrotate-base.cfg parts = erp5-util-develop slapos-cookbook-develop slapos-cookbook rdiff-backup aspell aspell-en-dictionary apache apache-antiloris file findutils graphviz haproxy jsl stunnel w3m poppler libpng ghostscript mariadb mroonga-mariadb imagemagick inkscape libdmtx dmtx-utils kumo libreoffice-bin w3-validator tesseract hookbox perl-DBD-mariadb perl-DBI percona-toolkit zabbix-agent dash wget userhosts # Buildoutish patched-eggs eggs testrunner test_suite_runner # basic Xorg libXdmcp libXext libXau libSM libXrender # fonts liberation-fonts ipaex-fonts ipa-fonts ocrb-fonts android-fonts # Cloudooo specific part cloudooo-develop cloudooo # get git repositories erp5 genbt5list # some additional utils slapos-toolbox zodbanalyze # Create instance template template [download-base] recipe = slapos.recipe.build:download url = ${:_profile_base_location_}/${:filename} mode = 644 [check-recipe] recipe = plone.recipe.command stop-on-error = true update-command = ${:command} command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link [template-jinja2-base] recipe = slapos.recipe.template:jinja2 mode = 640 template = ${:_profile_base_location_}/${:filename}.in rendered = ${buildout:directory}/${:filename} # XXX: extra-context is needed because we cannot append to a key of an extended # section. extra-context = context = key bin_directory buildout:bin-directory key develop_eggs_directory buildout:develop-eggs-directory key eggs_directory buildout:eggs-directory key slapos_core_version versions:slapos.core ${:extra-context} [template-mariadb] < = download-base filename = instance-mariadb.cfg.in md5sum = 8a59e1730391fb3a859cd973cd7c3a5b link-binary = ${coreutils:location}/bin/basename ${coreutils:location}/bin/cat ${coreutils:location}/bin/cp ${coreutils:location}/bin/ls ${coreutils:location}/bin/tr ${coreutils:location}/bin/uname ${gettext:location}/lib/gettext/hostname ${grep:location}/bin/grep ${sed:location}/bin/sed ${mariadb:location}/bin/mysqlbinlog [template-kumofs] < = download-base filename = instance-kumofs.cfg.in md5sum = 5ebf310655d5de27da039d71a63d209b [template-cloudooo] < = download-base filename = instance-cloudoo.cfg.in md5sum = 48d5e8c3efc5bfd6fc1027b5ebe55e64 [template-zope-conf] < = download-base filename = zope.conf.in md5sum = 0bf51218ecbf2bd319214192448a3ef7 [template-runzope-userhosts-preloaded] < = download-base filename = runzope_userhosts_preloaded.in md5sum = 19fc529e34e764c73fcf5f56aee0db56 [template-my-cnf] < = download-base filename = my.cnf.in md5sum = dd779e54d22105702aa72cadc994d957 [template-mariadb-initial-setup] < = download-base filename = mariadb_initial_setup.sql.in md5sum = b8d2d9af0c4cab45c8337aeac28d5fae [template-create-erp5-site] < = download-base filename = instance-create-erp5-site.cfg.in md5sum = 408fd955a876a1004ed35f578029a7d2 [template-create-erp5-site-real] < = download-base filename = instance-create-erp5-site-real.cfg.in md5sum = e40e2e39f4941c6372f4357e8589a5cf [template] < = template-jinja2-base # XXX: "template.cfg" is hardcoded in instanciation recipe filename = template.cfg template = ${:_profile_base_location_}/instance.cfg.in md5sum = 2738587138c9bd10af60c6552ecac360 extra-context = key mariadb_link_binary template-mariadb:link-binary key zope_link_binary template-zope:link-binary key apache_location apache:location key aspell_location aspell:location key buildout_bin_directory buildout:bin-directory key coreutils_location coreutils:location key cups_location cups:location key curl_location curl:location key dash_location dash:location key dbus_glib_location dbus-glib:location key dbus_location dbus:location key dcron_location dcron:location key erp5_location erp5:location key file_location file:location key findutils_location findutils:location key fontconfig_location fontconfig:location key fonts_location fonts:location key freetype_location freetype:location key glib_location glib:location key glu_location glu:location key gzip_location gzip:location key haproxy_location haproxy:location key jsl_location jsl:location key kumo_location kumo:location key libICE_location libICE:location key libSM_location libSM:location key libX11_location libX11:location key libXau_location libXau:location key libXdmcp_location libXdmcp:location key libXext_location libXext:location key libXrender_location libXrender:location key libexpat_location libexpat:location key libffi_location libffi:location key libpng12_location libpng12:location key libreoffice_bin_location libreoffice-bin:location key librsvg_location librsvg:location key libxcb_location libxcb:location key local_bt5_repository local-bt5-repository:list key logrotate_location logrotate:location key mariadb_location mariadb:location key mesa_location mesa:location key openssl_location openssl:location key sixtunnel_location 6tunnel:location key stunnel_location stunnel:location key template_apache_conf template-apache-conf:target key template_balancer template-balancer:target key template_cloudooo template-cloudooo:target key template_create_erp5_site template-create-erp5-site:target key template_create_erp5_site_real template-create-erp5-site-real:target key template_erp5 template-erp5:target key template_haproxy_cfg template-haproxy-cfg:target key template_kumofs template-kumofs:target key template_logrotate_base template-logrotate-base:rendered key template_mariadb template-mariadb:target key template_mariadb_initial_setup template-mariadb-initial-setup:target key template_my_cnf template-my-cnf:target key template_runzope_userhosts_preloaded template-runzope-userhosts-preloaded:target key template_zeo template-zeo:target key template_zope template-zope:target key template_zope_conf template-zope-conf:target key userhosts_location userhosts:location key wget_location wget:location key xdamage_location xdamage:location key xfixes_location xfixes:location key zlib_location zlib:location [template-erp5] < = download-base filename = instance-erp5.cfg.in md5sum = 28db329061ae863367a76951b9b1152c [template-zeo] < = download-base filename = instance-zeo.cfg.in md5sum = e810ce0bf324a33d0d52d3ecda67bc4d [template-zope] < = download-base filename = instance-zope.cfg.in md5sum = 129b0468957dec95c0c04c3484df8624 link-binary = ${aspell:location}/bin/aspell ${coreutils:location}/bin/basename ${coreutils:location}/bin/cat ${coreutils:location}/bin/cp ${coreutils:location}/bin/ls ${coreutils:location}/bin/tr ${coreutils:location}/bin/uname ${dmtx-utils:location}/bin/dmtxwrite ${git:location}/bin/git ${graphviz:location}/bin/dot ${grep:location}/bin/grep ${imagemagick:location}/bin/convert ${imagemagick:location}/bin/identify ${jsl:location}/bin/jsl ${librsvg:location}/bin/rsvg-convert ${mariadb:location}/bin/mysql ${mariadb:location}/bin/mysqldump ${openssl:location}/bin/openssl ${poppler:location}/bin/pdfinfo ${poppler:location}/bin/pdftohtml ${poppler:location}/bin/pdftotext ${sed:location}/bin/sed ${tesseract:location}/bin/tesseract ${w3m:location}/bin/w3m [template-balancer] < = download-base filename = instance-balancer.cfg.in md5sum = 3628f0ba358e7ee96a8d0185c4775911 [template-apache-conf] < = download-base filename = apache.conf.in md5sum = dedfe759c3421e0186703fe1257bae8f [template-haproxy-cfg] < = download-base filename = haproxy.cfg.in md5sum = d27fe9218cb737d8a76ba5df4740f947 [bt5-repository] # Format: # <url or path> [...] # # Use absolute paths for local repositories, and URLs for non-local otherwise. # list = ${local-bt5-repository:list} [local-bt5-repository] # Same as bt5-repository, but only local repository. # Used to generate bt5lists. list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap [genbt5list] recipe = plone.recipe.command stop-on-error = true genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list command = ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list} update-command = ${:command} [erp5_repository_list] repository_id_list = erp5 [erp5] recipe = slapos.recipe.build:gitclone repository = http://git.erp5.org/repos/erp5.git branch = master git-executable = ${git:location}/bin/git [testrunner] # XXX: Workaround for fact ERP5Type is not an distribution and does not # expose entry point for test runner recipe = zc.recipe.egg eggs = ${eggs:eggs} extra-paths = ${eggs:extra-paths} entry-points = runUnitTest=runUnitTest:main scripts = runUnitTest initialization = import glob, imp, os, sys import App # prevent Testing from importing Zope2.App instead of App import Products Products.__path__[:0] = filter(None, os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)) os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1]) os.environ['ZOPE_SCRIPTS'] = '' parts_directory = '''${buildout:parts-directory}''' repository_id_list = \ '''${erp5_repository_list:repository_id_list}'''.split()[::-1] os.environ['erp5_tests_bt5_path'] = ','.join(sum(( [bt5_path, os.path.join(bt5_path, '*')] for bt5_path in (os.path.join(parts_directory, x, 'bt5') for x in repository_id_list)), [])) extra_path_list = '''${:extra-paths}'''.split() sys.path[:0] = sum(( glob.glob(os.path.join(x, 'tests')) for x in extra_path_list), []) sys.path[:0] = sum(( glob.glob(os.path.join(x, 'Products', '*', 'tests')) for x in extra_path_list), []) sys.path[:0] = sum(( glob.glob(os.path.join(x, 'Products', '*', 'tests')) for x in os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)), []) os.environ['PATH'] = '${jsl:location}/bin:%s' % os.environ['PATH'] os.environ['CGI_PATH'] = '${w3-validator:location}/httpd/cgi-bin' [test_suite_runner] # XXX: Workaround for fact ERP5Type is not an distribution and does not # expose entry point for test runner recipe = zc.recipe.egg eggs = ${eggs:eggs} extra-paths = ${eggs:extra-paths} entry-points = runTestSuite=Products.ERP5Type.tests.runTestSuite:main scripts = runTestSuite initialization = import os import sys import Products [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p] import Zope2 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__))) os.environ['ZOPE_SCRIPTS'] = '' repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split())) sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list] [patched-eggs] recipe = minitage.recipe.egg eggs = Acquisition Products.DCWorkflow ZODB3 Acquisition-patches = ${:_profile_base_location_}/../../component/egg-patch/Acquisition/aq_dynamic.patch Acquisition-patch-options = -p1 Acquisition-patch-binary = ${patch:location}/bin/patch Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch Products.DCWorkflow-patch-options = -p1 Products.DCWorkflow-patch-binary = ${patch:location}/bin/patch ZODB3-patches = ${:_profile_base_location_}/../../component/egg-patch/ZODB3-3.10.5.patch ZODB3-patch-options = -p1 ZODB3-patch-binary = ${patch:location}/bin/patch [eggs] recipe = zc.recipe.egg eggs = ${numpy:egg} ${mysql-python:egg} ${lxml-python:egg} ${pillow-python:egg} ${python-ldap-python:egg} ${pysvn-python:egg} ${pycrypto-python:egg} lock_file PyXML Pympler SOAPpy chardet coverage elementtree erp5diff inotifyx interval ipdb Jinja2 mechanize paramiko ply pyflakes pypdf2 python-magic python-memcached pytz requests threadframe timerserver urlnorm uuid xml_marshaller xupdate_processor feedparser argparse validictory erp5.util huBarcode qrcode spyne httplib2 suds pprofile pycountry xfw # Needed for checking ZODB Components source code pylint neoppod[client] # Zope ZODB3 Zope2 # Zope acquisition patch Acquisition # Other Zope 2 packages Products.PluggableAuthService Products.PluginRegistry # CMF 2.2 Products.CMFActionIcons Products.CMFCalendar Products.CMFCore Products.CMFDefault Products.CMFTopic Products.CMFUid Products.DCWorkflow Products.GenericSetup five.localsitemanager # Other products Products.DCWorkflowGraph Products.MimetypesRegistry Products.ExternalEditor Products.TIDStorage Products.LongRequestLogger # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF # (for tests like testCookieCrumbler). zope.app.testing # Currently forked in our repository # Products.PortalTransforms # Dependency for our fork of PortalTransforms StructuredText # Needed for parsing .po files from our Localizer subset polib # parameterizing the version of the generated python interpreter name by the # python section version causes dependency between this egg section and the # installation of python, which we don't want on an instance interpreter = ${buildout:python} scripts = neoctl neolog neomigrate repozo runzope runzeo tidstoraged tidstorage_repozo web_checker_utility = erp5.util.webchecker:web_checker_utility extra-paths = ${erp5:location} [zodbanalyze] recipe = zc.recipe.egg eggs = ZODB3 erp5.util entry-points = zodbanalyze=erp5.util.zodbanalyze:main scripts = zodbanalyze # develop erp5.util from parts/erp5/ [erp5-util-develop] recipe = zc.recipe.egg:develop setup = ${erp5:location} [cloudooo-repository] branch = revision = 8db3977b312e3cf8dbb64660c6f4f9e639b749c9 [slapos.cookbook-repository] branch = erp5-cluster [slapos-toolbox] recipe = zc.recipe.egg eggs = ${lxml-python:egg} slapos.toolbox slapos.toolbox[zodbpack] scripts = is-local-tcp-port-opened onetimedownload slapos-kill zodbpack [versions] # patched eggs Acquisition = 2.13.8-ZMinitagePatched-AqDynamic Products.DCWorkflow = 2.2.4-ZMinitagePatched-WorkflowMethod ZODB3 = 3.10.5-ZMinitagePatched-ZODB33105 # specify dev version to be sure that an old released version is not used cloudooo = 1.2.5-dev # use newer version than specified in ZTK PasteDeploy = 1.5.2 Pygments = 2.0.1 coverage = 3.7.1 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0. Products.PluggableAuthService = 1.9.0 # official pysvn egg does not supports --include-dirs and # --library-dirs, so we use our modified version pysvn = 1.7.4nxd006 # we are still using this old stable version. rdiff-backup = 1.0.5 # use newest version of slapos.cookbook slapos.cookbook = # modified version that works fine for buildout installation SOAPpy = 0.12.0nxd001 # CMF 2.3 is not yet supported. Products.CMFCalendar = 2.2.3 Products.CMFCore = 2.2.8 Products.CMFDefault = 2.2.4 Products.CMFTopic = 2.2.1 Products.CMFUid = 2.2.1 # newer version requires zope.traversing>=4.0.0a2. zope.app.appsetup = 3.16.0 # newer version requires zope.i18n>=4.0.0a3 zope.app.publication = 3.14.0 # newer version requires zope.testbrowser>=4 zope.app.testing = 3.8.1 # Pinned versions MySQL-python = 1.2.5 Pillow = 2.6.1 Products.CMFActionIcons = 2.1.3 Products.DCWorkflowGraph = 0.4.1 Products.ExternalEditor = 1.1.0 Products.GenericSetup = 1.7.5 Products.LongRequestLogger = 1.1.0 Products.MimetypesRegistry = 2.0.6 Products.PluginRegistry = 1.3 Products.TIDStorage = 5.4.9 PyPDF2 = 1.23 PyXML = 0.8.5 Pympler = 0.3.1 StructuredText = 2.11.1 WSGIUtils = 0.7 apache-libcloud = 0.16.0 astroid = 1.3.2 async = 0.6.1 chardet = 2.3.0 csp-eventlet = 0.7.0 ecdsa = 0.11 elementtree = 1.2.7-20070827-preview erp5diff = 0.8.1.5 eventlet = 0.15.2 five.formlib = 1.0.4 five.localsitemanager = 2.0.5 gitdb = 0.6.0 greenlet = 0.4.5 http-parser = 0.8.3 httplib2 = 0.9 huBarcode = 1.0.0 interval = 1.0.0 ipdb = 0.8 ipython = 2.3.1 logilab-common = 0.63.0 minitage.paste = 1.4.6 minitage.recipe.egg = 1.107 numpy = 1.9.1 plone.recipe.command = 1.1 ply = 3.4 polib = 1.0.5 pprofile = 1.7.2 pycountry = 1.10 pyflakes = 0.8.1 pylint = 1.4.0 python-ldap = 2.4.17 python-magic = 0.4.6 python-memcached = 1.53 qrcode = 5.1 restkit = 4.2.2 rtjp-eventlet = 0.3.2 slapos.recipe.template = 2.6 slapos.toolbox = 0.45.1 smmap = 0.8.3 socketpool = 0.5.3 spyne = 2.11.0 suds = 0.4 threadframe = 0.2 timerserver = 2.0.2 urlnorm = 1.1.2 uuid = 1.30 validictory = 1.0.0a2 xupdate-processor = 0.4 xfw = 0.10 # Required by: # slapos.toolbox==0.45.1 GitPython = 0.3.2.1 # Required by: # Products.CMFCore==2.2.8 Products.ZSQLMethods = 2.13.4 # Required by: # slapos.toolbox==0.45.1 atomize = 0.2.0 # Required by: # cloudooo==1.2.5-dev erp5.util = 0.4.41 # Required by: # slapos.toolbox==0.45.1 feedparser = 5.1.3 # Required by: # SOAPpy==0.12.0nxd001 fpconst = 0.7.2 # Required by: # minitage.recipe.egg==1.107 iniparse = 0.4 # Required by: # minitage.core==2.0.57 minitage = 2.0.67 # Required by: # minitage.recipe.common==1.90 # minitage.recipe.egg==1.107 minitage.core = 2.0.57 # Required by: # minitage.recipe.egg==1.107 minitage.recipe.common = 1.90 # Required by: # minitage.recipe.egg==1.107 ordereddict = 1.1 # Required by: # slapos.toolbox==0.45.1 paramiko = 1.15.1 # Required by: # zope.app.testing==3.8.1 zope.app.debug = 3.4.1 # Required by: # zope.app.testing==3.8.1 zope.app.dependable = 3.5.1 # Required by: # Products.CMFCalendar==2.2.3 # five.formlib==1.0.4 zope.app.form = 4.0.2