[buildout]
versions = versions
extends =
  ../../stack/slapos.cfg
  ../../stack/nodejs.cfg
  ../../component/manpy/buildout.cfg
  ../../stack/monitor/buildout.cfg
  ./buildout.hash.cfg
parts =
  slapos-cookbook
  manpy
  dream_testrunner
  npm_install
  instance

[gcc]
# Always build GCC for Fortran (see openblas).
max_version = 0

[python]
part = python2.7

[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance.cfg

[dream_testrunner]
recipe = zc.recipe.testrunner
eggs = dream
script = dream_testrunner
initialization =
  ${manpy:initialization}

[nodejs]
<= nodejs-8.9.4

[npm_install]
recipe = plone.recipe.command
stop-on-error = true
command =
  cd ${dream-repository.git:location}
  PATH=${git:location}/bin:${nodejs:location}/bin:$PATH
  npm install .
update_command = ${:command}

[versions]
rpy2 = 2.4.0
pydot = 1.0.28
xlrd = 0.9.3
xlwt = 0.7.5
simpy = 3.0.5
zope.dottedname = 4.1.0
tablib = 0.10.0
mysqlclient = 1.3.12

# indirect dependancies
cp.recipe.cmd = 0.5
plone.recipe.command = 1.1
zope.exceptions = 4.0.7
zope.testing = 4.1.3
zc.recipe.testrunner = 2.0.0
zope.testrunner = 4.4.6
