From 39024689fa8c688ac3073050b0a02ba36ef8397d Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Mon, 2 May 2022 07:33:41 -0700 Subject: python3-ldap: move to meta-python Signed-off-by: Armin Kuster Signed-off-by: Khem Raj --- .../python/python3-ldap_3.4.0.bb | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-python/recipes-networking/python/python3-ldap_3.4.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-networking/python/python3-ldap_3.4.0.bb b/meta-python/recipes-networking/python/python3-ldap_3.4.0.bb new file mode 100644 index 0000000000..4299058315 --- /dev/null +++ b/meta-python/recipes-networking/python/python3-ldap_3.4.0.bb @@ -0,0 +1,29 @@ +SUMMARY = "Provides a wrapper in Python to LDAP" +DESCRIPTION = "This module provides access to the LDAP \ +(Lightweight Directory Access Protocol) through Python operations \ +instead of C API. The module mainly acts as a wrapper for the \ +OpenLDAP 2.x libraries. Errors will appear as exceptions." +HOMEPAGE = "http://www.python-ldap.org/" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b" + +DEPENDS = "python3 openldap cyrus-sasl" + +PYPI_PACKAGE = "python-ldap" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "60464c8fc25e71e0fd40449a24eae482dcd0fb7fcf823e7de627a6525b3e0d12" + +do_configure:prepend() { + sed -i -e 's:^library_dirs =.*::' \ + -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \ + -e 's/= ldap_r/= ldap/g' ${S}/setup.cfg +} + +RDEPENDS:${PN} = " \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-pyasn1 \ + ${PYTHON_PN}-pyasn1-modules \ +" -- cgit v1.2.3-54-g00ecf