[buildout]
extends =
  buildout.hash.cfg
  ../python3/buildout.cfg

parts =
  surykatka

[surykatka-requirements]
recipe = slapos.recipe.build:download 
url = ${:_profile_base_location_}/${:_update_hash_filename_}

[surykatka]
recipe = plone.recipe.command
command =
  bash -c "${python3.7:executable} -m venv ${:location} && \
    . ${:location}/bin/activate && \
    pip install -r ${surykatka-requirements:target}"
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
executable = ${:location}/bin/surykatka
