Revert "Compile libcap with along with SlapOS node"
[slapos.git] / component / slapos / buildout.cfg
1 [buildout]
2 extends =
3   ../../stack/shacache-client.cfg
4   ../bison/buildout.cfg
5   ../bzip2/buildout.cfg
6   ../gdbm/buildout.cfg
7   ../gettext/buildout.cfg
8   ../glib/buildout.cfg
9   ../libxml2/buildout.cfg
10   ../libxslt/buildout.cfg
11   ../lxml-python/buildout.cfg
12   ../m4/buildout.cfg
13   ../ncurses/buildout.cfg
14   ../openssl/buildout.cfg
15   ../pkgconfig/buildout.cfg
16   ../popt/buildout.cfg
17   ../python-2.7/buildout.cfg
18   ../readline/buildout.cfg
19   ../sqlite3/buildout.cfg
20   ../swig/buildout.cfg
21   ../zlib/buildout.cfg
22   ../patch/buildout.cfg
23
24 parts =
25   slapos
26   cfg-environment
27   sh-environment
28
29 find-links =
30   http://www.nexedi.org/static/packages/source/slapos.buildout/
31   http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
32   http://www.nexedi.org/static/packages/source/slapos-lxc/
33
34 versions = versions
35
36 allow-hosts =
37   *.googlecode.com
38   *.nexedi.org
39   *.python.org
40   alastairs-place.net
41   code.google.com
42   github.com
43   peak.telecommunity.com
44
45 # separate from system python
46 include-site-packages = false
47 exec-sitecustomize = false
48 allowed-eggs-from-site-packages =
49
50 [environment]
51 # Note: For now original PATH is appeneded to the end, as not all tools are
52 #       provided by SlapOS
53 PATH=${bison:location}/bin:${bzip2:location}/bin:${gettext:location}/bin:${glib:location}/bin:${libxml2:location}/bin:${libxslt:location}/bin:${m4:location}/bin:${ncurses:location}/bin:${openssl:location}/bin:${pkgconfig:location}/bin:${python2.7:location}/bin:${readline:location}/bin:${sqlite3:location}/bin:${swig:location}/bin:${buildout:bin-directory}:${patch:location}/bin:$PATH
54 CFLAGS=-I${bzip2:location}/include -I${gdbm:location}/include -I${gettext:location}/include -I${glib:location}/include -I${libxml2:location}/include -I${libxslt:location}/include -I${ncurses:location}/include -I${openssl:location}/include -I${popt:location}/include -I${readline:location}/include -I${sqlite3:location}/include -I${zlib:location}/include
55 CPPFLAGS=${:CFLAGS}
56 LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${gdbm:location}/lib -Wl,-rpath=${gdbm:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -L${glib:location}/lib -Wl,-rpath=${glib:location}/lib -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -L${libxslt:location}/lib -Wl,-rpath=${libxslt:location}/lib -L${ncurses:location}/lib -Wl,-rpath=${ncurses:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${popt:location}/lib -Wl,-rpath=${popt:location}/lib -L${readline:location}/lib -Wl,-rpath=${readline:location}/lib -L${sqlite3:location}/lib -Wl,-rpath=${sqlite3:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
57 PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig:${libxml2:location}/lib/pkgconfig:${libxslt:location}/lib/pkgconfig:${openssl:location}/lib/pkgconfig:${popt:location}/lib/pkgconfig:${python2.7:location}/lib/pkconfig:${sqlite3:location}/lib/pkconfig
58 LD_LIBRARY_PATH=${bzip2:location}/lib:${gdbm:location}/lib:${gettext:location}/lib:${glib:location}/lib:${libxml2:location}/lib:${libxslt:location}/lib:${ncurses:location}/lib:${openssl:location}/lib:${popt:location}/lib:${readline:location}/lib:${sqlite3:location}/lib:${zlib:location}/lib
59
60 [cfg-environment]
61 # Section exposes SlapOS default environment as configuration file.
62 recipe = collective.recipe.template
63 input = inline:
64   [environment]
65   PATH=${environment:PATH}
66   CFLAGS=${environment:CFLAGS}
67   CPPFLAGS=${environment:CPPFLAGS}
68   LDFLAGS=${environment:LDFLAGS}
69   PKG_CONFIG_PATH=${environment:PKG_CONFIG_PATH}
70   LD_LIBRARY_PATH=${environment:LD_LIBRARY_PATH}
71 output = ${buildout:directory}/environment.cfg
72
73 [sh-environment]
74 # Section exposes SlapOS default environment as sh file.
75 recipe = collective.recipe.template
76 input = inline:
77   export PATH="${environment:PATH}"
78   export CFLAGS="${environment:CFLAGS}"
79   export CPPFLAGS="${environment:CPPFLAGS}"
80   export LDFLAGS="${environment:LDFLAGS}"
81   export PKG_CONFIG_PATH="${environment:PKG_CONFIG_PATH}"
82   export LD_LIBRARY_PATH="${environment:LD_LIBRARY_PATH}"
83   export PS1="[SlapOS env Active] $PS1"
84 output = ${buildout:directory}/environment.sh
85
86 [lxml-python]
87 python = python2.7
88
89 [slapos]
90 recipe = z3c.recipe.scripts
91 python = python2.7
92 eggs =
93   slapos.libnetworkcache
94   zc.buildout
95   ${lxml-python:egg}
96   slapos.core
97
98 initialization =
99   import os
100   os.environ['PATH'] = os.path.expandvars('${environment:PATH}')
101
102 # control scripts generation in order to avoid reinstalling bin/buildout
103 scripts =
104   bang = slapos.bang:main
105   generate-signature-key = slapos.signature:run
106   slapconsole = slapos.console:run
107   slapos-request = slapos.console:request
108   slapformat = slapos.format:main
109   slapgrid = slapos.grid.slapgrid:run
110   slapgrid-cp = slapos.grid.slapgrid:runComputerPartition
111   slapgrid-sr = slapos.grid.slapgrid:runSoftwareRelease
112   slapgrid-ur = slapos.grid.slapgrid:runUsageReport
113   slapgrid-supervisorctl = slapos.grid.svcbackend:supervisorctl
114   slapgrid-supervisord = slapos.grid.svcbackend:supervisord
115   slapproxy = slapos.proxy:main
116
117 [versions]
118 zc.buildout = 1.6.0-dev-SlapOS-006
119 hexagonit.recipe.download = 1.5.1-dev-slapos-002
120
121 # Generated by buildout-versions
122 Jinja2 = 2.6
123 Pygments = 1.5
124 Werkzeug = 0.8.3
125 buildout-versions = 1.7
126 collective.recipe.template = 1.9
127 docutils = 0.9.1
128 hexagonit.recipe.cmmi = 1.6
129 ipython = 0.13
130 lxml = 2.3.4
131 meld3 = 0.6.8
132 netaddr = 0.7.7
133 slapos.core = 0.26.3-slapcontainer
134 slapos.libnetworkcache = 0.12
135 xml-marshaller = 0.9.7
136 z3c.recipe.scripts = 1.0.1
137 zc.recipe.egg = 1.3.2
138
139 # Required by:
140 # slapos.core==0.26.1
141 Flask = 0.9
142
143 # Required by:
144 # netaddr==0.7.7
145 Sphinx = 1.1.3
146
147 # Required by:
148 # slapos.core==0.26.1
149 netifaces = 0.8
150
151 # Required by:
152 # slapos.core==0.26.1
153 # slapos.libnetworkcache==0.12
154 # supervisor==3.0a12
155 # zc.buildout==1.6.0-dev-SlapOS-006
156 # zope.interface==4.0.1
157 setuptools = 0.6c12dev-r88846
158
159 # Required by:
160 # slapos.core==0.26.1
161 supervisor = 3.0a12
162
163 # Required by:
164 # slapos.core==0.26.1
165 zope.interface = 4.0.1