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

58

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

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

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

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

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

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

# Required by:
137
# slapos.toolbox==0.71
138 139 140
GitPython = 2.1.3

# Required by:
141
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
142
PyRSS2Gen = 1.1
143 144

# Required by:
145
# slapos.toolbox==0.71
146
atomize = 0.2.0
147 148

# Required by:
149
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
150
dnspython = 1.14.0
151 152

# Required by:
153
# slapos.toolbox==0.71
154
feedparser = 5.2.1
155

156
# slapos.toolbox==0.71
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
157
lockfile = 0.12.2
158 159

# Required by:
160
# slapos.toolbox==0.71
161 162 163
paramiko = 2.1.2

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

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

# Required by:
# zodburi==2.0
# ZEO 5 requires transaction >= 2
174
ZEO = 4.3.1+SlapOSPatched001
175 176 177 178 179 180 181 182

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

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