nbd.cfg 3.3 KB
Newer Older
1 2 3 4
[buildout]
extends =
  ../component/python-2.6/buildout.cfg
  ../component/lxml-python/buildout.cfg
Romain Courteaud's avatar
Romain Courteaud committed
5
  ../component/zlib/buildout.cfg
6 7
  ../component/git/buildout.cfg

Romain Courteaud's avatar
Romain Courteaud committed
8
# Python2.6 needed by Flask and pyopenssl
9
extensions =
Romain Courteaud's avatar
Romain Courteaud committed
10
  slapos.rebootstrap
11

Romain Courteaud's avatar
Romain Courteaud committed
12
parts +=
13 14 15 16 17 18 19 20 21
  nbdserver
  pyOpenSSL-python
  eggs

find-links +=
  http://www.nexedi.org/static/packages/source/slapos.buildout/

versions = versions

Romain Courteaud's avatar
Romain Courteaud committed
22 23 24 25 26 27 28 29 30 31 32 33
# Use only quite well working sites.
allow-hosts =
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  dist.repoze.org
  effbot.org
  github.com
  peak.telecommunity.com
  psutil.googlecode.com
  www.dabeaz.com

34 35
[rebootstrap]
section = python2.6
Romain Courteaud's avatar
Romain Courteaud committed
36 37
version = 3
eggs = slapos.libnetworkcache
38 39

[nbdserver]
40 41
# XXX-Cedric : use official tarball from kvm website
#              (new kvm code does not seem to need special patch)
42 43 44 45 46 47 48 49 50 51 52
recipe = hexagonit.recipe.cmmi
path = ${nbdserversource:location}/
configure-options =
  --disable-system
  --disable-kvm
  --extra-cflags="-I${zlib:location}/include"
  --extra-ldflags="-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib"
  --disable-werror

[nbdserversource]
recipe=plone.recipe.command
Romain Courteaud's avatar
Romain Courteaud committed
53
location = ${buildout:parts-directory}/${:_buildout_section_name_}
54 55
stop-on-error = true
command =
Romain Courteaud's avatar
Romain Courteaud committed
56
  (${git:location}/bin/git clone --quiet http://git.erp5.org/repos/slapos.kvm.git ${:location} ) || (rm -fr ${:location} ; exit 1)
57
update-command =
Romain Courteaud's avatar
Romain Courteaud committed
58 59 60 61 62
 cd ${:location} && ${git:location}/bin/git pull --quiet origin master

[instance-recipe]
egg = slapos.cookbook
module = nbdserver
63 64 65 66

[eggs]
recipe = zc.recipe.egg
eggs =
67
  ${lxml-python:egg}
Romain Courteaud's avatar
Romain Courteaud committed
68 69
  slapos.toolbox
  slapos.cookbook
70 71 72 73 74 75
  pyOpenSSL

[pyOpenSSL-python]
recipe = zc.recipe.egg:custom
egg = pyOpenSSL
include-dirs =
Romain Courteaud's avatar
Romain Courteaud committed
76 77
  ${openssl:location}/include/
  ${python2.6:location}/include/
78
library-dirs =
Romain Courteaud's avatar
Romain Courteaud committed
79 80
  ${openssl:location}/lib/
  ${python2.6:location}/lib/
81
rpath =
Romain Courteaud's avatar
Romain Courteaud committed
82 83
  ${openssl:location}/lib/
  ${python2.6:location}/lib/
84 85 86


[versions]
Romain Courteaud's avatar
Romain Courteaud committed
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-005

Jinja2 = 2.5.5
Werkzeug = 0.6.2
apache-libcloud = 0.5.2
hexagonit.recipe.cmmi = 1.5.0
meld3 = 0.6.7
plone.recipe.command = 1.1
pyOpenSSL = 0.12
pycrypto = 2.3
slapos.cookbook = 0.14
slapos.recipe.template = 1.1
slapos.toolbox = 0.6

# Required by:
# slapos.core==0.9
# slapos.toolbox==0.6
Flask = 0.7.2

# Required by:
# slapos.cookbook==0.14
PyXML = 0.8.4

# Required by:
# slapos.core==0.9
argparse = 1.1

# Required by:
# slapos.recipe.template==1.1
collective.recipe.template = 1.8

# Required by:
# hexagonit.recipe.cmmi==1.5.0
hexagonit.recipe.download = 1.5.0

# Required by:
# slapos.cookbook==0.14
# slapos.core==0.9
# slapos.toolbox==0.6
# xml-marshaller==0.9.7
lxml = 2.3

# Required by:
# slapos.cookbook==0.14
netaddr = 0.7.5

# Required by:
# slapos.core==0.9
netifaces = 0.4

# Required by:
# slapos.toolbox==0.6
paramiko = 1.7.7.1

# Required by:
# slapos.toolbox==0.6
psutil = 0.3.0

# Required by:
# slapos.cookbook==0.14
# slapos.core==0.9
# slapos.toolbox==0.6
# zc.buildout==1.5.3-dev-SlapOS-005
# zc.recipe.egg==1.3.2
setuptools = 0.6c12dev-r88846

# Required by:
# slapos.cookbook==0.14
# slapos.toolbox==0.6
slapos.core = 0.9

# Required by:
# slapos.core==0.9
supervisor = 3.0a10

# Required by:
# slapos.cookbook==0.14
# slapos.toolbox==0.6
xml-marshaller = 0.9.7

# Required by:
# slapos.cookbook==0.14
zc.recipe.egg = 1.3.2

# Required by:
# slapos.core==0.9
zope.interface = 3.6.4