Blame view

obs/re6st/buildout.cfg.in 1.2 KB
Julien Muchembled committed
1 2 3 4 5 6 7 8 9 10
[buildout]
extends =
  file://%(SLAPOS)s/stack/slapos.cfg
  file://%(SLAPOS)s/component/chrpath/buildout.cfg
  file://%(SLAPOS)s/component/re6stnet/buildout.cfg

extends-cache = extends-cache
download-cache = download-cache

develop =
Julien Muchembled committed
11
extensions = slapos.rebootstrap
Julien Muchembled committed
12 13
newest = false

Julien Muchembled committed
14 15
allow-picked-versions = true

Julien Muchembled committed
16 17
parts += chrpath python

Killian Lufau committed
18 19 20 21 22 23 24
[babeld-repository]
git-executable =
location = ${buildout:directory}/babeld

[babeld]
post-install = make clean

Julien Muchembled committed
25 26
[python]
recipe = zc.recipe.egg
Killian Lufau committed
27
interpreter = ${:_buildout_section_name_}.tmp
Killian Lufau committed
28
eggs = slapos.libnetworkcache
Julien Muchembled committed
29 30
# https://lab.nexedi.com/nexedi/slapos.buildout/merge_requests/11
scripts = dummy
Julien Muchembled committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44

# Uguu, upstream buildout.cfg must be patched as it works the other way
# around from a packager point of view at least, thus at the end static
# path, such as Python HOME directory, are wrong...
#
# Currently:
# ./configure --prefix=BUILD_DIRECTORY && make install
# Instead of:
# ./configure --prefix=INSTALL_DIRECTORY && make install DESTDIR=BUILD_DIRECTORY
[python2.7]
configure-options +=
  --prefix=%(TARGET)s/parts/${:_buildout_section_name_}
environment +=
  DESTDIR=%(ROOT)s
Nicolas Wavrant committed
45 46

[openssl]
Julien Muchembled committed
47
prefix = %(TARGET)s/parts/${:_buildout_section_name_}
Killian Lufau committed
48
make-install-extra = DESTDIR=%(ROOT)s