recipes: Turn inherit classes from meta-py2 to conditional constructs

helps parsing without meta-py2 in mix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-01-22 14:17:22 -08:00
parent 8d2a38f049
commit 8c0c7f0a37
7 changed files with 8 additions and 7 deletions
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
inherit ${@bb.utils.contains("BBPATH", "meta-python2", "setuptools", "", d)}
python() {
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():