software.cfg 5.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
[buildout]

extends =
  ../../stack/slapos.cfg
  ../../component/autoconf/buildout.cfg
  ../../component/flex/buildout.cfg
  ../../component/fonts/buildout.cfg
  ../../component/noVNC/buildout.cfg
  ../../component/nginx/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/numpy/buildout.cfg
  ../../component/numpy/openblas.cfg
  ../../component/matplotlib/buildout.cfg
  ../../component/wxpython/buildout.cfg
  ../../component/matiec/buildout.cfg
  ../../component/mesa/buildout.cfg
  ../../component/libvnc/buildout.cfg
  ../../component/open62541/buildout.cfg
  ../../component/sikuli/buildout.cfg
  ../../component/fluxbox/buildout.cfg
  ../../component/pygolang/buildout.cfg
  ../../component/xorg/buildout.cfg
  ../../component/pytest/buildout.cfg
  ../../component/opencv/buildout.cfg
  ../../component/xterm/buildout.cfg
  ../../stack/monitor/buildout.cfg
  ../../stack/nxdtest.cfg
  ./buildout.hash.cfg

parts +=
  slapos-cookbook
  beremiz-eggs
  open62541
  Modbus
  xterm
  instance

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

[python]
# Beremiz works with python2.7 for now, the code is not yet upgraded for python3
part = python2.7

[open62541]
# Beremiz need it to be in folder parts/open62541
# as Beremiz search for open62541 to BEREMIZ_PATH/../open62541
shared = false
post-install =
  mkdir -p @@LOCATION@@/build/bin
  ln -sf @@LOCATION@@/lib/libopen62541.a @@LOCATION@@/build/bin/libopen62541.a

[twisted]
recipe  = zc.recipe.egg:custom
egg     =  twisted
setup-eggs =
    six
    pathlib
    incremental

[beremiz-eggs]
recipe = zc.recipe.egg
eggs =
  ${wxPython:egg}
  ${python-cryptography:egg}
  ${lxml-python:egg}
  ${matplotlib:egg}
  future
  websockify
  zeroconf2
  enum34
  pyro
  ${twisted:egg}
  nevow
  autobahn
  pycountry
  fonttools
  ${beremiz-setup:egg}
  opcua
  msgpack

[python-interpreter]
84
eggs +=
85 86 87 88
  ${beremiz-eggs:eggs}

[beremiz]
recipe = slapos.recipe.build:download-unpacked
89 90 91
# download beremiz at revision 8171447dc479012a58fae0f2ffd233ade7d28d6a
url = https://github.com/beremiz/beremiz/archive/8171447dc479012a58fae0f2ffd233ade7d28d6a.tar.gz
md5sum = 48070804b00b633d79dfc4bae3a73646
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118

[beremiz-setup]
recipe  = zc.recipe.egg:develop
egg = beremiz
setup = ${beremiz:location}

[download-template]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}

[instance]
recipe = slapos.recipe.template:jinja2
output = ${buildout:directory}/instance.cfg
url = ${:_profile_base_location_}/${:filename}
python-bin = ${buildout:bin-directory}/${python-interpreter:interpreter}
type = beremiz
context =
    key autoconf_location  autoconf:location
    key automake_location  automake:location
    key bash_location bash:location
    key beremiz_location beremiz-setup:setup
    key bin_directory buildout:bin-directory
    key buildout_egg_directory buildout:eggs-directory
    key buildout_develop_directory buildout:develop-eggs-directory
    key buildout_directory buildout:directory
    key template_fluxbox_menu template-fluxbox-menu.in:target
    key template_fonts_conf_target template-fonts-conf:output
119
    key template_monitor_cfg monitor2-template:output
120 121
    key template_instance_beremiz template-instance-beremiz:target
    key template_instance_beremiz_test template-instance-beremiz-test:target
122
    key template_logrotate template-logrotate-base:output
123 124 125
    key fontconfig_location fontconfig:location
    key font_dejavu dejavu-fonts:location
    key font_liberation liberation-fonts:location
126
    key logrotate_cfg template-logrotate-base:output
127 128 129 130 131 132 133 134 135 136
    key bison_location bison:location
    key flex_location flex:location
    key fluxbox_location fluxbox:location
    key gcc_location gcc:prefix
    key git_location git:location
    key gtk3_location gtk-3:location
    key instance_template_type :type
    key matiec_location matiec:location
    key mesa_location mesa:location
    key novnc_location noVNC:location
137
    key nxdtest_template nxdtest-instance.cfg:output
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
    key python_bin :python-bin
    key opencv_location opencv:location
    key openssl_location openssl:location
    key sikulix_bin sikuli:output
    key xdotool_location xdotool:location
    key xserver_location xserver:location
    key xterm_location xterm:location
    key x11vnc_location x11vnc:location
    key wmctrl_location wmctrl:location

[template-instance-beremiz]
<= download-template
output = ${buildout:directory}/instance-beremiz.cfg.jinja2

[template-instance-beremiz-test]
<= download-template
output = ${buildout:directory}/instance-beremiz-test.cfg.jinja2

[template-fluxbox-menu.in]
<= download-template
output = ${buildout:directory}/fluxbox-menu.in

[versions]
Pillow = 6.2.2
matplotlib = 2.2.5
kiwisolver = 1.1.0
cycler = 0.10.0
websockify = 0.9.0
Pyro = 3.16
zeroconf2 = 0.19.2
cython = 0.29.24
sphinx = 1.8.5
doc2dash = 2.3.0
Twisted = 20.3.0
autobahn = 19.11.2
attrs = 19.2.0
Automat = 0.3.0
zope.interface = 4.4.2
Nevow = 0.14.5
PyHamcrest = 2.0.3
constantly = 15.1.0
hyperlink = 21.0.0
incremental = 21.3.0
future = 0.18.2
pycountry = 18.12.8
fonttools = 3.44.0
idna = 2.10
PyHamcrest = 2.0.2
txaio = 18.8.1
characteristic = 14.3.0
typing = 3.10.0.0
ifcfg = 0.22
opcua = 0.98.13
futures = 3.3.0
trollius = 2.2.1
pathlib = 1.0.1
ddt = 1.4.4