Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2019-07-30 12:38:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-WTForms (Old)
 and      /work/SRC/openSUSE:Factory/.python-WTForms.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-WTForms"

Tue Jul 30 12:38:55 2019 rev:5 rq:719691 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes    
2018-12-13 19:45:22.976939278 +0100
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new.4126/python-WTForms.changes  
2019-07-30 12:39:04.266936910 +0200
@@ -1,0 +2,41 @@
+Mon Jul 29 12:02:19 UTC 2019 - pgaj...@suse.com
+
+- version update to 2.2.1
+  * :class:`~fields.StringField` only sets ``data = ''` when form data
+    is empty and an initial value was not provided. This fixes an issue
+    where the default value wasn't rendered with the initial form.
+    (`#291`_, `#355`_, `#401`_)
+  * Merged new and updated translations from the community.
+  * Passing ``data_`` args to render a field converts all the
+    underscores to hyphens when rendering the HTML attribute, not just
+    the first one. ``data_foo_bar`` becomes ``data-foo-bar``. (`#248`_)
+  * The :class:`~validators.UUID` validator uses the :class:`uuid.UUID`
+    class instead of a regex. (`#251`_)
+  * :class:`~fields.SelectField` copies the list of ``choices`` passed
+    to it so modifying an instance's choices will not modify the global
+    form definition. (`#286`_)
+  * Fields call :meth:`~fields.Field.process_formdata` even if the raw
+    data is empty. (`#280`_)
+  * Added a :class:`~fields.MultipleFileField` to handle a multi-file
+    input. :class:`~fields.FileField` continues to handle only one
+    value. The underlying :class:`~widgets.FileInput` widget gained a
+    ``multiple`` argument. (`#281`_)
+  * :class:`~fields.SelectField` choices can contain HTML (MarkupSafe
+    ``Markup`` object or equivalent API) and will be rendered properly.
+    (`#302`_)
+  * :class:`~fields.TimeField` and
+    :class:`html5.TimeField <fields.html5.TimeField>` were added.
+    (`#254`_)
+  * Improved :class:`~validators.Email`. Note that it is still
+    unreasonable to validate all emails with a regex and you should
+    prefer validating by actually sending an email. (`#294`_)
+  * Widgets render the ``required`` attribute when using a validator
+    that provides the ``'required'`` flag, such as
+    :class:`~validators.DataRequired`. (`#361`_)
+  * Fix a compatibility issue with SQLAlchemy 2.1 that caused
+    :class:`~ext.sqlalchemy.fields.QuerySelectField` to fail with
+    ``ValueError: too many values to unpack``. (`#391`_)
+- drop lang packages
+- test package
+
+-------------------------------------------------------------------

Old:
----
  WTForms-2.1.zip

New:
----
  WTForms-2.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-WTForms.spec ++++++
--- /var/tmp/diff_new_pack.l5TE6X/_old  2019-07-30 12:39:04.930936799 +0200
+++ /var/tmp/diff_new_pack.l5TE6X/_new  2019-07-30 12:39:04.930936799 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,30 +17,30 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with     test
 Name:           python-WTForms
-Version:        2.1
+Version:        2.2.1
 Release:        0
 Summary:        A flexible forms validation and rendering library for Python 
web development
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            http://wtforms.simplecodes.com/
-Source:         
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
+Source:         
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 Recommends:     python-Babel
 Recommends:     python-Django
 Recommends:     python-SQLAlchemy
 Recommends:     python-python-dateutil
 BuildArch:      noarch
-%if %{with test}
-BuildRequires:  python3-Babel
-BuildRequires:  python3-Django
-BuildRequires:  python3-SQLAlchemy
-BuildRequires:  python3-python-dateutil
-%endif
+# SECTION test requirements
+BuildRequires:  %{python_module Babel}
+BuildRequires:  %{python_module SQLAlchemy}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module python-dateutil}
+# /SECTION
+Provides:       python-WTForms-lang
+Obsoletes:      python-WTForms-lang
 %python_subpackages
 
 %description
@@ -57,53 +57,31 @@
 %description -n %{name}-doc
 Documentation for WTForms, which is a forms validation and rendering library 
for Python web development.
 
-%package lang
-# FIXME: consider using %%lang_package macro
-Summary:        Languages for package %{name}
-Group:          System/Localization
-Requires:       %{name} = %{version}
-Supplements:    packageand(bundle-lang-other:%{name})
-Provides:       %{name}-lang-all = %{version}
-
-%description lang
-Provides translations to the package %{name}
-
 %prep
 %setup -q -n WTForms-%{version}
-sed -i "s/\r//" CHANGES.rst docs/html/_static/jquery.js # Fix wrong 
EOL-encoding
-rm -rf docs/html/.buildinfo # Remove junk
 
 %build
 %python_build
+# Fix wrong EOL-encoding
+sed -i "s/\r//" CHANGES.rst 
+# remove reference to ../CHANGES.rst
+rm docs/changes.rst
 
 %install
 %python_install
-%find_lang wtforms
-%python_expand grep -F "%{$python_sitelib}" wtforms.lang > 
wtforms_%{$python_bin_suffix}.lang
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-%python_exec setup.py test
-%endif
+pushd tests
+%python_expand $python runtests.py
+popd
 
 %files %{python_files}
-%license LICENSE.txt
-%doc AUTHORS.txt CHANGES.rst README.md
+%license LICENSE.rst
+%doc AUTHORS.rst CHANGES.rst README.rst
 %{python_sitelib}/*
-%exclude %{python_sitelib}/wtforms/locale
 
 %files -n %{name}-doc
-%doc docs/html
-
-%if %{have_python2} && ! 0%{?skip_python2}
-%files -n %{python2_prefix}-WTForms-lang -f wtforms_%{python2_bin_suffix}.lang
-%{python2_sitelib}/wtforms/locale
-%endif
-
-%if %{have_python2} && ! 0%{?skip_python3}
-%files -n %{python3_prefix}-WTForms-lang -f wtforms_%{python3_bin_suffix}.lang
-%{python3_sitelib}/wtforms/locale
-%endif
+%doc docs/*.rst
 
 %changelog


Reply via email to