Sync from SUSE:SLFO:Main python-Paste revision a6043eb7e10fb27c2d650e5239cab4a1
This commit is contained in:
parent
a0c4c2c91d
commit
acf725b6ff
BIN
Paste-3.5.2.tar.gz
(Stored with Git LFS)
BIN
Paste-3.5.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
paste-3.10.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
paste-3.10.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,55 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 29 10:49:09 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- python-six is not required
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 29 14:43:27 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.10.1
|
||||||
|
* Correct packaging and testing when not in a clean virtualenv
|
||||||
|
- from version 3.10.0
|
||||||
|
* Move development to https://github.com/pasteorg/paste
|
||||||
|
* Vendor cgi.FieldStorage and cgitb.Hook
|
||||||
|
* More cleaning of Python 2 style code.
|
||||||
|
- Adjust upstream source name in spec file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 15 06:11:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.9.0:
|
||||||
|
* misc bugs + please pyflakes
|
||||||
|
* Remove unused format_environ method in watchthreads APP
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 22 20:46:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.8.0:
|
||||||
|
* remove most python2 compatibility
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 12 13:21:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.7.1:
|
||||||
|
* The main change for 3.7.0 and beyond is dropping support for
|
||||||
|
Python 2. In the past it was possible to get Paste to work in
|
||||||
|
Python 2 with some effort. That's now no longer possible. If
|
||||||
|
Python 2 is required for some reason, use an older version of
|
||||||
|
Paste.
|
||||||
|
- update to 3.6.1:
|
||||||
|
* Turn on github action for tests on pull requests
|
||||||
|
* Add a Makefile for simple automation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 28 04:41:38 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 3.5.3:
|
||||||
|
* Use importlib instead of imp with Python 3.
|
||||||
|
- Drop patch support-python-311.patch, something similar now included
|
||||||
|
upstream.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Stop using greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 9 13:53:17 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Tue May 9 13:53:17 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Paste
|
# spec file for package python-Paste
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,20 +18,20 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Paste
|
Name: python-Paste
|
||||||
Version: 3.5.2
|
Version: 3.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools for using a Web Server Gateway Interface stack
|
Summary: Tools for using a Web Server Gateway Interface stack
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/cdent/paste
|
URL: https://github.com/cdent/paste
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/paste/paste-%{version}.tar.gz
|
||||||
Patch0: test_modified-fixup.patch
|
Patch0: test_modified-fixup.patch
|
||||||
Patch1: support-python-311.patch
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six > 1.4.0}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six > 1.4.0
|
Requires: python-setuptools
|
||||||
Suggests: python-flup
|
Suggests: python-flup
|
||||||
Suggests: python-python3-openid
|
Suggests: python-python3-openid
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -44,16 +44,15 @@ interface, and should be compatible with other middleware based on those
|
|||||||
interfaces.
|
interfaces.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n Paste-%{version}
|
%autosetup -p1 -n paste-%{version}
|
||||||
sed -i '/pytest-runner/d' setup.py
|
|
||||||
# remove test requiring internet access
|
# remove test requiring internet access
|
||||||
rm tests/test_proxy.py
|
rm tests/test_proxy.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -62,6 +61,8 @@ rm tests/test_proxy.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license docs/license.txt
|
%license docs/license.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/paste
|
||||||
|
%{python_sitelib}/Paste-%{version}.dist-info
|
||||||
|
%{python_sitelib}/Paste-%{version}-py*-nspkg.pth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
Index: Paste-3.5.2/tests/cgiapp_data/form.cgi
|
|
||||||
===================================================================
|
|
||||||
--- Paste-3.5.2.orig/tests/cgiapp_data/form.cgi
|
|
||||||
+++ Paste-3.5.2/tests/cgiapp_data/form.cgi
|
|
||||||
@@ -2,6 +2,11 @@
|
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
+import warnings
|
|
||||||
+# Since the Paste machinery expects these scripts to return no stderr,
|
|
||||||
+# filter all DeprecationWarnings
|
|
||||||
+warnings.simplefilter("ignore", category=DeprecationWarning)
|
|
||||||
+
|
|
||||||
import cgi
|
|
||||||
import six
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user