python3-ldap_3.4.4.bb 947 B

123456789101112131415161718192021222324252627282930
  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. DEPENDS = "python3 openldap cyrus-sasl"
  10. PYPI_PACKAGE = "python-ldap"
  11. inherit pypi setuptools3
  12. SRC_URI[sha256sum] = "7edb0accec4e037797705f3a05cbf36a9fde50d08c8f67f2aef99a2628fab828"
  13. do_configure:prepend() {
  14. sed -i -e 's:^library_dirs =.*::' \
  15. -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \
  16. -e 's/= ldap_r/= ldap/g' ${S}/setup.cfg
  17. }
  18. RDEPENDS:${PN} = " \
  19. python3-pprint \
  20. python3-pyasn1 \
  21. python3-pyasn1-modules \
  22. python3-threading \
  23. python3-unittest \
  24. "