mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 17:39:24 +00:00
mysql-python: Enable only when meta-py2 is present
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -101,8 +101,9 @@ RDEPENDS_packagegroup-meta-oe-bsp_remove_riscv32 = "efivar efibootmgr"
|
||||
|
||||
RDEPENDS_packagegroup-meta-oe-dbs ="\
|
||||
leveldb libdbi mariadb mariadb-native \
|
||||
mysql-python postgresql psqlodbc rocksdb soci \
|
||||
postgresql psqlodbc rocksdb soci \
|
||||
sqlite \
|
||||
${@bb.utils.contains("BBPATH", "meta-python2", "mysql-python", "", d)} \
|
||||
"
|
||||
|
||||
RDEPENDS_packagegroup-meta-oe-devtools ="\
|
||||
|
||||
@@ -16,4 +16,9 @@ SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
inherit setuptools3
|
||||
inherit setuptools
|
||||
|
||||
python() {
|
||||
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||
raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user