mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-16 12:12:07 +02:00
python-pyqt5: drop python 2 recipe
* sip-native was already removed from meta-oe and wasn't resurected in meta-python2
so even with meta-python2 layer included this recipe cannot be built:
ERROR: Nothing PROVIDES 'sip' (but /OE/build/oe-core/meta-qt5/recipes-python/pyqt5/python-pyqt5_5.13.2.bb DEPENDS on or otherwise requires it). Close matches:
sip3
ERROR: Required build target 'python-pyqt5' has no buildable providers.
Missing or unbuildable dependency chain was: ['python-pyqt5', 'sip']
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
require python-pyqt5.inc
|
||||
|
||||
inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative python-dir", "", d)}
|
||||
|
||||
python() {
|
||||
if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
|
||||
raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
|
||||
}
|
||||
|
||||
DEPENDS += "sip sip-native python"
|
||||
|
||||
RDEPENDS_${PN} += "python-core python-sip"
|
||||
Reference in New Issue
Block a user