1
0

- 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
  * The method field_is_empty was added to

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=31
This commit is contained in:
Dirk Mueller 2023-12-16 21:00:57 +00:00 committed by Git OBS Bridge
parent e30b180c4f
commit 253a827c64
4 changed files with 16 additions and 8 deletions

BIN
FormEncode-2.0.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
FormEncode-2.1.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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>
@ -142,7 +152,7 @@ Mon Aug 5 13:25:42 UTC 2013 - hpj@urpla.net
Mon Jun 10 12:28:02 UTC 2013 - dmueller@suse.com
- update to 1.2.5:
* The method field_is_empty was added to
* The method field_is_empty was added to
formencode.validators.FormValidator
* Fix packaging issue with i18n files (from Juliusz Gonera)

View File

@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-FormEncode
Version: 2.0.1
Version: 2.1.0
Release: 0
Summary: HTML form validation, generation, and conversion package
License: Python-2.0
Group: Development/Languages/Python
URL: http://formencode.org
URL: https://formencode.org
Source: https://files.pythonhosted.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
BuildRequires: %{python_module dnspython}
BuildRequires: %{python_module pip}
@ -52,14 +52,12 @@ for filling and generating forms.
%install
%pyproject_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