2016-05-07 10:34:11 +02:00
|
|
|
# Template file for 'python-ldap'
|
|
|
|
pkgname=python-ldap
|
|
|
|
version=2.4.25
|
2016-05-09 23:32:27 +02:00
|
|
|
revision=2
|
2016-05-07 10:34:11 +02:00
|
|
|
build_style=python-module
|
2016-05-09 23:32:27 +02:00
|
|
|
pycompile_module="ldap lidf.py dsml.py ldapurl.py"
|
2016-05-07 10:34:11 +02:00
|
|
|
hostmakedepends="python-devel"
|
|
|
|
makedepends="python-devel libldap-devel libsasl-devel libressl-devel"
|
2016-05-09 23:32:27 +02:00
|
|
|
depends="python-pyasn1-modules"
|
2016-05-07 10:34:11 +02:00
|
|
|
short_desc="Python modules for implementing LDAP clients"
|
|
|
|
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
2016-05-09 23:32:27 +02:00
|
|
|
license="PSF"
|
2016-05-07 10:34:11 +02:00
|
|
|
homepage="https://www.python-ldap.org"
|
|
|
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=62d00dbc86f3f9b21beacd9b826e8f9895f900637a60a6d4e7ab59a1cdc64e56
|
|
|
|
|
|
|
|
pre_build() {
|
2016-05-09 23:32:27 +02:00
|
|
|
sed -i "s,/usr/include/sasl,${XBPS_CROSS_BASE}/usr/include/sasl," setup.cfg
|
2016-05-07 10:34:11 +02:00
|
|
|
}
|