mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
python-ldap: needs pyasn1-modules
Drop custom setup.cfg.
This commit is contained in:
parent
c653c26a64
commit
d787e53c14
2 changed files with 5 additions and 7 deletions
|
@ -1,2 +0,0 @@
|
||||||
[_ldap]
|
|
||||||
include_dirs = INCLUDEDIR/usr/include/sasl
|
|
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'python-ldap'
|
# Template file for 'python-ldap'
|
||||||
pkgname=python-ldap
|
pkgname=python-ldap
|
||||||
version=2.4.25
|
version=2.4.25
|
||||||
revision=1
|
revision=2
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="ldap lidf.py dsml.py ldapurl.py"
|
pycompile_module="ldap lidf.py dsml.py ldapurl.py"
|
||||||
hostmakedepends="python-devel"
|
hostmakedepends="python-devel"
|
||||||
makedepends="python-devel libldap-devel libsasl-devel libressl-devel"
|
makedepends="python-devel libldap-devel libsasl-devel libressl-devel"
|
||||||
|
depends="python-pyasn1-modules"
|
||||||
short_desc="Python modules for implementing LDAP clients"
|
short_desc="Python modules for implementing LDAP clients"
|
||||||
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
||||||
license="Python License"
|
license="PSF"
|
||||||
homepage="https://www.python-ldap.org"
|
homepage="https://www.python-ldap.org"
|
||||||
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=62d00dbc86f3f9b21beacd9b826e8f9895f900637a60a6d4e7ab59a1cdc64e56
|
checksum=62d00dbc86f3f9b21beacd9b826e8f9895f900637a60a6d4e7ab59a1cdc64e56
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cp ${FILESDIR}/setup.cfg ${wrksrc}/
|
sed -i "s,/usr/include/sasl,${XBPS_CROSS_BASE}/usr/include/sasl," setup.cfg
|
||||||
sed -i "s:INCLUDEDIR:${XBPS_CROSS_BASE}:g" setup.cfg
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue