[buildout]
extends =
    buildout.hash.cfg
    software-common.cfg

parts +=
# NEO instanciation
    template-neo
    runTestSuite_py

[template-neo]
recipe = slapos.recipe.template:jinja2
url = ${:_profile_base_location_}/${:filename}
# XXX: "template.cfg" is hardcoded in instanciation recipe
output = ${buildout:directory}/template.cfg
context =
    key cluster cluster:target
    key instance_common_cfg instance-common:output
    key root_common root-common:target
    key runTestSuite_in runTestSuite.in:target
    ${instance-common:adapter-context}

[cluster]
<= download-base-neo

[runTestSuite.in]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_update_hash_filename_}

[runTestSuite_py]
recipe = zc.recipe.egg
eggs = erp5.util
interpreter = ${:_buildout_section_name_}

[versions]
# To match ERP5
zope.event = 3.5.2
zope.exceptions = 3.6.2
zope.testing = 3.9.7
##
