* fixes: ERROR: Nothing PROVIDES 'cyrus-sasl' (but meta-python2/recipes-devtools/python/python-ldap_3.2.0.bb DEPENDS on or otherwise requires it) in world builds without meta-networking
Signed-off-by: Martin Jansa <[email protected]> --- recipes-devtools/python/python-ldap_3.2.0.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-devtools/python/python-ldap_3.2.0.bb b/recipes-devtools/python/python-ldap_3.2.0.bb index af8961e..8e43dee 100644 --- a/recipes-devtools/python/python-ldap_3.2.0.bb +++ b/recipes-devtools/python/python-ldap_3.2.0.bb @@ -23,9 +23,15 @@ do_configure_prepend() { sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' setup.cfg } + RDEPENDS_${PN} = " \ ${PYTHON_PN}-pprint \ ${PYTHON_PN}-threading \ ${PYTHON_PN}-pyasn1 \ ${PYTHON_PN}-pyasn1-modules \ " + +python() { + if 'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split(): + raise bb.parse.SkipRecipe('Requires networking-layer to be present to provide cyrus-sasl.') +} -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
