21 lines
774 B
Bash
21 lines
774 B
Bash
# Template file for 'python-ldap'
|
|
pkgname=python-ldap
|
|
version=2.5.1
|
|
revision=1
|
|
build_style=python2-module
|
|
pycompile_module="ldap lidf.py dsml.py ldapurl.py slapdtest.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 <maldridge@VoidLinux.eu>"
|
|
license="PSF"
|
|
homepage="https://www.python-ldap.org"
|
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=74a1e282c965bdfbd4c414a75b237e40c76395e7dea5e8e1d8a4772fc28524ab
|
|
|
|
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
|
|
}
|