packages/dev-python/python-ldap/python-ldap-2.4.1.exheres-0 (935B) - raw
1 # Copyright 2011 Dan Callaghan <djc@djc.id.au> 2 # Distributed under the terms of the GNU General Public License v2 3 4 require pypi distutils [ python_dep=2.3 ] 5 6 SUMMARY="LDAP client library for Python, using OpenLDAP" 7 DESCRIPTION=" 8 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. 9 Mainly it wraps the OpenLDAP 2.x libs for that purpose. Additionally the package contains modules 10 for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.). 11 " 12 HOMEPAGE="http://www.python-ldap.org/" 13 14 LICENCES="PSF-2.2" 15 SLOT="0" 16 PLATFORMS="~amd64 ~x86" 17 18 DEPENDENCIES=" 19 build+run: 20 net-directory/openldap[>=2.4.11] 21 " 22 23 BUGS_TO="djc@djc.id.au" 24 25 src_configure() { 26 edo sed -i \ 27 -e '/^library_dirs =/c library_dirs = ' \ 28 -e '/^include_dirs =/c include_dirs = /usr/include/sasl' \ 29 -e '/^extra_compile_args =/d' \ 30 setup.cfg 31 } 32