Hello community, here is the log from the commit of package python-mutagen for openSUSE:Factory checked in at 2019-02-08 13:46:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old) and /work/SRC/openSUSE:Factory/.python-mutagen.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mutagen" Fri Feb 8 13:46:41 2019 rev:33 rq:671890 version:1.42.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes 2019-01-08 12:16:39.593028066 +0100 +++ /work/SRC/openSUSE:Factory/.python-mutagen.new.28833/python-mutagen.changes 2019-02-08 13:46:43.398810598 +0100 @@ -1,0 +2,6 @@ +Tue Feb 5 08:39:55 UTC 2019 - Antonio Larrosa <alarr...@suse.com> + +- Add 0001-pycodestyle-fix-new-warnings.patch from upstream to fix a + pep8 error in the tests that makes the package fail to build. + +------------------------------------------------------------------- New: ---- 0001-pycodestyle-fix-new-warnings.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mutagen.spec ++++++ --- /var/tmp/diff_new_pack.YQZghU/_old 2019-02-08 13:46:44.366810298 +0100 +++ /var/tmp/diff_new_pack.YQZghU/_new 2019-02-08 13:46:44.374810296 +0100 @@ -27,6 +27,8 @@ Source: https://files.pythonhosted.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz # PATCH-FIX-OPENSUSE reduce-test-length.diff alarr...@suse.com -- Reduce the number of iterations so tests don't take so long to finish Patch0: reduce-test-length.diff +# PATCH-FIX-UPSTREAM 0001-pycodestyle-fix-new-warnings.patch alarr...@suse.com -- Fix pep8 test +Patch1: 0001-pycodestyle-fix-new-warnings.patch BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pycodestyle} BuildRequires: %{python_module pyflakes} @@ -49,6 +51,7 @@ %prep %setup -q -n mutagen-%{version} %patch0 -p1 +%patch1 -p1 # remove shebangs from library files find mutagen/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';' ++++++ 0001-pycodestyle-fix-new-warnings.patch ++++++ >From 0ee86ef9d7e06639a388d0638732810b79998608 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christ...@gmail.com> Date: Tue, 29 Jan 2019 18:47:16 +0100 Subject: [PATCH] pycodestyle: fix new warnings --- mutagen/id3/_id3v1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutagen/id3/_id3v1.py b/mutagen/id3/_id3v1.py index cd303a6..40aded2 100644 --- a/mutagen/id3/_id3v1.py +++ b/mutagen/id3/_id3v1.py @@ -147,8 +147,8 @@ def fix(data): elif frame_class["TDRC"]: frames["TDRC"] = frame_class["TDRC"](encoding=0, text=year) if comment and frame_class["COMM"]: - frames["COMM"] = frame_class["COMM"]( - encoding=0, lang="eng", desc="ID3v1 Comment", text=comment) + frames["COMM"] = frame_class["COMM"]( + encoding=0, lang="eng", desc="ID3v1 Comment", text=comment) # Don't read a track number if it looks like the comment was # padded with spaces instead of nulls (thanks, WinAmp).