10 Commits

Author SHA256 Message Date
d30af21cf4 Accepting request 1266150 from devel:languages:python
- Make the dist-info name case-insensitive

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=40
2025-04-11 14:45:01 +00:00
1a88df7f71 - Make the dist-info name case-insensitive
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=79
2025-04-01 12:46:00 +00:00
6dc4f124f3 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=78
2025-03-26 01:40:13 +00:00
dfb705f680 Accepting request 1230046 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1230046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=39
2024-12-13 21:31:11 +00:00
e944757c4d Accepting request 1230025 from home:glaubitz:branches:devel:languages:python
- Update to 1.8.9
  * Add `legacy-cgi` dependency for Python 3.13+
  * Add info for 1.8.9 fix for Python 3.13
- Drop support-python-313.patch, merged upstream
- Update Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1230025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=76
2024-12-11 09:55:42 +00:00
b70f9c3271 Accepting request 1208518 from devel:languages:python
- Add patch support-python-313.patch:
  * Add legacy-cgi to install_requires to support Python 3.13.
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/request/show/1208518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=38
2024-10-18 13:52:50 +00:00
ab93c7df18 - Add patch support-python-313.patch:
* Add legacy-cgi to install_requires to support Python 3.13.
- Switch to autosetup macro.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=74
2024-10-16 23:01:46 +00:00
ec83786e89 Accepting request 1194616 from devel:languages:python
- Update to 1.8.8:
  * The use of WebOb's Response object to redirect a request to a new location
    can lead to an open redirect if the Location header is not a full URI.
    (bsc#1229221, CVE-2024-42353)
- Drop Python 2 blocks in the spec file.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1194616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=37
2024-08-20 14:12:34 +00:00
49a4871a71 fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=72
2024-08-19 04:06:29 +00:00
168b8f63a7 - Update to 1.8.8:
* The use of WebOb's Response object to redirect a request to a new location
  can lead to an open redirect if the Location header is not a full URI.
  (bsc#1229221, CVE-2024-42353)
- Drop Python 2 blocks in the spec file.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=71
2024-08-19 03:30:43 +00:00
4 changed files with 52 additions and 21 deletions

Binary file not shown.

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Apr 1 12:45:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make the dist-info name case-insensitive
-------------------------------------------------------------------
Wed Mar 26 01:39:43 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Wed Dec 11 08:46:23 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.8.9
* Add `legacy-cgi` dependency for Python 3.13+
* Add info for 1.8.9 fix for Python 3.13
- Drop support-python-313.patch, merged upstream
- Update Requires from setup.py
-------------------------------------------------------------------
Wed Oct 16 22:59:06 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python-313.patch:
* Add legacy-cgi to install_requires to support Python 3.13.
- Switch to autosetup macro.
-------------------------------------------------------------------
Mon Aug 19 03:28:33 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.8.8:
* The use of WebOb's Response object to redirect a request to a new location
can lead to an open redirect if the Location header is not a full URI.
(bsc#1229221, CVE-2024-42353)
- Drop Python 2 blocks in the spec file.
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 26 07:20:55 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com> Wed Jul 26 07:20:55 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-WebOb # spec file for package python-WebOb
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 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,27 +18,25 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-WebOb Name: python-WebOb
Version: 1.8.7 Version: 1.8.9
Release: 0 Release: 0
Summary: WSGI request and response object Summary: WSGI request and response object
License: MIT License: MIT
Group: Development/Languages/Python
URL: http://webob.org/ URL: http://webob.org/
Source: https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/w/webob/webob-%{version}.tar.gz
BuildRequires: %{python_module legacy-cgi if %python-base >= 3.13}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# Documentation requirements: # Documentation requirements:
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
BuildArch: noarch %if %{python_version_nodots} >= 313
%ifpython2 Requires: python-legacy-cgi >= 2.6
# We need SSL support
BuildRequires: python3
Requires: python3
Obsoletes: python3-webob < %{version}
Provides: python3-webob = %{version}
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -52,7 +50,6 @@ environment.
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%package -n python-WebOb-doc %package -n python-WebOb-doc
Summary: WSGI request and response object - Documentation Summary: WSGI request and response object - Documentation
Group: Documentation/HTML
Provides: %{python_module WebOb-doc = %{version}} Provides: %{python_module WebOb-doc = %{version}}
%description -n python-WebOb-doc %description -n python-WebOb-doc
@@ -60,16 +57,14 @@ This package contains documentation files for %{name}.
%endif %endif
%prep %prep
%setup -q -n WebOb-%{version} %autosetup -p1 -n webob-%{version}
# gh#Pylons/webob#390 -- Thread.is_alive is present since Python 2.6, Thread.isAlive was removed in 3.9.
sed -i 's/worker.isAlive/worker.is_alive/' tests/conftest.py
%build %build
%python_build %pyproject_wheel
PYTHONPATH=./src sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees} PYTHONPATH=./src sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -79,7 +74,7 @@ PYTHONPATH=./src sphinx-build -b html docs build/sphinx/html && rm -r build/sphi
%license docs/license.txt %license docs/license.txt
%doc CHANGES.txt README.rst %doc CHANGES.txt README.rst
%{python_sitelib}/webob %{python_sitelib}/webob
%{python_sitelib}/WebOb-%{version}*-info %{python_sitelib}/[wW]eb[oO]b-%{version}.dist-info
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%files -n python-WebOb-doc %files -n python-WebOb-doc

BIN
webob-1.8.9.tar.gz LFS Normal file

Binary file not shown.