diff options
-rw-r--r-- | recipes/python/python-ldap/setup.cfg.patch | 14 | ||||
-rw-r--r-- | 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 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 |