mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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>
17 lines
525 B
BlitzBasic
17 lines
525 B
BlitzBasic
SUMMARY = "Python template engine and code generation tool"
|
|
HOMEPAGE = "https://cheetahtemplate.org/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=15e13a4ed0e5880e3e55ec88b0921181"
|
|
|
|
PYPI_PACKAGE = "Cheetah3"
|
|
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
RDEPENDS:${PN} = "python3-pickle python3-pprint"
|
|
RDEPENDS:${PN}:class-native = "python3-legacy-cgi-native"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI[sha256sum] = "58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967"
|