# SlapOS component for zodbtools.
# https://lab.nexedi.com/nexedi/zodbtools

[buildout]
extends =
    ../pygolang/buildout.cfg
    ../ZODB/buildout.cfg
    ../ZEO/buildout.cfg
    ../git/buildout.cfg

parts =
    zodbtools


[zodbtools]
recipe  = zc.recipe.egg:develop
setup   = ${zodbtools-repository:location}
egg     = zodbtools
eggs    =
    ${:egg}

# dependent eggs that must come through in-tree recipes
depends =
    ${pygolang:egg}
    ${ZODB:egg}
# ZEO comes through zodbtools -> zodburi -> ZEO
    ${ZEO:egg}

[zodbtools/scripts]
recipe  = zc.recipe.egg:scripts
eggs    = ${zodbtools:eggs}


[zodbtools-repository]
recipe  = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/zodbtools.git
location = ${buildout:parts-directory}/zodbtools
git-executable = ${git:location}/bin/git
revision = 0.0.0.dev9-21-gb0fdb5f
