# SlapOS software release to test pygolang on Nexedi testing infrastructure.

[buildout]
extends =
    ../../stack/nxdtest.cfg
    ../pytest/buildout.cfg
    ../numpy/buildout.cfg
    buildout-dev.cfg

parts =
    pygolang
    gpython
    pygolang-python

#   for instance
    slapos-cookbook
    instance.cfg


# tune pygolang to install with all and for-tests extras.
# list all_test-dependent eggs that must come through in-tree recipes.
[pygolang]
egg = pygolang[all_test]
depends += ${numpy:egg}

# bin/python is preinstalled with sys.path to pygolang & friends.
[pygolang-python]
<= python-interpreter
eggs = ${pygolang:egg}

# env.sh for pygolang's python/gpython to be on $PATH.
[pygolang-env.sh]
recipe   = slapos.recipe.template
output = ${buildout:directory}/${:_buildout_section_name_}
inline =
  export PS1="(pygolang-env) $PS1"
  export PATH=${buildout:bin-directory}:$PATH

# instance to run nxdtest.
[instance.cfg]
<= jinja2-template
inline =
  [buildout]
  extends = ${nxdtest-instance.cfg:output}

  [runTestSuite]
  env.sh  = ${pygolang-env.sh:output}
  workdir = ${pygolang-repository:location}


[versions]
ipython = 5.10.0
ipython-genutils = 0.2.0

simplegeneric = 0.8.1
Pygments = 2.5.2
prompt-toolkit = 1.0.18
pickleshare = 0.7.5
backports.shutil-get-terminal-size = 1.0.0
ptyprocess = 0.6.0