software-common.cfg 3.72 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 12 13
#LXML
    ../../component/lxml-python/buildout.cfg
#END LXML
14
    ../../component/msgpack-python/buildout.cfg
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
15
    ../../component/patch/buildout.cfg
16
    ../../component/python-mysqlclient/buildout.cfg
17
    ../../component/python-cryptography/buildout.cfg
18
    ../../component/pycurl/buildout.cfg
19 20

parts =
21
# keep neoppod first so that ZODB is built correctly,
22
# before any other section that would depend on it
23
    neoppod-develop
24
    neoppod
25 26 27 28
    slapos-deps-eggs
    slapos-cookbook-develop
    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
  ${msgpack-python:egg}
46
  ${python-mysqlclient:egg}
47 48 49 50
  psutil
  BTrees
  ZODB
  zope.testing
51
  zodbtools
52

53 54 55 56
[slapos-deps-eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
57
  ${pycurl:egg}
58
  ${python-PyYAML:egg}
59
  ${python-cryptography:egg}
60
  ${python-cliff:egg}
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
  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
90
md5sum = f3259726bd5d824c569dc7db6b7d26a0
91 92 93

[instance-neo-admin]
<= download-base-neo
Julien Muchembled's avatar
Julien Muchembled committed
94
md5sum = 6400c42696d79c3ffee0069cc1a1d424
95 96 97

[instance-neo-master]
<= download-base-neo
Julien Muchembled's avatar
Julien Muchembled committed
98
md5sum = 13c3cb57b29267bc3c4d1cf687fe8eb3
99 100 101

[instance-neo-storage-mysql]
<= download-base-neo
102
md5sum = 4d4165291634ea9e6ea640d60858f640
103 104 105 106

[template-neo-my-cnf]
<= download-base-neo
url = ${:_profile_base_location_}/my.cnf.in
107
md5sum = 87d18c7021e4d43756813a83c9da5e97
108 109

[versions]
110 111
BTrees = 4.4.1
ZODB = 4.4.5
112 113 114 115 116 117 118 119
apache-libcloud = 1.5.0
ecdsa = 0.13
gitdb2 = 2.0.0
msgpack-python = 0.4.8
mysqlclient = 1.3.10
persistent = 4.2.3
pycrypto = 2.6.1
pycurl = 7.43.0
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
120
slapos.recipe.template = 2.10
121
slapos.toolbox = 0.68
122
smmap2 = 2.0.1
123 124
transaction = 1.7.0
zodbpickle = 0.6.0
125
zodbtools = 0.0.0.dev3
126 127

# Required by:
128
# slapos.toolbox==0.67
129 130 131
GitPython = 2.1.3

# Required by:
132
# slapos.toolbox==0.67
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
133
PyRSS2Gen = 1.1
134 135

# Required by:
136
# slapos.toolbox==0.67
137
atomize = 0.2.0
138 139

# Required by:
140
# slapos.toolbox==0.67
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
141
dnspython = 1.14.0
142 143

# Required by:
144
# slapos.toolbox==0.67
145
feedparser = 5.2.1
146

147
# slapos.toolbox==0.67
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
148
lockfile = 0.12.2
149 150

# Required by:
151
# slapos.toolbox==0.67
152 153 154
paramiko = 2.1.2

# Required by:
155
# slapos.toolbox==0.67
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
156
passlib = 1.7.1