summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb27
1 files changed, 27 insertions, 0 deletions
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 @@
1SUMMARY = "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594"
2HOMEPAGE = "https://github.com/jackrosenthal/legacy-cgi"
3LICENSE = "PSF-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=4b8801e752a2c70ac41a5f9aa243f766"
5
6PYPI_PACKAGE = "legacy_cgi"
7
8inherit python_poetry_core pypi python_hatchling
9
10SRC_URI += "\
11 file://0001-cgi.py-fixup-interpreter-according-to-OE.patch \
12"
13
14DEPENDS += "\
15 ${PYTHON_PN}-setuptools-scm-native \
16"
17
18# Add this function to solve package QA Issue
19do_install:append() {
20 rm ${D}${PYTHON_SITEPACKAGES_DIR}/.pc -rf
21}
22
23#RDEPENDS:${PN} = "python3-core"
24
25BBCLASSEXTEND = "native nativesdk"
26
27SRC_URI[sha256sum] = "abb9dfc7835772f7c9317977c63253fd22a7484b5c9bbcdca60a29dcce97c577"