diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python-ldap_2.4.10.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-ldap_2.4.10.bb b/meta-python/recipes-devtools/python/python-ldap_2.4.10.bb new file mode 100644 index 000000000..78a878a15 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-ldap_2.4.10.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | # | ||
2 | # Copyright (C) 2012 Wind River Systems, Inc. | ||
3 | # | ||
4 | SUMMARY = "Provides a wrapper in Python to LDAP" | ||
5 | DESCRIPTION = "This module provides access to the LDAP \ | ||
6 | (Lightweight Directory Access Protocol) through Python operations \ | ||
7 | instead of C API. The module mainly acts as a wrapper for the \ | ||
8 | OpenLDAP 2.x libraries. Errors will appear as exceptions." | ||
9 | |||
10 | SECTION = "devel/python" | ||
11 | PRIORITY = "optional" | ||
12 | LICENSE = "PSF" | ||
13 | HOMEPAGE = "http://www.python-ldap.org/" | ||
14 | DEPENDS = "python openldap cyrus-sasl" | ||
15 | |||
16 | SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${BPN}-${PV}.tar.gz" | ||
17 | |||
18 | inherit setuptools | ||
19 | |||
20 | LIC_FILES_CHKSUM = "file://LICENCE;md5=a41c82edffa04912007cae1d20cac555" | ||
21 | SRC_URI[md5sum] = "a15827ca13c90e9101e5e9405c1d83be" | ||
22 | SRC_URI[sha256sum] = "67cc7801bf24c29386ab99966ceb68d6a60fa9e0566cc95a4fbb2c4695a8ce54" | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | sed -i -e 's:^library_dirs =.*::' setup.cfg | ||
26 | sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' setup.cfg | ||
27 | } | ||