software-common.cfg 4.31 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
  coverage
54
  setproctitle
55 56 57 58 59
patch-binary = ${patch:location}/bin/patch
ZEO-patch-options = -p1
ZEO-patches =
  ${:_profile_base_location_}/../../component/egg-patch/ZEO4/TCP_NODELAY.patch#b07288522d5c6857738240d948321df6

60

61 62 63 64
[slapos-deps-eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
65
  ${pycurl:egg}
66
  ${python-PyYAML:egg}
67
  ${python-cryptography:egg}
68
  ${python-cliff:egg}
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 97
  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
98
md5sum = f3259726bd5d824c569dc7db6b7d26a0
99 100 101

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

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

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

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

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

# Required by:
142
# slapos.toolbox==0.71
143 144 145
GitPython = 2.1.3

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

# Required by:
150
# slapos.toolbox==0.71
151
atomize = 0.2.0
152 153

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

# Required by:
158
# slapos.toolbox==0.71
159
feedparser = 5.2.1
160

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

# Required by:
165
# slapos.toolbox==0.71
166 167 168
paramiko = 2.1.2

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

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

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

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

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