From a9bd031a4bb49d90b7e3fc7c24dba35533b3515e Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 18 Nov 2009 09:10:25 +0100 Subject: 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(+) create mode 100644 recipes/python/python-ldap/setup.cfg.patch create mode 100644 recipes/python/python-ldap_2.3.9.bb (limited to 'recipes/python') 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 -- cgit v1.2.3