[oe-commits] Martin Jansa : python-ldap: new recipe from SHR

git version control git at git.openembedded.org
Wed Nov 18 09:05:59 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: a9bd031a4bb49d90b7e3fc7c24dba35533b3515e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a9bd031a4bb49d90b7e3fc7c24dba35533b3515e

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Nov 18 09:10:25 2009 +0100

python-ldap: new recipe from SHR

---

 recipes/python/python-ldap/setup.cfg.patch |   14 ++++++++++++++
 recipes/python/python-ldap_2.3.9.bb        |   11 +++++++++++
 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 0000000..a703d34
--- /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 0000000..8a605e4
--- /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  





More information about the Openembedded-commits mailing list