diff options
Diffstat (limited to 'recipes-python/pyqt5/python-pyqt5_5.13.2.bb')
-rw-r--r-- | recipes-python/pyqt5/python-pyqt5_5.13.2.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-python/pyqt5/python-pyqt5_5.13.2.bb b/recipes-python/pyqt5/python-pyqt5_5.13.2.bb index b8b1d086..e051b156 100644 --- a/recipes-python/pyqt5/python-pyqt5_5.13.2.bb +++ b/recipes-python/pyqt5/python-pyqt5_5.13.2.bb | |||
@@ -1,6 +1,11 @@ | |||
1 | require python-pyqt5.inc | 1 | require python-pyqt5.inc |
2 | 2 | ||
3 | inherit pythonnative python-dir | 3 | inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative python-dir", "", d)} |
4 | |||
5 | python() { | ||
6 | if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
7 | raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') | ||
8 | } | ||
4 | 9 | ||
5 | DEPENDS += "sip sip-native python" | 10 | DEPENDS += "sip sip-native python" |
6 | 11 | ||