15
0

Accepting request 1244707 from home:glaubitz:branches:devel:languages:python

- Update to 2.1.1
  * Add support for 3.13
  * Don’t require legacy-cgi to be installed on 3.13 and later (#176)
  * Don’t permit FieldStorageUploadConverter to be instantiated without
    having legacy-cgi installed since it does not make sense
  * Releases are now automated through GitHub Actions (#184)
- Adjust upstream source name in spec file
- Drop do-not-always-use-cgi-module.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1244707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=37
This commit is contained in:
2025-02-10 13:48:19 +00:00
committed by Git OBS Bridge
parent e42c847856
commit a4b6d4168d
5 changed files with 19 additions and 65 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-FormEncode
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-FormEncode
Version: 2.1.0
Version: 2.1.1
Release: 0
Summary: HTML form validation, generation, and conversion package
License: Python-2.0
URL: https://formencode.org
Source: https://files.pythonhosted.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#formencode/formencode#176
Patch0: do-not-always-use-cgi-module.patch
Source: https://files.pythonhosted.org/packages/source/f/formencode/formencode-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module pip}
@@ -45,7 +43,7 @@ a declarative form of defining the validation, and decoupled processes
for filling and generating forms.
%prep
%autosetup -p1 -n FormEncode-%{version}
%autosetup -p1 -n formencode-%{version}
%build
%pyproject_wheel