Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2017-10-10 11:42:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-WTForms (Old)
 and      /work/SRC/openSUSE:Factory/.python-WTForms.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-WTForms"

Tue Oct 10 11:42:20 2017 rev:3 rq:520563 version:2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes    
2015-05-19 23:47:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new/python-WTForms.changes       
2017-10-10 11:42:23.093056753 +0200
@@ -1,0 +2,19 @@
+Sat Sep  2 16:47:57 UTC 2017 - jeng...@inai.de
+
+- Don't let description assume any particular user.
+
+-------------------------------------------------------------------
+Thu Aug 31 16:26:15 UTC 2017 - toddrme2...@gmail.com
+
+- Update to version 2.1
+  * Added `render_kw` to allow default rendering time options.
+  * Updated / added a number of localizations
+  * Updated docs
+  * Allow widgets to set flags
+
+-------------------------------------------------------------------
+Thu Aug 24 13:57:47 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -103,0 +123 @@
+

Old:
----
  WTForms-2.0.2.zip

New:
----
  WTForms-2.1.zip

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

Other differences:
------------------
++++++ python-WTForms.spec ++++++
--- /var/tmp/diff_new_pack.IQGNnG/_old  2017-10-10 11:42:24.029015673 +0200
+++ /var/tmp/diff_new_pack.IQGNnG/_new  2017-10-10 11:42:24.029015673 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WTForms
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,51 +16,54 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_with     test
 Name:           python-WTForms
-Version:        2.0.2
+Version:        2.1
 Release:        0
-Url:            http://wtforms.simplecodes.com/
 Summary:        A flexible forms validation and rendering library for Python 
web development
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/W/WTForms/WTForms-%{version}.zip
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Url:            http://wtforms.simplecodes.com/
+Source:         
https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
-
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-BuildRequires:  python-ordereddict
-Requires:       python-ordereddict
-Recommends:     python-django
-Recommends:     python-google-appengine
+%if %{with test}
+BuildRequires:  python3-Babel
+BuildRequires:  python3-Django
+BuildRequires:  python3-SQLAlchemy
+BuildRequires:  python3-python-dateutil
+%endif
+Recommends:     python-Babel
+Recommends:     python-Django
 Recommends:     python-SQLAlchemy
-%else
+Recommends:     python-python-dateutil
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 WTForms is a forms validation and rendering library for Python web development.
-With WTForms, your form field HTML can be generated for you, but we let you 
customize it in your templates. 
-This allows you to maintain separation of code and presentation, and keep 
those messy parameters out of your python code. 
-Because we strive for loose coupling, you should be able to do that in any 
templating engine you like, as well.
+With WTForms, form field HTML can be generated and be customized with 
templates.
+This allows to maintain separation of code and presentation, and keep those 
parameters out of Python code.
+Because of this loose coupling, any template engine may be used for this.
 
-%package doc
+%package -n %{name}-doc
 Summary:        Documentation for WTForms
 Group:          Documentation/HTML
 Requires:       %{name} = %{version}
 
-%description doc
-Documentation of WTForms is a forms validation and rendering library for 
Python web development.
+%description -n %{name}-doc
+Documentation for WTForms, which is a forms validation and rendering library 
for Python web development.
 
 %package lang
 Summary:        Languages for package %{name}
 Group:          System/Localization
 Requires:       %{name} = %{version}
-Provides:       %{name}-lang-all = %{version}
 Supplements:    packageand(bundle-lang-other:%{name})
+Provides:       %{name}-lang-all = %{version}
 
 %description lang
 Provides translations to the package %{name}
@@ -71,28 +74,39 @@
 rm -rf docs/html/.buildinfo # Remove junk
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 %find_lang wtforms
-%fdupes %{buildroot}%{_prefix}
+%python_expand grep -F "%{$python_sitelib}" wtforms.lang > 
wtforms_%{$python_bin_suffix}.lang
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
-python setup.py -q test
+%python_exec setup.py test
+%endif
+
+%files %{python_files}
+%defattr(-,root,root,-)
+%doc AUTHORS.txt CHANGES.rst LICENSE.txt README.md
+%{python_sitelib}/*
+%exclude %{python_sitelib}/wtforms/locale
 
-%files doc
+%files -n %{name}-doc
 %defattr(-,root,root,-)
 %doc docs/html
 
-%files lang -f wtforms.lang
+%if %have_python2 && ! 0%{?skip_python2}
+%files -n %{python2_prefix}-WTForms-lang -f wtforms_%{python2_bin_suffix}.lang
 %defattr(-,root,root,-)
-%{python_sitelib}/wtforms/locale
+%{python2_sitelib}/wtforms/locale
+%endif
 
-%files
+%if %have_python2 && ! 0%{?skip_python3}
+%files -n %{python3_prefix}-WTForms-lang -f wtforms_%{python3_bin_suffix}.lang
 %defattr(-,root,root,-)
-%exclude %{python_sitelib}/wtforms/locale
-%{python_sitelib}/*
-%doc AUTHORS.txt CHANGES.rst LICENSE.txt README.md
+%{python3_sitelib}/wtforms/locale
+%endif
 
 %changelog


Reply via email to