Hello community, here is the log from the commit of package python-polib for openSUSE:Factory checked in at 2017-12-04 12:17:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-polib (Old) and /work/SRC/openSUSE:Factory/.python-polib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-polib" Mon Dec 4 12:17:04 2017 rev:20 rq:548032 version:1.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-polib/python-polib.changes 2017-05-06 18:27:30.501371441 +0200 +++ /work/SRC/openSUSE:Factory/.python-polib.new/python-polib.changes 2017-12-04 12:17:16.262640862 +0100 @@ -1,0 +2,8 @@ +Mon Dec 4 08:41:02 UTC 2017 - [email protected] + +- Add upstream patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff + * Fixed test for mo files that was failing because since gettext + version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata + entry. + +------------------------------------------------------------------- New: ---- 2a4caf09e210554018bf0e928690d9617ff89e00.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-polib.spec ++++++ --- /var/tmp/diff_new_pack.Osu0XW/_old 2017-12-04 12:17:16.882618352 +0100 +++ /var/tmp/diff_new_pack.Osu0XW/_new 2017-12-04 12:17:16.886618208 +0100 @@ -28,11 +28,13 @@ License: MIT Group: Development/Languages/Python Source0: https://files.pythonhosted.org/packages/source/p/polib/polib-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://bitbucket.org/izi/polib/commits/2a4caf09e210554018bf0e928690d9617ff89e00 +Patch0: 2a4caf09e210554018bf0e928690d9617ff89e00.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-Sphinx BuildArch: noarch %python_subpackages @@ -66,6 +68,7 @@ %prep %setup -q -n polib-%{version} +%patch0 -p1 %build %python_build ++++++ 2a4caf09e210554018bf0e928690d9617ff89e00.diff ++++++ diff --git a/tests/test_iso-8859-15.po b/tests/test_iso-8859-15.po index a26d7d6..da453ee 100644 --- a/tests/test_iso-8859-15.po +++ b/tests/test_iso-8859-15.po @@ -3,7 +3,6 @@ msgid "" msgstr "" "Project-Id-Version: Vim(Fran�ais)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-05-01 19:42+0200\n" "PO-Revision-Date: 2006-05-02 14:15+0200\n" "Last-Translator: David Blanchet <[email protected]>\n" "Language-Team: Adrien Beau <[email protected]>\n" diff --git a/tests/test_utf8.po b/tests/test_utf8.po index 0ae3c0b..ebbda67 100644 --- a/tests/test_utf8.po +++ b/tests/test_utf8.po @@ -6,7 +6,6 @@ msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-08-17 15:35-0400\n" "PO-Revision-Date: 2007-07-14 13:00-0500\n" "Last-Translator: Mario Gonzalez <gonzalemario @t gmail.com>\n" "Language-Team: Castellano <[email protected]>\n" diff --git a/tests/tests.py b/tests/tests.py index 9d82461..d2f0f3a 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -304,15 +304,15 @@ msgstr "" def test_linenum_1(self): po = polib.pofile('tests/test_utf8.po') - self.assertEqual(po[0].linenum, 18) + self.assertEqual(po[0].linenum, 17) def test_linenum_2(self): po = polib.pofile('tests/test_utf8.po') - self.assertEqual(po.find('XML text').linenum, 1799) + self.assertEqual(po.find('XML text').linenum, 1798) def test_linenum_3(self): po = polib.pofile('tests/test_utf8.po') - self.assertEqual(po[-1].linenum, 3478) + self.assertEqual(po[-1].linenum, 3477) def test_windows_path_occurrences(self): po = polib.pofile('tests/test_weird_occurrences.po')
