forked from pool/python-legacy-cgi
- update to 2.6.4:
* Fixed #11 (Modern versions of apache dislike cgitb's header reset trick). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-legacy-cgi?expand=0&rev=9
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
legacy_cgi-2.6.3.tar.gz
Normal file
3
legacy_cgi-2.6.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4c119d6cb8e9d8b6ad7cc0ddad880552c62df4029622835d06dfd18f438a8154
|
||||
size 24401
|
||||
3
legacy_cgi-2.6.4.tar.gz
Normal file
3
legacy_cgi-2.6.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:abb9dfc7835772f7c9317977c63253fd22a7484b5c9bbcdca60a29dcce97c577
|
||||
size 24603
|
||||
32
python-legacy-cgi.changes
Normal file
32
python-legacy-cgi.changes
Normal file
@@ -0,0 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 21:16:04 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.6.4:
|
||||
* Fixed #11 (Modern versions of apache dislike cgitb's header
|
||||
reset trick).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 3 08:19:37 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.3
|
||||
* README updated
|
||||
* Switched build system uv (hatchling is the PEP-517 backend)
|
||||
* Supports back to Python 3.8 (not that this is useful, see
|
||||
the README for information on recommended markers)
|
||||
- Update BuildRequires from pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 08:08:47 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.6.2
|
||||
* Remove the <4 Python requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 3 14:53:59 UTC 2024 - eccsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 11 05:09:53 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Initial release of 2.6.1.
|
||||
66
python-legacy-cgi.spec
Normal file
66
python-legacy-cgi.spec
Normal file
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-legacy-cgi
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-legacy-cgi
|
||||
Version: 2.6.4
|
||||
Release: 0
|
||||
Summary: Fork of the standard library cgi and cgitb modules
|
||||
License: Python-2.0
|
||||
URL: https://github.com/jackrosenthal/legacy-cgi
|
||||
Source: https://files.pythonhosted.org/packages/source/l/legacy-cgi/legacy_cgi-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is a fork of the standard library modules ``cgi`` and ``cgitb``.
|
||||
They are slated to be removed from the Python standard libary in
|
||||
Python 3.13 by PEP-594_.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n legacy_cgi-%{version}
|
||||
# We don't want or a need a shebang
|
||||
sed -i '1,11d' cgi.py
|
||||
chmod -x cgi.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/cgi.py
|
||||
%{python_sitelib}/cgitb.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/cgi.*.pyc
|
||||
%pycache_only %{python_sitelib}/__pycache__/cgitb.*.pyc
|
||||
%{python_sitelib}/legacy_cgi-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user