From 253a827c64a51523478d6a188ab735f9a8622baa1618edcd0013ac7b5bd4cf85 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Dec 2023 21:00:57 +0000 Subject: [PATCH] - 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 --- FormEncode-2.0.1.tar.gz | 3 --- FormEncode-2.1.0.tar.gz | 3 +++ python-FormEncode.changes | 12 +++++++++++- python-FormEncode.spec | 6 ++---- 4 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 FormEncode-2.0.1.tar.gz create mode 100644 FormEncode-2.1.0.tar.gz diff --git a/FormEncode-2.0.1.tar.gz b/FormEncode-2.0.1.tar.gz deleted file mode 100644 index aa5f1ff..0000000 --- a/FormEncode-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f2974112c2557839d5bae8b76490104c03830785d923abbdef148bf3f710035 -size 256130 diff --git a/FormEncode-2.1.0.tar.gz b/FormEncode-2.1.0.tar.gz new file mode 100644 index 0000000..407f2d4 --- /dev/null +++ b/FormEncode-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb74d223078a28cf015fa88966c6e34f2d18d75127318d65c144bed9afc4263f +size 277757 diff --git a/python-FormEncode.changes b/python-FormEncode.changes index ffee3ce..089d05d 100644 --- a/python-FormEncode.changes +++ b/python-FormEncode.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Dec 16 21:00:19 UTC 2023 - Dirk Müller + +- 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 @@ -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) diff --git a/python-FormEncode.spec b/python-FormEncode.spec index 81ef7a2..36e5aac 100644 --- a/python-FormEncode.spec +++ b/python-FormEncode.spec @@ -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