mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 07:28:56 +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:
parent
b5cce2f54f
commit
e47f8dfd83
@ -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.')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user