diff options
Diffstat (limited to 'meta-python/recipes-networking/python/python3-ldap_3.4.7.bb')
| -rw-r--r-- | meta-python/recipes-networking/python/python3-ldap_3.4.7.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb b/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb new file mode 100644 index 0000000000..cd7c675f27 --- /dev/null +++ b/meta-python/recipes-networking/python/python3-ldap_3.4.7.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SUMMARY = "Provides a wrapper in Python to LDAP" | ||
| 2 | DESCRIPTION = "This module provides access to the LDAP \ | ||
| 3 | (Lightweight Directory Access Protocol) through Python operations \ | ||
| 4 | instead of C API. The module mainly acts as a wrapper for the \ | ||
| 5 | OpenLDAP 2.x libraries. Errors will appear as exceptions." | ||
| 6 | HOMEPAGE = "https://www.python-ldap.org/" | ||
| 7 | LICENSE = "PSF-2.0" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b" | ||
| 9 | |||
| 10 | DEPENDS = "python3 openldap cyrus-sasl python3-setuptools-scm-native" | ||
| 11 | |||
| 12 | PYPI_PACKAGE = "python_ldap" | ||
| 13 | |||
| 14 | inherit pypi python_setuptools_build_meta | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "bacd9fb680d20263d8570ade1cf234d90d281149a8beb4f079dd8f33f7613dc8" | ||
| 17 | |||
| 18 | do_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 | |||
| 24 | RDEPENDS:${PN} = " \ | ||
| 25 | python3-pprint \ | ||
| 26 | python3-pyasn1 \ | ||
| 27 | python3-pyasn1-modules \ | ||
| 28 | python3-threading \ | ||
| 29 | python3-unittest \ | ||
| 30 | " | ||
| 31 | |||
| 32 | CVE_PRODUCT = "python-ldap" | ||
