software-common.cfg 4.28 KB
Newer Older
1 2 3 4 5 6 7 8 9
# Note on LXML/END LXML: they delimit areas where lxml magic is needed. lxml is
# a slapos.cookbook dependency, so it should be fetched automatically. But when
# automatically fetched, it gets built against system headers/libs, which is
# forbidden in slapos. So we need to fetch lxml explicitly so it is properly
# built.

[buildout]
extends =
    ../../stack/slapos.cfg
10
    ../../stack/logrotate/buildout.cfg
11
    ../../component/cython-zstd/buildout.cfg
12 13 14
#LXML
    ../../component/lxml-python/buildout.cfg
#END LXML
15
    ../../component/msgpack-python/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
16
    ../../component/patch/buildout.cfg
17
    ../../component/python-mysqlclient/buildout.cfg
18
    ../../component/python-cryptography/buildout.cfg
19
    ../../component/pycurl/buildout.cfg
20 21

parts =
22
# keep neoppod first so that ZODB is built correctly,
23
# before any other section that would depend on it
24
    neoppod-develop
25
    neoppod
26 27 28
    slapos-deps-eggs
    slapos-cookbook

29 30
[neoppod-repository]
recipe = slapos.recipe.build:gitclone
31
repository = https://lab.nexedi.com/nexedi/neoppod.git
32 33
git-executable = ${git:location}/bin/git

34 35 36
[neoppod-setup-env]
PATH = ${git:location}/bin:%(PATH)s

37 38 39
[neoppod-develop]
recipe = zc.recipe.egg:develop
setup = ${neoppod-repository:location}
40
environment = neoppod-setup-env
41 42 43

[neoppod]
recipe = zc.recipe.egg
44
eggs = neoppod[admin, ctl, master, storage-mysqldb]
45
  ${cython-zstd:egg}
46
  ${msgpack-python:egg}
47
  ${python-mysqlclient:egg}
48 49 50 51
  psutil
  BTrees
  ZODB
  zope.testing
52
  zodbtools
53
  setproctitle
54 55 56 57 58
patch-binary = ${patch:location}/bin/patch
ZEO-patch-options = -p1
ZEO-patches =
  ${:_profile_base_location_}/../../component/egg-patch/ZEO4/TCP_NODELAY.patch#b07288522d5c6857738240d948321df6

59

60 61 62 63
[slapos-deps-eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
64
  ${pycurl:egg}
65
  ${python-PyYAML:egg}
66
  ${python-cryptography:egg}
67
  ${python-cliff:egg}
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
  slapos.toolbox
scripts =
  slapos-kill

[download-base-neo]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
# XXX: following mode should be the default
mode = 644

# XXX: must be rendered, not just dled
[instance-common]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/${:_buildout_section_name_}.cfg.in
rendered = ${buildout:directory}/${:_buildout_section_name_}.cfg
md5sum = e8f5a83580e9791a32c66f5935cb6840
context =
    key bin_directory buildout:bin-directory
    key develop_eggs_directory buildout:develop-eggs-directory
    key eggs_directory buildout:eggs-directory
    key mariadb_location mariadb:location
    key neo_admin instance-neo-admin:target
    key neo_master instance-neo-master:target
    key neo_storage_mysql instance-neo-storage-mysql:target
    key template_logrotate_base template-logrotate-base:rendered
    key template_neo_my_cnf template-neo-my-cnf:target

[root-common]
<= download-base-neo
97
md5sum = f3259726bd5d824c569dc7db6b7d26a0
98 99 100

[instance-neo-admin]
<= download-base-neo
Julien Muchembled's avatar
Julien Muchembled committed
101
md5sum = 4d1ae570b4458e7725454857aabb37f6
102 103 104

[instance-neo-master]
<= download-base-neo
105
md5sum = 1fee10f02c2fa2a581e21878ca0fd704
106 107 108

[instance-neo-storage-mysql]
<= download-base-neo
109
md5sum = 16024af1cde9c0fcc7e8e05ec0854b30
110 111 112 113

[template-neo-my-cnf]
<= download-base-neo
url = ${:_profile_base_location_}/my.cnf.in
114
md5sum = 87d18c7021e4d43756813a83c9da5e97
115 116

[versions]
117 118
BTrees = 4.4.1
ZODB = 4.4.5
119 120 121
apache-libcloud = 1.5.0
ecdsa = 0.13
gitdb2 = 2.0.0
122
msgpack = 0.5.6
123
msgpack-python = 0.5.6
124
mysqlclient = 1.3.12
125 126 127
persistent = 4.2.3
pycrypto = 2.6.1
pycurl = 7.43.0
128
setproctitle = 1.1.10
129
slapos.recipe.template = 4.3
130
slapos.toolbox = 0.76
131
smmap2 = 2.0.1
132 133
transaction = 1.7.0
zodbpickle = 0.6.0
134
zodbtools = 0.0.0.dev4
Rafael Monnerat's avatar
Rafael Monnerat committed
135
cython-zstd = 0.2
136 137
python-dateutil = 2.7.3
pyasn1 = 0.4.3
138 139

# Required by:
140
# slapos.toolbox==0.71
141 142 143
GitPython = 2.1.3

# Required by:
144
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
145
PyRSS2Gen = 1.1
146 147

# Required by:
148
# slapos.toolbox==0.71
149
atomize = 0.2.0
150 151

# Required by:
152
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
153
dnspython = 1.14.0
154 155

# Required by:
156
# slapos.toolbox==0.71
157
feedparser = 5.2.1
158

159
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
160
lockfile = 0.12.2
161 162

# Required by:
163
# slapos.toolbox==0.71
164 165 166
paramiko = 2.1.2

# Required by:
167
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
168
passlib = 1.7.1
169 170 171 172 173 174 175 176

# Required by:
# zodbtools==0.0.0dev4
zodburi = 2.3.0

# Required by:
# zodburi==2.0
# ZEO 5 requires transaction >= 2
177
ZEO = 4.3.1+SlapOSPatched001
178 179 180 181 182 183 184 185

# Required by:
# zodburi==2.0
mock = 2.0.0

# Required by:
# ZEO==4.3.1
zdaemon = 4.2.0