# Template file for 'python-ldap' pkgname=python-ldap version=2.4.40 revision=1 build_style=python2-module pycompile_module="ldap lidf.py dsml.py ldapurl.py" hostmakedepends="python-devel" makedepends="python-devel libldap-devel libsasl-devel libressl-devel" depends="python-pyasn1-modules" short_desc="Python modules for implementing LDAP clients" maintainer="Michael Aldridge " license="PSF" homepage="https://www.python-ldap.org" distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz" checksum=202f2f4aeeed2333d4095e8122d066e502e9a64de30cb09ffae16d18c71053f4 pre_build() { sed -i "s,/usr/include/sasl,${XBPS_CROSS_BASE}/usr/include/sasl," setup.cfg sed -i "s:^libs = .*:libs = ldap_r lber sasl2 ssl crypto:" setup.cfg }