# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-legacy-cgi VERSION= 2.6.3 KEYWORDS= python VARIANTS= v12 v13 SDESC[v12]= Copy of dropped cgi and cgitb modules (3.12) SDESC[v13]= Copy of dropped cgi and cgitb modules (3.13) HOMEPAGE= https://pypi.org/project/legacy-cgi/ CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/5a/33/68c6c38193684537757e0d50a7ccb4f4656e5c2f7cd2be737a9d4a1bff71 DISTFILE[1]= legacy_cgi-2.6.3-py3-none-any.whl:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v12]= single SPKGS[v13]= single OPTIONS_AVAILABLE= PY312 PY313 OPTIONS_STANDARD= none VOPTS[v12]= PY312=ON PY313=OFF VOPTS[v13]= PY312=OFF PY313=ON DISTNAME= legacy_cgi-2.6.3.dist-info GENERATED= yes [PY312].USES_ON= python:v12,wheel [PY313].USES_ON= python:v13,wheel post-install: ${SED} -i'' -e "s|/usr/local/bin/python|${LOCALBASE}/bin/python${PYTHON_VER}|" \ ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/site-packages/cgi.py [FILE:1720:descriptions/desc.single] Python CGI ========== This is a fork of the standard library modules cgi and cgitb. They have been removed from the Python standard libary in Python 3.13 by PEP-594_. .. _PEP-594: https://peps.python.org/pep-0594/ Installation ------------ Depend upon ``legacy-cgi`` in your project. It is recommended to use the marker ``python_version >= 3.13``, as while the package can install for older Python versions, it won't have effect with a standard Python installation as the built-in modules will take precedence. For example, in a ``requirements.txt`` file:: legacy-cgi; python_version >= '3.13' Or in a PEP-621 ``pyproject.toml`` file:: [project] ... dependencies = [ ..., "legacy-cgi; python_version >= '3.13'", ] Purpose ------- The purpose of this fork is to support existing CGI scripts using these modules. Thus, compatibility is the primary goal. Contributions are accepted, but should be focused on bug fixes instead of new features or major refactoring. New applications should look at the ASGI_ or WSGI_ ecosystems. There's a number of highly-polished web frameworks available, and it's significantly faster in a typical deployment given a new Python process does not need created for each request. .. _ASGI: https://asgi.readthedocs.io .. _WSGI: https://wsgi.readthedocs.io Documentation ------------- See the official documentation for Python 3.12 and earlier for usage: * `cgi module`_ * `cgitb module`_ .. _cgi module: https://docs.python.org/3.12/library/cgi.html .. _cgitb module: https://docs.python.org/3.12/library/cgitb.html The modules are not renamed, so code written for Python 3.12 or earlier should work without modification with this package installed. [FILE:123:distinfo] 6df2ea5ae14c71ef6f097f8b6372b44f6685283dc018535a75c924564183cdab 19851 python-src/legacy_cgi-2.6.3-py3-none-any.whl