[buildout]
parts =
  python-ldap
extends =
  ../cyrus-sasl/buildout.cfg
  ../openldap/buildout.cfg
  ../openssl/buildout.cfg
  ../patch/buildout.cfg

[python-ldap-python]
recipe = zc.recipe.egg:custom
egg = python-ldap
patches =
  ${:_profile_base_location_}/python-ldap-no_default_dirs.patch#959115f13f1de5c63654c69b8dfacd69
patch-options = -p1
patch-binary = ${patch:location}/bin/patch
rpath =
  ${openldap:location}/lib
  ${cyrus-sasl:location}/lib
  ${openssl:location}/lib
include-dirs =
  ${openldap:location}/include
  ${cyrus-sasl:location}/include/sasl
  ${openssl:location}/include
library-dirs =
  ${openldap:location}/lib
  ${cyrus-sasl:location}/lib
  ${openssl:location}/lib
