python-ldap: ensure all futures are enabled

This commit is contained in:
Alessio Sergi 2016-05-10 00:15:25 +02:00
parent d787e53c14
commit 6e9af00d56
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-ldap'
pkgname=python-ldap
version=2.4.25
revision=2
revision=3
build_style=python-module
pycompile_module="ldap lidf.py dsml.py ldapurl.py"
hostmakedepends="python-devel"
@ -16,4 +16,5 @@ checksum=62d00dbc86f3f9b21beacd9b826e8f9895f900637a60a6d4e7ab59a1cdc64e56
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
}