From 77888be72ee477d5c80822108d346fd628cc7614 Mon Sep 17 00:00:00 2001 From: Awais Belal Date: Wed, 12 Mar 2025 23:31:32 +0500 Subject: python3-legacy-cgi: introduce recipe With the cgi module being dropped in python3.13 a stop gap solution for modules relying on cgi is to use the legacy-cgi module. Introduce the recipe so it could be leveraged in the upcoming changes. Signed-off-by: Awais Belal Signed-off-by: Khem Raj --- .../python/python3-legacy-cgi_2.6.2.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb (limited to 'meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb b/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb new file mode 100644 index 0000000000..2b2840ae14 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.2.bb @@ -0,0 +1,22 @@ +SUMMARY = "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594" +HOMEPAGE = "https://github.com/jackrosenthal/legacy-cgi" +LICENSE = "PSF-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4b8801e752a2c70ac41a5f9aa243f766" + +PYPI_PACKAGE = "legacy_cgi" + +inherit python_poetry_core pypi + +SRC_URI += "\ + file://0001-cgi.py-fixup-interpreter-according-to-OE.patch \ +" + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +#RDEPENDS:${PN} = "python3-core" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI[sha256sum] = "9952471ceb304043b104c22d00b4f333cac27a6abe446d8a528fc437cf13c85f" -- cgit v1.2.3-54-g00ecf