package/python-legacy-cgi: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2024-10-27 19:04:23 -06:00 committed by Thomas Petazzoni
parent 28cf4322ee
commit 52ed599348
4 changed files with 28 additions and 0 deletions

View File

@ -1193,6 +1193,7 @@ menu "External python modules"
source "package/python-kiwisolver/Config.in"
source "package/python-kmod/Config.in"
source "package/python-lark/Config.in"
source "package/python-legacy-cgi/Config.in"
source "package/python-libconf/Config.in"
source "package/python-libconfig/Config.in"
source "package/python-libevdev/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_LEGACY_CGI
bool "python-legacy-cgi"
help
Fork of the standard library cgi and cgitb modules, being
deprecated in PEP-594.
https://github.com/jackrosenthal/legacy-cgi

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/legacy-cgi/json
md5 82a61ea4905ec03f07cf24c586623fa7 legacy_cgi-2.6.1.tar.gz
sha256 f2ada99c747c3d72a473a6aaff6259a61f226b06fe9f3106e495ab83fd8f7a42 legacy_cgi-2.6.1.tar.gz
# Locally computed sha256 checksums
sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-legacy-cgi
#
################################################################################
PYTHON_LEGACY_CGI_VERSION = 2.6.1
PYTHON_LEGACY_CGI_SOURCE = legacy_cgi-$(PYTHON_LEGACY_CGI_VERSION).tar.gz
PYTHON_LEGACY_CGI_SITE = https://files.pythonhosted.org/packages/48/96/ff14ad0f759f2297a2e61db9c5384d248a6b38c6c1d4452c07d7419676a2
PYTHON_LEGACY_CGI_SETUP_TYPE = pep517
PYTHON_LEGACY_CGI_LICENSE = PSF-2.0
PYTHON_LEGACY_CGI_LICENSE_FILES = LICENSE
PYTHON_LEGACY_CGI_DEPENDENCIES = host-python-poetry-core
$(eval $(python-package))