Commit fdb95860 authored by Jérome Perrin's avatar Jérome Perrin

stack/slapos: introduce slapos-toolbox-dependencies

section to install dependencies of slapos.toolbox using slapos libraries
parent cef0d3f0
......@@ -87,7 +87,9 @@ setup = ${slapos.recipe.template-repository:location}
<= setup-develop-egg
egg = slapos.toolbox[test]
setup = ${slapos.toolbox-repository:location}
depends = ${slapos.core-setup:egg}
depends =
${slapos.core-setup:egg}
${slapos-toolbox-dependencies:eggs}
[slapos.rebootstrap-setup]
<= setup-develop-egg
......
......@@ -562,10 +562,11 @@ setup = ${erp5:location}
[zodbpack]
recipe = zc.recipe.egg
eggs =
${slapos-toolbox:dependencies}
slapos.toolbox[zodbpack]
scripts =
zodbpack
depends =
${slapos-toolbox-dependencies:eggs}
[versions]
# See ../../software/neoppod/software-common.cfg for versions common with NEO:
......
......@@ -21,6 +21,7 @@ develop = true
recipe = zc.recipe.egg:develop
egg = slapos.toolbox
setup = ${slapos.toolbox-repository:location}
depends = ${slapos-toolbox-dependencies:eggs}
[slapos.cookbook-repository]
develop = true
......
......@@ -102,16 +102,19 @@ eggs =
${python-cliff:egg}
${python-cryptography:egg}
${jsonschema:egg}
pyOpenSSL
slapos.cookbook
# slapos.toolbox containing utilities
[slapos-toolbox]
recipe = zc.recipe.egg
eggs = slapos.toolbox
depends = ${slapos-toolbox-dependencies:eggs}
[slapos-toolbox-dependencies]
# slapos.toolbox depends on eggs with C-extensions that needs to be
# installed with slapos provided libraries. This section installs all
# slapos.toolbox dependencies.
recipe = zc.recipe.egg
eggs =
${:dependencies}
slapos.toolbox
dependencies =
${lxml-python:egg}
${pycurl:egg}
${python-cryptography:egg}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment