dcallagh-exheres

My personal Exherbo repository
git clone https://code.djc.id.au/git/dcallagh-exheres/
commit 84a542c04bd5c07a22fbe3c117899ffe03aec603
parent e8d1ab84c6186d0da67e5a2688881a9a6c9ca372
Author: Dan Callaghan <djc@djc.id.au>
Date:   Mon, 11 Jul 2011 16:30:15 +1000

python-ldap

Diffstat:
Apackages/dev-python/python-ldap/python-ldap-2.4.1.exheres-0 | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)
diff --git a/packages/dev-python/python-ldap/python-ldap-2.4.1.exheres-0 b/packages/dev-python/python-ldap/python-ldap-2.4.1.exheres-0
@@ -0,0 +1,32 @@
+# Copyright 2011 Dan Callaghan <djc@djc.id.au>
+# Distributed under the terms of the GNU General Public License v2
+
+require pypi distutils [ python_dep=2.3 ]
+
+SUMMARY="LDAP client library for Python, using OpenLDAP"
+DESCRIPTION="
+python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. 
+Mainly it wraps the OpenLDAP 2.x libs for that purpose. Additionally the package contains modules 
+for other LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
+"
+HOMEPAGE="http://www.python-ldap.org/"
+
+LICENCES="PSF-2.2"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+DEPENDENCIES="
+    build+run:
+        net-directory/openldap[>=2.4.11]
+"
+
+BUGS_TO="djc@djc.id.au"
+
+src_configure() {
+    edo sed -i \
+            -e '/^library_dirs =/c library_dirs = ' \
+            -e '/^include_dirs =/c include_dirs = /usr/include/sasl' \
+            -e '/^extra_compile_args =/d' \
+            setup.cfg
+}
+