Files
meta-openembedded/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb
T
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.

Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.

[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-08 22:27:01 -07:00

26 lines
712 B
BlitzBasic

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"
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"