Accepting request 1106211 from devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/1106211 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Paste?expand=0&rev=37
This commit is contained in:
commit
220ed439d1
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.
3
Paste-3.5.3.tar.gz
Normal file
3
Paste-3.5.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa093f46a4d1ea3898a849c8ce1d2a425c2bed5fc06b36384fe3ffaa652c081b
|
||||
size 638791
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -18,19 +18,21 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Paste
|
||||
Version: 3.5.2
|
||||
Version: 3.5.3
|
||||
Release: 0
|
||||
Summary: Tools for using a Web Server Gateway Interface stack
|
||||
License: MIT
|
||||
URL: https://github.com/cdent/paste
|
||||
Source: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
|
||||
Patch0: test_modified-fixup.patch
|
||||
Patch1: support-python-311.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six > 1.4.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
Requires: python-six > 1.4.0
|
||||
Suggests: python-flup
|
||||
Suggests: python-python3-openid
|
||||
@ -50,10 +52,10 @@ sed -i '/pytest-runner/d' setup.py
|
||||
rm tests/test_proxy.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -62,6 +64,8 @@ rm tests/test_proxy.py
|
||||
%files %{python_files}
|
||||
%license docs/license.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/paste
|
||||
%{python_sitelib}/Paste-%{version}.dist-info
|
||||
%{python_sitelib}/Paste-%{version}-py*-nspkg.pth
|
||||
|
||||
%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…
x
Reference in New Issue
Block a user