Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
a72e6d1a86 |
BIN
FormEncode-2.0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
FormEncode-2.0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
formencode-2.1.1.tar.gz
(Stored with Git LFS)
BIN
formencode-2.1.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,55 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 11:56:57 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Make the dist-info name case-insensitive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 26 00:39:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Lowercase metadata directory name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 10:10:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 04:11:22 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch do-not-always-use-cgi-module.patch:
|
||||
* Support Python 3.13 by making use of cgi optional.
|
||||
- Switch to autosetup macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 16 13:25:39 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Remove unneeded dependency on six
|
||||
* https://github.com/formencode/formencode/commit/98e9e97e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 16 21:00:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.1.0:
|
||||
* Add support for Python 3.7 to 3.12, end support for older Python
|
||||
versions
|
||||
* Context.set() now works as a context manager
|
||||
* Fix binary of swedish translation
|
||||
* Some internal code cleanup and modernization
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 02:48:07 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Clean up Python 2 leftovers.
|
||||
- Switch to pyproject macros.
|
||||
- Drop BuildRequires on setuptools_scm_git_archive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:20:37 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-FormEncode
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,25 +16,33 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-FormEncode
|
||||
Version: 2.1.1
|
||||
Version: 2.0.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
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
Group: Development/Languages/Python
|
||||
URL: http://formencode.org
|
||||
Source: https://files.pythonhosted.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
|
||||
BuildRequires: %{python_module dnspython}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pycountry}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm_git_archive}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-formencode = %{version}
|
||||
Obsoletes: %{oldpython}-formencode < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -43,19 +51,21 @@ a declarative form of defining the validation, and decoupled processes
|
||||
for filling and generating forms.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n formencode-%{version}
|
||||
%setup -q -n FormEncode-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_install
|
||||
rm %{buildroot}%{_prefix}/LICENSE.txt
|
||||
# trick find-lang.sh into finding the translation files
|
||||
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{i18n,locale}
|
||||
%python_find_lang FormEncode
|
||||
sed -i s/locale/i18n/ python*-FormEncode.lang
|
||||
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{locale,i18n}
|
||||
# remove misplaced documentation
|
||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/docs
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -71,6 +81,6 @@ python2_flags="--version"
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/formencode
|
||||
%{python_sitelib}/[fF]orm[eE]ncode-%{version}.dist-info
|
||||
%{python_sitelib}/FormEncode-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user