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:
Martin Jansa
2020-02-19 20:15:29 +01:00
parent b2a958a4cd
commit 5d79044938

View File

@@ -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"