summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-networking/python/python3-ldap_3.4.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-networking/python/python3-ldap_3.4.3.bb')
-rw-r--r--meta-python/recipes-networking/python/python3-ldap_3.4.3.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-networking/python/python3-ldap_3.4.3.bb b/meta-python/recipes-networking/python/python3-ldap_3.4.3.bb
new file mode 100644
index 0000000000..f2c0d2ee13
--- /dev/null
+++ b/meta-python/recipes-networking/python/python3-ldap_3.4.3.bb
@@ -0,0 +1,29 @@
1SUMMARY = "Provides a wrapper in Python to LDAP"
2DESCRIPTION = "This module provides access to the LDAP \
3(Lightweight Directory Access Protocol) through Python operations \
4instead of C API. The module mainly acts as a wrapper for the \
5OpenLDAP 2.x libraries. Errors will appear as exceptions."
6HOMEPAGE = "http://www.python-ldap.org/"
7LICENSE = "PSF-2.0"
8LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b"
9
10DEPENDS = "python3 openldap cyrus-sasl"
11
12PYPI_PACKAGE = "python-ldap"
13
14inherit pypi setuptools3
15
16SRC_URI[sha256sum] = "ab26c519a0ef2a443a2a10391fa3c5cb52d7871323399db949ebfaa9f25ee2a0"
17
18do_configure:prepend() {
19 sed -i -e 's:^library_dirs =.*::' \
20 -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \
21 -e 's/= ldap_r/= ldap/g' ${S}/setup.cfg
22}
23
24RDEPENDS:${PN} = " \
25 ${PYTHON_PN}-pprint \
26 ${PYTHON_PN}-threading \
27 ${PYTHON_PN}-pyasn1 \
28 ${PYTHON_PN}-pyasn1-modules \
29"