diff options
author | Awais Belal <awais.belal@gmail.com> | 2025-03-12 23:31:33 +0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-13 22:09:35 -0700 |
commit | 1ee9d57cace7c79d2a69bea96e8a6ccc5137464f (patch) | |
tree | 44c54267e683f84eeb9cdb11ca2eadd551bee231 /meta-python/recipes-devtools/python | |
parent | 77888be72ee477d5c80822108d346fd628cc7614 (diff) | |
download | meta-openembedded-1ee9d57cace7c79d2a69bea96e8a6ccc5137464f.tar.gz |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb b/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb index 6cba6b3adf..e7b404cd8f 100644 --- a/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb +++ b/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb | |||
@@ -9,7 +9,7 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | |||
9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
10 | 10 | ||
11 | RDEPENDS:${PN} = "python3-pickle python3-pprint" | 11 | RDEPENDS:${PN} = "python3-pickle python3-pprint" |
12 | RDEPENDS:${PN}:class-native = "" | 12 | RDEPENDS:${PN}:class-native = "python3-legacy-cgi-native" |
13 | 13 | ||
14 | BBCLASSEXTEND = "native nativesdk" | 14 | BBCLASSEXTEND = "native nativesdk" |
15 | 15 | ||