aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-22 14:17:22 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 14:20:35 -0800
commit8c0c7f0a37a1b4a7eb7ea585971534cd1e481b8e (patch)
tree0f1b88391233a2d7f969ce8e51316910d644e753 /meta-oe/recipes-dbs
parent8d2a38f04944171779a4781580309bef7a34116b (diff)
downloadmeta-openembedded-8c0c7f0a37a1b4a7eb7ea585971534cd1e481b8e.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb b/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
index f1c2b7701c..e125ae4447 100644
--- a/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
+++ b/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
@@ -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():