[buildout]

extends =
  ../../stack/slapos.cfg
  ../../component/proviewR/buildout.cfg
  ../../component/open62541/buildout.cfg
  ../../component/noVNC/buildout.cfg
  ../../component/shellinabox/buildout.cfg
  ../../component/nginx/buildout.cfg
  ../../component/shellinabox/buildout.cfg
  ../../stack/monitor/buildout.cfg
  ../../stack/slapos.cfg

parts +=
  slapos-cookbook
  eggs
  open62541
  pwr
  x11vnc
  xorg-font-adobe-75dpi
  xorg-font-adobe-100dpi
  xorg-font-type1
  template
allow-picked-versions = true

[eggs]
recipe = zc.recipe.egg
interpreter = python.eggs
eggs =
  websockify
  slapos.toolbox
  plone.recipe.command

[template]
recipe = slapos.recipe.template 
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = 48cb44d73e1da468497af45cc37d5fa4

[download-base]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/${:filename}
download-only = true
mode = 0644

[template-proview-r]
<= download-base
#md5sum = b5d1278ac4158f659d0ccb88272ecbb3
filename = instance-proview-r.cfg.jinja2.in

[template-pwrp-profile]
<= download-base
md5sum = f980d5a843b8e93287dc704b26e413f3
filename = pwrp_profile.in

[template-pwrrt]
<= download-base
md5sum = b68d8efa0a5ae756da237d7ba5b02c41
filename = pwrrt.in

[template-nginx-conf]
<= download-base
md5sum = 781977b1fa984d2529b1e1356ef0bb72
filename = nginx_conf.in

[versions]
numpy = 1.16.4
#websockify = 0.6.1