From 34c48088a54914ab54e58243f5545642bee5621f Mon Sep 17 00:00:00 2001 From: Mikko Gronoff Date: Fri, 16 Aug 2024 15:57:03 +0300 Subject: [PATCH] python3-qface: backport recipe from meta-oe master Latest qtinterfaceframework requires qface version 2.0.11. Meta-qt6 layer used to have it some time ago, but it was moved to meta-python under meta-openembedded. Only meta-openembedded(master) branch has required version available currently. Backport the recipe from meta-openembedded(master) branch: https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-qface_2.0.11.bb Fixes build issue: | File "/home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtinterfaceframework/6.7.3/recipe-sysroot-native/usr/lib/python3.11/site-packages/qface/utils.py", line 22, in load_filters | exec(path.text(), ctx) | ^^^^^^^^^ | AttributeError: 'PosixPath' object has no attribute 'text' Change-Id: If3ba64fac1375452cba031358e67fd90b3331ba2 Reviewed-by: Ari Parkkila (cherry picked from commit f52437ef0a9609b577d3309b3bbca233bab230bc) Reviewed-by: Jani Heikkinen --- .../python/python3-qface_2.0.11.bb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes-devtools/python/python3-qface_2.0.11.bb diff --git a/recipes-devtools/python/python3-qface_2.0.11.bb b/recipes-devtools/python/python3-qface_2.0.11.bb new file mode 100644 index 0000000..9ecaf56 --- /dev/null +++ b/recipes-devtools/python/python3-qface_2.0.11.bb @@ -0,0 +1,24 @@ +SUMMARY = "A generator framework based on a common modern IDL" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5" + +SRC_URI[sha256sum] = "b55c239f3ae7e23c5c8434f38901c5bcacb6afd17e88e37934b46e44558df295" + +inherit pypi setuptools3 + +DEPS = "\ + python3-jinja2 \ + python3-click \ + python3-pyyaml \ + python3-pytest \ + python3-six \ + python3-path \ + python3-antlr4-runtime \ + python3-watchdog \ + python3-markupsafe \ + python3-setuptools \ +" +DEPENDS += "${DEPS}" +RDEPENDS:${PN} += "${DEPS}" + +BBCLASSEXTEND = "nativesdk native"