diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-22 14:17:22 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-22 14:20:35 -0800 |
commit | 8c0c7f0a37a1b4a7eb7ea585971534cd1e481b8e (patch) | |
tree | 0f1b88391233a2d7f969ce8e51316910d644e753 /meta-oe/recipes-dbs | |
parent | 8d2a38f04944171779a4781580309bef7a34116b (diff) | |
download | meta-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.bb | 2 |
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 | |||
16 | 16 | ||
17 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 17 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
18 | 18 | ||
19 | inherit setuptools | 19 | inherit ${@bb.utils.contains("BBPATH", "meta-python2", "setuptools", "", d)} |
20 | 20 | ||
21 | python() { | 21 | python() { |
22 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | 22 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): |