summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:10:25 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:57:28 +0100
commita9bd031a4bb49d90b7e3fc7c24dba35533b3515e (patch)
tree545c1eda9af5f275549580b6291c9130058f552d
parent43d06b2c0ec3a7bd3f64526e00b95dd6ee5b208f (diff)
python-ldap: new recipe from SHR
-rw-r--r--recipes/python/python-ldap/setup.cfg.patch14
-rw-r--r--recipes/python/python-ldap_2.3.9.bb11
2 files changed, 25 insertions, 0 deletions
diff --git a/recipes/python/python-ldap/setup.cfg.patch b/recipes/python/python-ldap/setup.cfg.patch
new file mode 100644
index 0000000000..a703d342e9
--- /dev/null
+++ b/recipes/python/python-ldap/setup.cfg.patch
@@ -0,0 +1,14 @@
+--- python-ldap-2.3.9/setup.cfg.orig 2009-08-13 11:07:23.000000000 +0200
++++ python-ldap-2.3.9/setup.cfg 2009-08-13 11:07:37.000000000 +0200
+@@ -1,9 +1,9 @@
+ [_ldap]
+ extra_objects =
+ extra_compile_args =
+-libs = ldap_r lber sasl2 ssl crypto
++libs = ldap_r lber ssl crypto
+ library_dirs = /opt/openldap-RE24/lib
+-include_dirs = /opt/openldap-RE24/include /usr/include/sasl
++include_dirs = /opt/openldap-RE24/include
+
+ [egg_info]
+ tag_build =
diff --git a/recipes/python/python-ldap_2.3.9.bb b/recipes/python/python-ldap_2.3.9.bb
new file mode 100644
index 0000000000..8a605e49e4
--- /dev/null
+++ b/recipes/python/python-ldap_2.3.9.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "LDAP client API for Python, C wrapper module around OpenLDAP 2.x with an object-oriented API"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "Python-style"
+HOMEPAGE = "http://www.python-ldap.org/"
+DEPENDS = "python openldap"
+
+SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${PN}-${PV}.tar.gz \
+ file://setup.cfg.patch;patch=1"
+
+inherit setuptools