forked from pool/python-FormEncode
Accepting request 1133654 from devel:languages:python
- 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/request/show/1133654 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-FormEncode?expand=0&rev=19
This commit is contained in:
commit
894b24c5a4
BIN
FormEncode-2.0.1.tar.gz
(Stored with Git LFS)
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
BIN
FormEncode-2.1.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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>
|
Tue Jul 18 02:48:07 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-FormEncode
|
Name: python-FormEncode
|
||||||
Version: 2.0.1
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: HTML form validation, generation, and conversion package
|
Summary: HTML form validation, generation, and conversion package
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module dnspython}
|
BuildRequires: %{python_module dnspython}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@ -52,14 +52,12 @@ for filling and generating forms.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
rm %{buildroot}%{_prefix}/LICENSE.txt
|
|
||||||
# trick find-lang.sh into finding the translation files
|
# trick find-lang.sh into finding the translation files
|
||||||
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{i18n,locale}
|
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{i18n,locale}
|
||||||
%python_find_lang FormEncode
|
%python_find_lang FormEncode
|
||||||
sed -i s/locale/i18n/ python*-FormEncode.lang
|
sed -i s/locale/i18n/ python*-FormEncode.lang
|
||||||
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{locale,i18n}
|
%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{locale,i18n}
|
||||||
# remove misplaced documentation
|
# remove misplaced documentation
|
||||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/docs
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user