New package: python-ldap-2.4.25

This commit is contained in:
Michael Aldridge 2016-05-07 03:34:11 -05:00
parent f653fbd0fa
commit a316ddfcce
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[_ldap]
include_dirs = INCLUDEDIR/usr/include/sasl

View File

@ -0,0 +1,19 @@
# Template file for 'python-ldap'
pkgname=python-ldap
version=2.4.25
revision=1
build_style=python-module
pycompile_module="ldap lidf.py dsml.py ldapurl.py"
hostmakedepends="python-devel"
makedepends="python-devel libldap-devel libsasl-devel libressl-devel"
short_desc="Python modules for implementing LDAP clients"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="Python License"
homepage="https://www.python-ldap.org"
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=62d00dbc86f3f9b21beacd9b826e8f9895f900637a60a6d4e7ab59a1cdc64e56
pre_build() {
cp ${FILESDIR}/setup.cfg ${wrksrc}/
sed -i "s:INCLUDEDIR:${XBPS_CROSS_BASE}:g" setup.cfg
}