Blame view

obs/re6st/buildout.cfg.in 1.09 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 18 19
parts += chrpath python

[python]
recipe = zc.recipe.egg
Killian Lufau committed
20
interpreter = ${:_buildout_section_name_}.tmp
Killian Lufau committed
21
eggs = slapos.libnetworkcache
Julien Muchembled committed
22 23
# https://lab.nexedi.com/nexedi/slapos.buildout/merge_requests/11
scripts = dummy
Julien Muchembled committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37

# 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
38 39

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