rekado pushed a commit to branch python-team in repository guix. commit 5625b33bbd2f6e9347818910de3ce42ee99e1cc8 Author: Ricardo Wurmus <rek...@elephly.net> AuthorDate: Mon Dec 16 20:38:09 2024 +0100
gnu: Add python-legacy-cgi. * gnu/packages/python-web.scm (python-legacy-cgi): New variable. Change-Id: I36253992291b2294896ae8c01a15f76b33615034 --- gnu/packages/python-web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 790434ea15..d379827ca6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -310,6 +310,26 @@ scripting Launchpad via its the web service API.") reusable library for parsing, manipulating, and generating URIs.") (license license:lgpl3))) +(define-public python-legacy-cgi + (package + (name "python-legacy-cgi") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "legacy_cgi" version)) + (sha256 + (base32 "0hksizyq7awmwh3337zy0rmj47x6b5igzam6ffj74gbwfjfakbgj")))) + (build-system pyproject-build-system) + (native-inputs (list python-poetry-core python-pytest)) + (home-page "https://github.com/jackrosenthal/legacy-cgi") + (synopsis "Fork of the legacy standard library cgi and cgitb modules") + (description + "This is a fork of the standard library modules @code{cgi} and +@code{cgitb}. They are slated to be removed from the Python standard libary +in Python 3.13 by PEP-594.") + (license license:psfl))) + (define-public python-portend (package (name "python-portend")