software-common.cfg 3.56 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
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
14
    ../../component/patch/buildout.cfg
15
    ../../component/python-mysqlclient/buildout.cfg
16
    ../../component/python-cryptography/buildout.cfg
17
    ../../component/pycurl/buildout.cfg
18 19

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

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

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

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

[neoppod]
recipe = zc.recipe.egg
43
eggs = neoppod[admin, ctl, master, storage-mysqldb]
44
  ${python-mysqlclient:egg}
45 46 47 48
  psutil
  BTrees
  ZODB
  zope.testing
49
  zodbtools
50 51 52 53
patch-binary = ${patch:location}/bin/patch
ZODB-patch-options = -p1
ZODB-patches =
  ${:_profile_base_location_}/../../component/egg-patch/ZODB4-pr136.patch
54

55 56 57 58
[slapos-deps-eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
59
  ${pycurl:egg}
60
  ${python-PyYAML:egg}
61
  ${python-cryptography:egg}
62
  ${python-cliff:egg}
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 90 91
  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
92
md5sum = f3259726bd5d824c569dc7db6b7d26a0
93 94 95

[instance-neo-admin]
<= download-base-neo
96
md5sum = ec1e2d9d2a1da092621f1b01ce6af322
97 98 99

[instance-neo-master]
<= download-base-neo
100
md5sum = 82f3f76f54ee9db355966a7ada61f56e
101 102 103

[instance-neo-storage-mysql]
<= download-base-neo
104
md5sum = cd2a978a09c5686205592923866f6584
105 106 107 108

[template-neo-my-cnf]
<= download-base-neo
url = ${:_profile_base_location_}/my.cnf.in
109
md5sum = cfdd59d42ae540563a964ccaf8fec232
110 111

[versions]
112
slapos.recipe.template = 2.10
113
ZODB = 4.4.4+SlapOSPatched001
114 115 116 117 118
BTrees = 4.3.1
persistent = 4.2.2
transaction = 1.7.0
zdaemon = 4.1.0
zodbpickle = 0.6.0
119
zodbtools = 0.0.0.dev3
Alain Takoudjou's avatar
Alain Takoudjou committed
120 121
# Required by slapos.toolbox = 0.64
slapos.toolbox = 0.64
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
122
PyRSS2Gen = 1.1
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
123
apache-libcloud = 1.5.0
124
atomize = 0.2.0
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
125
dnspython = 1.14.0
126 127
ecdsa = 0.13
feedparser = 5.2.1
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
128
GitPython = 2.1.1
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
129
gitdb2 = 2.0.0
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
130
lockfile = 0.12.2
131
mysqlclient = 1.3.9
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
132
paramiko = 2.1.1
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
133
passlib = 1.6.5
134
pycrypto = 2.6.1
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
135
pycurl = 7.43.0
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
136
smmap2 = 2.0.1