diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-05 15:15:55 -0500 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-09-12 10:55:08 -0400 |
commit | 1dde8e99b3962e1cd0466d5b414b972a3ef95d4a (patch) | |
tree | c219360011b1aef28aa67e3ab73572b8f7bc877d /meta-networking/recipes-devtools/python | |
parent | 677199bb7a1a24c6ffdcce86fd849002a72f830c (diff) | |
download | meta-openembedded-contrib-1dde8e99b3962e1cd0466d5b414b972a3ef95d4a.tar.gz |
python-ldap: Move to meta-networking, requires cyrus-sasl
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-devtools/python')
-rw-r--r-- | meta-networking/recipes-devtools/python/python-ldap_2.4.41.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-networking/recipes-devtools/python/python-ldap_2.4.41.bb b/meta-networking/recipes-devtools/python/python-ldap_2.4.41.bb new file mode 100644 index 0000000000..3dbc8b13e5 --- /dev/null +++ b/meta-networking/recipes-devtools/python/python-ldap_2.4.41.bb @@ -0,0 +1,29 @@ +# +# Copyright (C) 2012 Wind River Systems, Inc. +# +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." + +LICENSE = "PSF" +HOMEPAGE = "http://www.python-ldap.org/" +DEPENDS = "python openldap cyrus-sasl" + +PYPI_PACKAGE = "python-ldap" +inherit pypi setuptools + +LIC_FILES_CHKSUM = "file://LICENCE;md5=a41c82edffa04912007cae1d20cac555" +SRC_URI[md5sum] = "18db2d009150ec1864710fea3ed76173" +SRC_URI[sha256sum] = "6d430ecf040f2fc704ee316d3390cb1f5419c191371e1e131baef54a0e42cef0" + +do_configure_prepend() { + sed -i -e 's:^library_dirs =.*::' setup.cfg + sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' setup.cfg +} + +RDEPENDS_${PN} = " \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-threading \ +" |