python3-ldap_3.4.3.bb 943 B

1234567891011121314151617181920212223242526272829
  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 = "http://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] = "ab26c519a0ef2a443a2a10391fa3c5cb52d7871323399db949ebfaa9f25ee2a0"
  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. ${PYTHON_PN}-pprint \
  20. ${PYTHON_PN}-threading \
  21. ${PYTHON_PN}-pyasn1 \
  22. ${PYTHON_PN}-pyasn1-modules \
  23. "