Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-WTForms for openSUSE:Factory 
checked in at 2021-09-07 21:21:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-WTForms (Old)
 and      /work/SRC/openSUSE:Factory/.python-WTForms.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-WTForms"

Tue Sep  7 21:21:30 2021 rev:8 rq:917204 version:2.3.3+git.1621448902.a55be54

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WTForms/python-WTForms.changes    
2021-06-06 22:40:35.419387934 +0200
+++ /work/SRC/openSUSE:Factory/.python-WTForms.new.1899/python-WTForms.changes  
2021-09-07 21:22:11.353358646 +0200
@@ -1,0 +2,13 @@
+Mon Sep  6 17:16:46 UTC 2021 - Antonio Larrosa <[email protected]>
+
+- Put translated catalogs in -lang subpackages for each python
+  flavor.
+
+-------------------------------------------------------------------
+Fri Sep  3 10:25:00 UTC 2021 - Antonio Larrosa <[email protected]>
+
+- Build the translations catalogs so builtin messages can be
+  translated (this is needed to run the test_wtform_xlation test
+  in python-Flask-Security-Too 4.1.0)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-WTForms.spec ++++++
--- /var/tmp/diff_new_pack.WQ2opH/_old  2021-09-07 21:22:11.821359211 +0200
+++ /var/tmp/diff_new_pack.WQ2opH/_new  2021-09-07 21:22:11.821359211 +0200
@@ -43,8 +43,6 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module python-dateutil}
 # /SECTION
-Provides:       python-WTForms-lang = %{version}-%{release}
-Obsoletes:      python-WTForms-lang < %{version}
 %python_subpackages
 
 %description
@@ -59,10 +57,23 @@
 %description -n %{name}-doc
 Documentation for WTForms, which is a forms validation and rendering library 
for Python web development.
 
+%package lang
+Summary:        Translations for builtin WTForms messages
+Group:          System/Localization
+Requires:       %{name} = %{version}
+Provides:       python-WTForms-lang = %{version}
+Obsoletes:      python-WTForms-lang < %{version}
+
+%description lang
+Translations for builtin WTForms messages.
+
+WTForms is a forms validation and rendering library for Python web development.
+
 %prep
 %autosetup -p1 -n wtforms-%{version}
 
 %build
+%python_exec setup.py compile_catalog
 %python_build
 # Fix wrong EOL-encoding
 sed -i "s/\r//" CHANGES.rst
@@ -72,6 +83,7 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_find_lang wtforms
 
 %check
 # Excluded tests because of gh#wtforms/wtforms#697
@@ -81,8 +93,12 @@
 %license LICENSE.rst
 %doc CHANGES.rst README.rst
 %{python_sitelib}/*
+%exclude %{python_sitelib}/wtforms/locale
 
 %files -n %{name}-doc
 %doc docs/*.rst
 
+%files %{python_files lang} -f %{python_prefix}-wtforms.lang
+%{python_sitelib}/wtforms/locale
+
 %changelog

Reply via email to