[buildout]
parts =
    libxml2
    libxslt
    lxml
    zope2
    zeoserver
    productdistros
    instance
    zopepy
find-links =
    http://download.zope.org/ppix/
    http://download.zope.org/distribution/
    http://effbot.org/downloads
eggs =
develop =

[lxml-environment]
XSLT_CONFIG=${buildout:directory}/parts/libxslt/bin/xslt-config
XML2_CONFIG=${buildout:directory}/parts/libxml2/bin/xml2-config

[lxml]
recipe = zc.recipe.egg:custom
egg = lxml
include-dirs = ${libxml2:location}/include/libxml2
               ${libxslt:location}/include
library-dirs = ${libxml2:location}/lib
               ${libxslt:location}/lib
rpath = ${libxml2:location}/lib
        ${libxslt:location}/lib
environment = lxml-environment

[libxml2]
recipe = zc.recipe.cmmi
url = http://dist.repoze.org/lemonade/dev/cmmi/libxml2-2.6.32.tar.gz
extra_options = --without-python

[libxslt]
recipe = zc.recipe.cmmi
url = http://dist.repoze.org/lemonade/dev/cmmi/libxslt-1.1.24.tar.gz
extra_options = --with-libxml-prefix=${libxml2:location} 
                 --without-python

[zope2]
recipe = plone.recipe.zope2install
url = http://www.zope.org/Products/Zope/2.9.8/Zope-2.9.8-final.tgz

[zeoserver]
recipe = plone.recipe.zope2zeoserver
zope2-location = ${zope2:location}
zeo-var = ${buildout:directory}/var
zeo-address = ${zeoserver:zeo-var}/zeo.soc
zeopack = ${zope2:location}/utilities/ZODBTools/zeopack.py

[productdistros]
recipe = plone.recipe.distros
urls =
    http://www.dieter.handshake.de/pyprojects/zope/AdvancedQuery.tgz
    http://agendaless.com/Members/tseaver/software/faster/faster-0.5.1/faster-0.5.1.tar.gz
    http://www.cps-project.org/static/src/CPS-platform-3.4.4.tar.gz
version-suffix-packages =
    faster-0.5.1.tar.gz
nested-packages =
    CPS-platform-3.4.4.tar.gz


[instance]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
zeo-client = true
zeo-address = ${zeoserver:zeo-address}
zodb-cache-size = 5000
zeo-client-cache-size = 50MB
user = admin:westafrica
http-address = 8060
debug-mode = on
verbose-security = on
eggs =
    ${buildout:eggs}
    Products.QueueCatalog == 1.6.0
    lxml
zcml =
products =
    ${buildout:directory}/products
    ${productdistros:location}

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy
