Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2017-03-31 15:01:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and      /work/SRC/openSUSE:Factory/.python-mutagen.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mutagen"

Fri Mar 31 15:01:59 2017 rev:26 rq:482011 version:1.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes    
2016-08-22 13:59:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes       
2017-03-31 15:02:01.979616273 +0200
@@ -1,0 +2,61 @@
+Wed Mar 22 14:58:43 UTC 2017 - tbecht...@suse.com
+
+- Use files.pythonhosted.org for Source url
+
+-------------------------------------------------------------------
+Thu Mar 16 13:14:53 UTC 2017 - alarr...@suse.com
+
+- update to version 1.37:
+  * Relicense "GPLv2" → "GPLv2 or later" :bug:`291`
+  * DSF: add `mutagen.dsf` module for DSF (DSD Stream File) support
+    :pr:`283` (Boris Pruessmann)
+  * MP3: Add `mp3.MPEGInfo.encoder_settings` containing a guess of the encoder
+    settings used, for example ``"-V2"`` for LAME :bug:`66`
+  * ID3: add iTunes movement related frames `id3.MVIN` and `id3.MVNM`
+  * MP4: support ``©mvi``, ``©mvc``, ``shwm``, ``stik``, ``rtng``, ``tves``,
+    ``tvsn``, ``plID``, ``cnID``, ``geID``, ``atID``, ``sfID``, ``cmID``,
+    ``akID`` :bug:`130`
+- update to version 1.36.3:
+  * MP3: fix error with xing frames without a frame count :bug:`292`
+- Run spec file through spec-cleaner
+
+-------------------------------------------------------------------
+Wed Jan 25 14:31:30 UTC 2017 - alarr...@suse.com
+
+- update to version 1.36.2:
+  * ID3: Always write little endian utf-16 with BOM.
+    Fixes tests on big endian machines :pr:`289`
+- update to version 1.36.1:
+  * Support GAE runtime :bug:`286`
+  * FLAC: Fix crash when loading files with zero samples :bug:`287`
+  * MP3: Handle broken lame tags written by older lame versions
+- update to version 1.36:
+  * ID3: Ignore trailing empty values for v2.3 text frames :bug:`276`
+  * ID3: Write large APIC frames last :bug:`278`
+  * EasyID3: support saving as v2.3 :bug:`188`
+  * FLAC: Add StreamInfo.bitrate :bug:`279`
+  * mid3cp: Add ``--merge`` option :bug:`277`
+  * MP4: Allow loading files without audio tracks :bug:`272`
+- update to version 1.35.1:
+  * Revert back to distutils :bug:`273`
+- update to version 1.35:
+  * Tests: Require pytest
+  * Tools: Install .exe launchers on Windows
+  * setup.py: Require setuptools
+  * ID3:
+    * Fix loading files with CRM frames :bug:`239`
+    * Fix loading AENC, LINK, GRID frames with no payload
+    * Merge duplicate text frames with same key on load :bug:`172`
+    * Allow parsing of duplicate APIC frames :bug:`172`
+    * Parse utf-16 text fields with missing BOM :bug:`267`
+    * Increase max resyncs for the mpeg frame search :bug:`268`
+- Add fix-tests-tools-names.diff. This fixes the tests to run
+  successfully since they try to extract the module name from the tool
+  name, but we changed the tools names so they can be co-installed
+  with the python2 version of the tools, so we have to remove the
+  "-3" suffix before importing the modules.
+- Fix update-alternatives execution as mutagen-inspect and mutagen-pony
+  binaries had manpage suffixes so alternative links were not created.
+- Drop fix_SynchronizedTextSpec_test_on_BE.patch (upstream included it).
+
+-------------------------------------------------------------------

Old:
----
  fix_SynchronizedTextSpec_test_on_BE.patch
  mutagen-1.31.tar.gz

New:
----
  fix-tests-tools-names.diff
  mutagen-1.37.tar.gz

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

Other differences:
------------------
++++++ python-mutagen.spec ++++++
--- /var/tmp/diff_new_pack.lihoz6/_old  2017-03-31 15:02:02.763505459 +0200
+++ /var/tmp/diff_new_pack.lihoz6/_new  2017-03-31 15:02:02.767504893 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2016 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,26 +16,27 @@
 #
 
 
+%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()")}
+%else
+BuildArch:      noarch
+%endif
 Name:           python-mutagen
-Version:        1.31
+Version:        1.37
 Release:        0
 Summary:        Python module to Handle Audio Metadata
-License:        GPL-2.0
+License:        GPL-2.0+
 Group:          Development/Libraries/Python
 Url:            https://pypi.python.org/pypi/mutagen
-Source:         
https://pypi.python.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
-Patch1:         fix_SynchronizedTextSpec_test_on_BE.patch
+Source:         
https://files.pythonhosted.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE fix-tests-tools-names.diff -- Undo the alternate-names of 
the tools when importing the modules so tests build successfully.
+Patch0:         fix-tests-tools-names.diff
 BuildRequires:  python-devel
 BuildRequires:  python-pytest
 BuildRequires:  python-setuptools
 Requires(post):        update-alternatives
 Requires(preun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%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()")}
-%else
-BuildArch:      noarch
-%endif
 
 %description
 Mutagen is a Python module to handle audio metadata. It supports FLAC,
@@ -48,7 +49,7 @@
 
 %prep
 %setup -q -n mutagen-%{version}
-%patch1 -p1
+%patch0 -p1
 # remove shebangs from library files
 find mutagen/ -name "*.py" -exec sed -i -e 
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
@@ -75,13 +76,13 @@
 done
 
 %post
-%_sbindir/update-alternatives \
+%{_sbindir}/update-alternatives \
    --install %{_bindir}/mid3cp mid3cp %{_bindir}/mid3cp-%{py_ver} 30 \
    --slave %{_bindir}/mid3iconv mid3iconv %{_bindir}/mid3iconv-%{py_ver} \
    --slave %{_bindir}/mid3v2 mid3v2 %{_bindir}/mid3v2-%{py_ver} \
    --slave %{_bindir}/moggsplit moggsplit %{_bindir}/moggsplit-%{py_ver} \
-   --slave %{_bindir}/mutagen-inspect mutagen-inspect 
%{_bindir}/mutagen-inspect-%{py_ver}.1.gz \
-   --slave %{_bindir}/mutagen-pony mutagen-pony 
%{_bindir}/mutagen-pony-%{py_ver}.1.gz \
+   --slave %{_bindir}/mutagen-inspect mutagen-inspect 
%{_bindir}/mutagen-inspect-%{py_ver} \
+   --slave %{_bindir}/mutagen-pony mutagen-pony 
%{_bindir}/mutagen-pony-%{py_ver} \
    --slave %{_mandir}/man1/mid3cp.1.gz mid3cp.1.gz 
%{_mandir}/man1/mid3cp-%{py_ver}.1.gz \
    --slave %{_mandir}/man1/mid3iconv.1.gz mid3iconv.1.gz 
%{_mandir}/man1/mid3iconv-%{py_ver}.1.gz \
    --slave %{_mandir}/man1/mid3v2.1.gz mid3v2.1.gz 
%{_mandir}/man1/mid3v2-%{py_ver}.1.gz \
@@ -91,7 +92,7 @@
 
 %preun
 if [ $1 -eq 0 ] ; then
-    %_sbindir/update-alternatives --remove mid3cp %{_bindir}/mid3cp-%{py_ver}
+    %{_sbindir}/update-alternatives --remove mid3cp %{_bindir}/mid3cp-%{py_ver}
 fi
 
 %check
@@ -121,18 +122,18 @@
 %ghost %{_sysconfdir}/alternatives/moggsplit
 %ghost %{_sysconfdir}/alternatives/mutagen-inspect
 %ghost %{_sysconfdir}/alternatives/mutagen-pony
-%{_mandir}/man1/mid3cp.1.gz
-%{_mandir}/man1/mid3iconv.1.gz
-%{_mandir}/man1/mid3v2.1.gz
-%{_mandir}/man1/moggsplit.1.gz
-%{_mandir}/man1/mutagen-inspect.1.gz
-%{_mandir}/man1/mutagen-pony.1.gz
-%{_mandir}/man1/mid3cp-%{py_ver}.1.gz
-%{_mandir}/man1/mid3iconv-%{py_ver}.1.gz
-%{_mandir}/man1/mid3v2-%{py_ver}.1.gz
-%{_mandir}/man1/moggsplit-%{py_ver}.1.gz
-%{_mandir}/man1/mutagen-inspect-%{py_ver}.1.gz
-%{_mandir}/man1/mutagen-pony-%{py_ver}.1.gz
+%{_mandir}/man1/mid3cp.1%{ext_man}
+%{_mandir}/man1/mid3iconv.1%{ext_man}
+%{_mandir}/man1/mid3v2.1%{ext_man}
+%{_mandir}/man1/moggsplit.1%{ext_man}
+%{_mandir}/man1/mutagen-inspect.1%{ext_man}
+%{_mandir}/man1/mutagen-pony.1%{ext_man}
+%{_mandir}/man1/mid3cp-%{py_ver}.1%{ext_man}
+%{_mandir}/man1/mid3iconv-%{py_ver}.1%{ext_man}
+%{_mandir}/man1/mid3v2-%{py_ver}.1%{ext_man}
+%{_mandir}/man1/moggsplit-%{py_ver}.1%{ext_man}
+%{_mandir}/man1/mutagen-inspect-%{py_ver}.1%{ext_man}
+%{_mandir}/man1/mutagen-pony-%{py_ver}.1%{ext_man}
 %ghost %{_sysconfdir}/alternatives/mid3cp.1.gz
 %ghost %{_sysconfdir}/alternatives/mid3iconv.1.gz
 %ghost %{_sysconfdir}/alternatives/mid3v2.1.gz

++++++ fix-tests-tools-names.diff ++++++
Index: mutagen-1.36.1/tests/test_tools.py
===================================================================
--- mutagen-1.36.1.orig/tests/test_tools.py
+++ mutagen-1.36.1/tests/test_tools.py
@@ -12,7 +12,7 @@ from tests import TestCase
 
 def get_var(tool_name, entry="main"):
     mod = importlib.import_module(
-        "mutagen._tools.%s" % tool_name.replace("-", "_"))
+        "mutagen._tools.%s" % tool_name.replace("-", 
"_")[:tool_name.find('-2')])
     return getattr(mod, entry)
 
 
++++++ mutagen-1.31.tar.gz -> mutagen-1.37.tar.gz ++++++
++++ 29230 lines of diff (skipped)


Reply via email to