mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
python3-cheetah: fixup native RDEPENDS
cheetah-native is used while building mongodb and a build failure for mongodb identifies that the current version of cheetah templates requires the cgi module. The following is seen > | from Cheetah.Template import Template > | File > "/srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/mongodb/4.4.29/recipe-sysroot-native/usr/lib/python3.13/site-packages/Cheetah/Template.py", > line 24, in <module> > | import cgi # Used by .webInput() if the template is a CGI script. > | ^^^^^^^^^^ > | ModuleNotFoundError: No module named 'cgi' This is fixed by utilizing the legacy-cgi module. Signed-off-by: Awais Belal <awais.belal@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
77888be72e
commit
1ee9d57cac
|
|
@ -9,7 +9,7 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
|||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} = "python3-pickle python3-pprint"
|
||||
RDEPENDS:${PN}:class-native = ""
|
||||
RDEPENDS:${PN}:class-native = "python3-legacy-cgi-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user