From a3b6a0c84d25185131dcbadfcc8752447eb30437 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Wed, 8 Apr 2026 12:03:27 +0800 Subject: python3-legacy-cgi: upgrade 2.6.2 -> 2.6.4 Add do_install function to resolve following issue. python3-legacy-cgi-2.6.4-r0 do_package_qa: QA Issue: /usr/lib/python3.14/site-packages/.pc/0001-cgi.py-fixup-interpreter-according-to-OE.patch/cgi.py contained in package python3-legacy-cgi requires /usr/local/bin/python, but no providers found in RDEPENDS:python3-legacy-cgi? [file-rdeps] Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- .../python/python3-legacy-cgi_2.6.4.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb (limited to 'meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb') diff --git a/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb b/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb new file mode 100644 index 0000000000..85328ed951 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb @@ -0,0 +1,27 @@ +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 python_hatchling + +SRC_URI += "\ + file://0001-cgi.py-fixup-interpreter-according-to-OE.patch \ +" + +DEPENDS += "\ + ${PYTHON_PN}-setuptools-scm-native \ +" + +# Add this function to solve package QA Issue +do_install:append() { + rm ${D}${PYTHON_SITEPACKAGES_DIR}/.pc -rf +} + +#RDEPENDS:${PN} = "python3-core" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI[sha256sum] = "abb9dfc7835772f7c9317977c63253fd22a7484b5c9bbcdca60a29dcce97c577" -- cgit v1.2.3-54-g00ecf