commit python-mutagen for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2020-10-29 09:45:42

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new.3463 (New)


Package is "python-mutagen"

Thu Oct 29 09:45:42 2020 rev:37 rq:835174 version:1.45.1

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2020-04-19 21:48:26.211956422 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new.3463/python-mutagen.changes  
2020-10-29 09:46:01.152039001 +0100
@@ -1,0 +2,27 @@
+Thu Sep 17 11:36:48 UTC 2020 - Dirk Mueller 
+
+- update to 1.45.1:
+  * Fix flake8 tests when run after calling ``setup.py build`` :bug:`482`
+  * No longer use mmap when rewriting files. Fixes slow save performance with 
Windows network shares, ZFS and more :pr:`483` :pr:`484`
+  * WAVE support with ID3 tags :pr:`408` (:user:`Philipp Wolfer `, 
:user:`Borewit`)
+  * DSDIFF support with ID3 tags :pr:`473` :pr:`472` (:user:`Philipp Wolfer 
`)
+  * MP4: Add support for nero chapters :pr:`398` (:user:`Martin Weinelt 
`)
+  * wavpack: add support for wavpack DSD :pr:`464` (:user:`Timothy Redaelli 
`)
+  * wavpack: add bits_per_sample :pr:`467` (:user:`Timothy Redaelli `)
+  * MP4: handle DecoderSpecificInfo with wrong instance size :pr:`465`
+  * docs: various fixes :pr:`461` (:user:`Terence Eden `), :pr:`474` 
(:user:`naglis`)
+  * tests: depend on flake8 now (instead of pycodestyle and pyflakes)
+  * docs: fix warnings with sphinx v3
+  * Fuzzing integration with `python-afl 
`__ :pr:`449`
+  * Fix various unhandled error cases in ogg, asf, oggvorbis, id3 :pr:`441`, 
:pr:`445`, :pr:`446`, :pr:`447`, :pr:`448`, :pr:`454` (:user:`Julien Voisin 
`)
+  * aac: Fix ZeroDivisionError in case frequency is unknown
+  * musepack: handle truncated stream header
+  * musepack: handle invalid sample rate index
+  * musepack: handle duplicate RG/SH packets
+  * oggtheora: handle truncated header packet
+  * oggtheora: fail if FRN in the header packet is zero
+  * oggtheora: handle empty pages in more cases
+  * ogg: handle empty pages in to_packets()
+  * aiff: handle overflow in read_float() :pr:`456`
+
+---

Old:

  mutagen-1.44.0.tar.gz

New:

  mutagen-1.45.1.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.EVdrf1/_old  2020-10-29 09:46:02.780040538 +0100
+++ /var/tmp/diff_new_pack.EVdrf1/_new  2020-10-29 09:46:02.784040542 +0100
@@ -20,7 +20,7 @@
 # Exception: Python 2 no longer supported
 %define skip_python2 1
 Name:   python-mutagen
-Version:1.44.0
+Version:1.45.1
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0-or-later

++ mutagen-1.44.0.tar.gz -> mutagen-1.45.1.tar.gz ++
 9017 lines of diff (skipped)




commit python-mutagen for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2020-04-19 21:48:17

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new.2738 (New)


Package is "python-mutagen"

Sun Apr 19 21:48:17 2020 rev:36 rq:790056 version:1.44.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2020-01-16 18:14:17.952739217 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new.2738/python-mutagen.changes  
2020-04-19 21:48:26.211956422 +0200
@@ -1,0 +2,11 @@
+Tue Mar 31 08:32:31 UTC 2020 - pgaj...@suse.com
+
+- version update to 1.44.0
+  * Python 2 is no longer supported :bug:`410`
+  * mp4: Fix some infinite loops in the mp4 parser :pr:`429` (:user:`Julien 
Voisin `)
+  * flac: Fix pickle support for SeekPoint :pr:`428` (:user:`point-source`)
+  * aiff: Fix a division by zero :pr:`431` (:user:`Julien Voisin `)
+  * asf: Catch a MemoryError :pr:`432` (:user:`Julien Voisin `)
+  * oggtheora: Fix a division by zero :pr:`430` (:user:`Julien Voisin 
`)
+
+---

Old:

  mutagen-1.43.0.tar.gz

New:

  mutagen-1.44.0.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.YB8iQa/_old  2020-04-19 21:48:26.759957521 +0200
+++ /var/tmp/diff_new_pack.YB8iQa/_new  2020-04-19 21:48:26.759957521 +0200
@@ -17,8 +17,10 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# Exception: Python 2 no longer supported
+%define skip_python2 1
 Name:   python-mutagen
-Version:1.43.0
+Version:1.44.0
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0-or-later
@@ -71,8 +73,9 @@
 
 %check
 export LANG=en_US.UTF-8
-#export PATH="$PATH:%%{buildroot}%%{_bindir}"
-%python_exec setup.py test --no-quality
+#~ setup.py test --no-quality
+rm -r tests/quality
+%pytest
 
 %files %{python_files}
 %defattr(-, root, root, 0755)

++ mutagen-1.43.0.tar.gz -> mutagen-1.44.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.43.0/NEWS new/mutagen-1.44.0/NEWS
--- old/mutagen-1.43.0/NEWS 2019-11-17 20:57:29.0 +0100
+++ new/mutagen-1.44.0/NEWS 2020-02-10 08:14:18.0 +0100
@@ -1,3 +1,16 @@
+.. _release-1.44.0:
+
+1.44.0 - 2020-02-10
+---
+
+* Python 2 is no longer supported :bug:`410`
+* mp4: Fix some infinite loops in the mp4 parser :pr:`429` (:user:`Julien 
Voisin `)
+* flac: Fix pickle support for SeekPoint :pr:`428` (:user:`point-source`)
+* aiff: Fix a division by zero :pr:`431` (:user:`Julien Voisin `)
+* asf: Catch a MemoryError :pr:`432` (:user:`Julien Voisin `)
+* oggtheora: Fix a division by zero :pr:`430` (:user:`Julien Voisin `)
+
+
 .. _release-1.43.0:
 
 1.43.0 - 2019-11-17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.43.0/PKG-INFO new/mutagen-1.44.0/PKG-INFO
--- old/mutagen-1.43.0/PKG-INFO 2019-11-17 21:07:11.0 +0100
+++ new/mutagen-1.44.0/PKG-INFO 2020-02-10 08:32:53.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: mutagen
-Version: 1.43.0
+Version: 1.44.0
 Summary: read and write audio tags for many formats
 Home-page: https://github.com/quodlibet/mutagen
 Author: Christoph Reiter
@@ -20,7 +20,7 @@
 MP3s. ID3 and APEv2 tags can be edited regardless of audio format. It 
can also
 manipulate Ogg streams on an individual packet/page level.
 
-Mutagen works with Python 2.7, 3.5+ (CPython and PyPy) on Linux, 
Windows and
+Mutagen works with Python 3.5+ (CPython and PyPy) on Linux, Windows and
 macOS, and has no dependencies outside the Python standard library. 
Mutagen
 is licensed under the GPL version 2 or later.
 
@@ -37,8 +37,6 @@
 
 Platform: UNKNOWN
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
@@ -48,4 +46,4 @@
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: License :: OSI Approved :: GNU General Public License v2 or later 
(GPLv2+)
 Classifier: Topic :: Multimedia :: Sound/Audio
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4
+Requires-Python: >=3.5, <4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.43.0/README.rst 

commit python-mutagen for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2020-01-16 18:14:13

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new.26092 (New)


Package is "python-mutagen"

Thu Jan 16 18:14:13 2020 rev:35 rq:762801 version:1.43.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2019-03-04 09:10:24.932707518 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new.26092/python-mutagen.changes 
2020-01-16 18:14:17.952739217 +0100
@@ -1,0 +2,25 @@
+Fri Jan 10 11:00:26 UTC 2020 - Antonio Larrosa 
+
+- Update to version 1.43.0:
+  * Python 3.4 is no longer supported
+  * Building requires ‘setuptools’ now, CLI tools depend on
+‘pkg_resources’
+  * CLI tools are setuptools entry points now
+  * Fix collections ABCs deprecation warning #pr371
+  * Minor typo fixes #pr375
+  * MP3: increase max initial wrong syncs from 1000 to 1500 #pr376
+  * FLAC: support files with multiple VORBIS_COMMENT blocks like
+libflac #pr378
+  * ID3: Improved TYER/TDAT/TIME upgrade to TDRC #pr385
+  * MP4: Add support for iTunes HD Video tag (hdvd) #pr386
+  * Add AC3 file type #pr400
+  * AIFF: renamed sample_size to bits_per_sample (sample_size still
+works) #pr403
+  * API doc fixes #pr404 #pr407
+  * Add support for Tom’s lossless Audio Kompressor (TAK) #pr405
+  * OptimFROG: support encoder version >= 5.100 #pr406
+  * AIFF: Fix handling of padding bytes, safe chunk manipulation #pr409
+  * Fix typos #pr412
+- Add Requires: python-setuptools since CLI tools now depend on it
+
+---

Old:

  mutagen-1.42.0.tar.gz

New:

  mutagen-1.43.0.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.itKhV7/_old  2020-01-16 18:14:19.280739968 +0100
+++ /var/tmp/diff_new_pack.itKhV7/_new  2020-01-16 18:14:19.284739970 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mutagen
-Version:1.42.0
+Version:1.43.0
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0-or-later
@@ -33,6 +33,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
+Requires:   python-setuptools
 %python_subpackages
 
 %description

++ mutagen-1.42.0.tar.gz -> mutagen-1.43.0.tar.gz ++
 2598 lines of diff (skipped)




commit python-mutagen for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2019-03-04 09:10:19

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new.28833 (New)


Package is "python-mutagen"

Mon Mar  4 09:10:19 2019 rev:34 rq:680397 version:1.42.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2019-02-08 13:46:43.398810598 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new.28833/python-mutagen.changes 
2019-03-04 09:10:24.932707518 +0100
@@ -1,0 +2,7 @@
+Fri Mar  1 09:02:30 UTC 2019 - John Vandenberg 
+
+- Remove unnecessary build dependencies on code style linters,
+  by using upstream provided `setup.py test --no-quality`,
+  discarding 0001-pycodestyle-fix-new-warnings.patch
+
+---

Old:

  0001-pycodestyle-fix-new-warnings.patch



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.3JiI7H/_old  2019-03-04 09:10:26.276707293 +0100
+++ /var/tmp/diff_new_pack.3JiI7H/_new  2019-03-04 09:10:26.280707292 +0100
@@ -27,11 +27,7 @@
 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}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -51,7 +47,6 @@
 %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' {} ';'
 
@@ -76,7 +71,7 @@
 %check
 export LANG=en_US.UTF-8
 #export PATH="$PATH:%%{buildroot}%%{_bindir}"
-%python_exec setup.py test
+%python_exec setup.py test --no-quality
 
 %files %{python_files}
 %defattr(-, root, root, 0755)




commit python-mutagen for openSUSE:Factory

2019-02-08 Thread root
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 
+
+- 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 
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).



commit python-mutagen for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2019-01-08 12:16:38

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new.28833 (New)


Package is "python-mutagen"

Tue Jan  8 12:16:38 2019 rev:32 rq:662312 version:1.42.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2018-12-27 00:27:17.359766297 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new.28833/python-mutagen.changes 
2019-01-08 12:16:39.593028066 +0100
@@ -1,0 +2,9 @@
+Fri Dec 28 03:28:33 UTC 2018 - s...@suspend.net
+
+- update to version 1.42.0:
+  * id3: always read id3v1 tags and include them when no id3v2 exists
+  * id3: add a pretty print implementation for SYLT
+  * vorbis: improved error messages when validating keys/values
+  * Fix pylint warnings when using various save() methods
+
+---

Old:

  mutagen-1.41.0.tar.gz

New:

  mutagen-1.42.0.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.JUy5aF/_old  2019-01-08 12:16:40.129027562 +0100
+++ /var/tmp/diff_new_pack.JUy5aF/_new  2019-01-08 12:16:40.133027558 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mutagen
-Version:1.41.0
+Version:1.42.0
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0-or-later

++ mutagen-1.41.0.tar.gz -> mutagen-1.42.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.41.0/NEWS new/mutagen-1.42.0/NEWS
--- old/mutagen-1.41.0/NEWS 2018-07-16 21:32:50.0 +0200
+++ new/mutagen-1.42.0/NEWS 2018-12-26 14:59:06.0 +0100
@@ -1,3 +1,23 @@
+1.42.0 - 2018-12-26
+---
+
+* ID3: Always read id3v1 tags and include them when no id3v2 equivalent
+  exists. Can be disabled with the new ``load_v1`` option,
+  see :meth:`id3.ID3.load`
+  :pr:`357` (:user:`Fredrik Strupe `)
+* ID3: Add a pretty print implementation for SYLT
+  :pr:`359` (:user:`Hamid Alaei Varnosfaderani `)
+* vorbis: Improved error messages when validating keys/values
+  :pr:`356` (:user:`Michael Booth `)
+* Fix pylint warnings when using the various ``save()`` methods :pr:`364`
+
+
+1.41.1 - 2018-08-11
+---
+
+* MP4: fix rtng, stik, shwm getting saved as 16bit ints instead of 8bit 
:bug:`349`
+
+
 1.41.0 - 2018-07-15
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.41.0/PKG-INFO new/mutagen-1.42.0/PKG-INFO
--- old/mutagen-1.41.0/PKG-INFO 2018-07-16 21:33:14.0 +0200
+++ new/mutagen-1.42.0/PKG-INFO 2018-12-26 14:59:37.0 +0100
@@ -1,11 +1,11 @@
 Metadata-Version: 1.1
 Name: mutagen
-Version: 1.41.0
+Version: 1.42.0
 Summary: read and write audio tags for many formats
 Home-page: https://github.com/quodlibet/mutagen
 Author: Michael Urman
 Author-email: quod-libet-developm...@groups.google.com
-License: GNU GPL v2
+License: GPL-2.0-or-later
 Description: .. image:: 
https://cdn.rawgit.com/quodlibet/mutagen/master/docs/images/logo.svg
:align: center
:width: 400px
@@ -29,8 +29,8 @@
 .. image:: https://travis-ci.org/quodlibet/mutagen.svg?branch=master
 :target: https://travis-ci.org/quodlibet/mutagen
 
-.. image:: 
https://ci.appveyor.com/api/projects/status/d22bslvjvt3r1hv1/branch/master?svg=true
-:target: 
https://ci.appveyor.com/project/lazka/mutagen/branch/master
+.. image:: 
https://dev.azure.com/quodlibet/mutagen/_apis/build/status/quodlibet.mutagen
+:target: 
https://dev.azure.com/quodlibet/mutagen/_build/latest?definitionId=3
 
 .. image:: 
https://codecov.io/gh/quodlibet/mutagen/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/quodlibet/mutagen
@@ -46,5 +46,5 @@
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
+Classifier: License :: OSI Approved :: GNU General Public 

commit python-mutagen for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2018-12-27 00:27:16

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new.28833 (New)


Package is "python-mutagen"

Thu Dec 27 00:27:16 2018 rev:31 rq:659505 version:1.41.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2018-08-08 14:45:34.520770423 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new.28833/python-mutagen.changes 
2018-12-27 00:27:17.359766297 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:50:38 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.Zpyhlu/_old  2018-12-27 00:27:17.835765908 +0100
+++ /var/tmp/diff_new_pack.Zpyhlu/_new  2018-12-27 00:27:17.839765904 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -23,11 +23,10 @@
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0-or-later
 Group:  Development/Libraries/Python
-Url:https://pypi.python.org/pypi/mutagen
+URL:https://pypi.python.org/pypi/mutagen
 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
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pycodestyle}
 BuildRequires:  %{python_module pyflakes}
@@ -35,7 +34,6 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 
@@ -79,7 +77,8 @@
 
 %files %{python_files}
 %defattr(-, root, root, 0755)
-%doc COPYING NEWS README.rst
+%license COPYING
+%doc NEWS README.rst
 %python_alternative %{_bindir}/mid3cp
 %python_alternative %{_bindir}/mid3iconv
 %python_alternative %{_bindir}/mid3v2




commit python-mutagen for openSUSE:Factory

2018-08-08 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2018-08-08 14:45:30

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Wed Aug  8 14:45:30 2018 rev:30 rq:627528 version:1.41.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2018-04-22 14:29:10.719682792 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2018-08-08 14:45:34.520770423 +0200
@@ -1,0 +2,11 @@
+Sun Aug  5 11:08:22 UTC 2018 - adr...@suse.de
+
+- update to version 1.41.0:
+  * Documentation fixes :pr:`342` (:user:`Jakub Wilk `)
+  * mid3v2: Add support for WXXX frames :bug:`344` :bug:`348`
+  * Fix decoding of track_peak from MP3 Info Tag :pr:`345`
+(:user:`Anton Yuzhaninov `)
+  * MonkeysAudio: set bits_per_sample for older files :bug:`347`
+- drop obsolete ignore-W504.patch
+
+---

Old:

  ignore-W504.patch
  mutagen-1.40.0.tar.gz

New:

  mutagen-1.41.0.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.Z4a60X/_old  2018-08-08 14:45:35.348771772 +0200
+++ /var/tmp/diff_new_pack.Z4a60X/_new  2018-08-08 14:45:35.348771772 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mutagen
-Version:1.40.0
+Version:1.41.0
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0-or-later
@@ -27,8 +27,6 @@
 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 ignore-W504.patch alarr...@suse.com -- Ignore PEP8's W504 
which makes tests fail
-Patch1: ignore-W504.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pycodestyle}
@@ -53,7 +51,6 @@
 %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' {} ';'
 

++ mutagen-1.40.0.tar.gz -> mutagen-1.41.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.40.0/NEWS new/mutagen-1.41.0/NEWS
--- old/mutagen-1.40.0/NEWS 2018-01-25 17:09:13.0 +0100
+++ new/mutagen-1.41.0/NEWS 2018-07-16 21:32:50.0 +0200
@@ -1,3 +1,13 @@
+1.41.0 - 2018-07-15
+---
+
+* Documentation fixes :pr:`342` (:user:`Jakub Wilk `)
+* mid3v2: Add support for WXXX frames :bug:`344` :bug:`348`
+* Fix decoding of track_peak from MP3 Info Tag :pr:`345`
+  (:user:`Anton Yuzhaninov `)
+* MonkeysAudio: set bits_per_sample for older files :bug:`347`
+
+
 1.40.0 - 2018-01-25
 ---
 
@@ -630,7 +640,7 @@
 * Bug Fixes:
 
   * FLAC: Raise IOError, instead of UnboundLocalError, when trying
-to open a non-existant file. (Lukáš Lalinský, Debian #448734)
+to open a non-existent file. (Lukáš Lalinský, Debian #448734)
   * Throw out invalid frames when upgrading from 2.3 to 2.4.
   * Fixed reading of Unicode strings from ASF files on big-endian
 platforms.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.40.0/PKG-INFO new/mutagen-1.41.0/PKG-INFO
--- old/mutagen-1.40.0/PKG-INFO 2018-01-25 17:09:43.0 +0100
+++ new/mutagen-1.41.0/PKG-INFO 2018-07-16 21:33:14.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mutagen
-Version: 1.40.0
+Version: 1.41.0
 Summary: read and write audio tags for many formats
 Home-page: https://github.com/quodlibet/mutagen
 Author: Michael Urman
@@ -43,6 +43,7 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.40.0/docs/Makefile 
new/mutagen-1.41.0/docs/Makefile
--- old/mutagen-1.40.0/docs/Makefile2017-05-25 15:49:20.0 +0200
+++ new/mutagen-1.41.0/docs/Makefile2018-07-08 

commit python-mutagen for openSUSE:Factory

2018-04-22 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2018-04-22 14:29:09

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Sun Apr 22 14:29:09 2018 rev:29 rq:596193 version:1.40.0

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2017-11-12 18:00:44.356331174 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2018-04-22 14:29:10.719682792 +0200
@@ -1,0 +2,13 @@
+Thu Apr 12 21:16:26 UTC 2018 - alarr...@suse.com
+
+- Update to version 1.40.0:
+  * APEv2: Ensures tags are saved in a deterministic way
+  * easymp4: Fix EasyMP4.add_tags() when no tags exist
+  * id3: Fix PyCharm not being able to resolve id3 frame class references
+  * Support pathlib.Path objects for paths (PEP 519)
+  * Use semver for versioning
+
+- Add ignore-W504.patch to ignore PEP8's W504 messages which make the pep8
+  test fail.
+
+---

Old:

  mutagen-1.39.tar.gz

New:

  ignore-W504.patch
  mutagen-1.40.0.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.UaPExy/_old  2018-04-22 14:29:11.367659338 +0200
+++ /var/tmp/diff_new_pack.UaPExy/_new  2018-04-22 14:29:11.367659338 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,15 +18,17 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mutagen
-Version:1.39
+Version:1.40.0
 Release:0
 Summary:Python module to Handle Audio Metadata
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Libraries/Python
 Url:https://pypi.python.org/pypi/mutagen
 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 ignore-W504.patch alarr...@suse.com -- Ignore PEP8's W504 
which makes tests fail
+Patch1: ignore-W504.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pycodestyle}
@@ -51,6 +53,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' {} ';'
 

++ ignore-W504.patch ++
Index: mutagen-1.40.0/setup.cfg
===
--- mutagen-1.40.0.orig/setup.cfg
+++ mutagen-1.40.0/setup.cfg
@@ -6,6 +6,6 @@ omit=
 mutagen/_senf/*
 
 [flake8]
-ignore=E128,W601,E402,E731,W503,E741,E305,E121,E124
+ignore=E128,W601,E402,E731,W503,E741,E305,E121,E124,W504
 builtins=cmp,unicode,long,xrange,basestring
 exclude=
++ mutagen-1.39.tar.gz -> mutagen-1.40.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.39/NEWS new/mutagen-1.40.0/NEWS
--- old/mutagen-1.39/NEWS   2017-11-05 20:28:45.0 +0100
+++ new/mutagen-1.40.0/NEWS 2018-01-25 17:09:13.0 +0100
@@ -1,3 +1,17 @@
+1.40.0 - 2018-01-25
+---
+
+* APEv2: Ensures tags are saved in a deterministic way :pr:`329`
+  (:user:`cushy007`)
+* Restore WinXP support for the CLI tools :bug:`332`
+* easymp4: Fix EasyMP4.add_tags() when no tags exist :bug:`334`
+* id3: Fix PyCharm not being able to resolve id3 frame class references
+  :bug:`336`
+* Support pathlib.Path objects for paths (PEP 519) :bug:`337` :pr:`338`
+  (:user:`Andrew Rabert `)
+* Use semver for versioning
+
+
 1.39 - 2017-11-05
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mutagen-1.39/PKG-INFO new/mutagen-1.40.0/PKG-INFO
--- old/mutagen-1.39/PKG-INFO   2017-11-05 20:29:29.0 +0100
+++ new/mutagen-1.40.0/PKG-INFO 2018-01-25 17:09:43.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: mutagen
-Version: 1.39
+Version: 1.40.0
 Summary: read and write audio tags for many formats
 Home-page: https://github.com/quodlibet/mutagen
 Author: Michael Urman
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit python-mutagen for openSUSE:Factory

2017-11-12 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2017-11-12 18:00:40

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Sun Nov 12 18:00:40 2017 rev:28 rq:540503 version:1.39

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2017-04-28 10:38:10.251284608 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2017-11-12 18:00:44.356331174 +0100
@@ -1,0 +2,27 @@
+Fri Nov 10 12:18:10 UTC 2017 - alarr...@suse.com
+
+- Update to version 1.39:
+  * Tests:
+* Require hypothesis
+* Run pycodestyle/pyflakes tests by default. Skip with --no-quality or
+  -m no quality when using pytest directly.
+  * Python 3.3 is no longer supported
+  * MP3: Improved bitrate accuracy for files with XING header
+  * ASF: Fix case where some tags resulted in broken ASFUnicodeAttribute
+instances
+  * Add support for filesystems which don’t support opening files read/write
+(gvfs over fuse for example)
+  * mid3v2: Add support for USLT
+  * Other minor improvements
+- Update to version 1.38:
+  * ID3:
+* Add iTunes grouping frame id3.GRP1
+* Fix exposing text frames where the text can’t be encoded with
+  the reported encoding due to merging of frames
+  * OGG: Fix wrong StreamInfo.length (small negative value) for all
+ogg based formats in rare cases.
+- Rebased the reduce-test-length.diff patch.
+- Added the hypothesis, pycodestyle and pyflakes python modules to the
+  BuildRequires, since they are needed for the tests.
+
+---

Old:

  mutagen-1.37.tar.gz

New:

  mutagen-1.39.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.brvJc2/_old  2017-11-12 18:00:45.252298540 +0100
+++ /var/tmp/diff_new_pack.brvJc2/_new  2017-11-12 18:00:45.260298248 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mutagen
-Version:1.37
+Version:1.39
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0+
@@ -28,6 +28,9 @@
 # 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
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module pycodestyle}
+BuildRequires:  %{python_module pyflakes}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++ mutagen-1.37.tar.gz -> mutagen-1.39.tar.gz ++
 2577 lines of diff (skipped)

++ reduce-test-length.diff ++
--- /var/tmp/diff_new_pack.brvJc2/_old  2017-11-12 18:00:45.564287176 +0100
+++ /var/tmp/diff_new_pack.brvJc2/_new  2017-11-12 18:00:45.576286738 +0100
@@ -1,13 +1,13 @@
-Index: mutagen-1.37/tests/test___init__.py
+Index: mutagen-1.39/tests/test___init__.py
 ===
 mutagen-1.37.orig/tests/test___init__.py
-+++ mutagen-1.37/tests/test___init__.py
-@@ -270,7 +270,7 @@ def iter_test_file_objects(fileobj):
- # first figure out how much a successful attempt reads and how many
- # file object operations it executes.
- yield t
--for i in xrange(t.dataread):
-+for i in xrange(min(t.dataread, 10)):
- yield _TestFileObj(fileobj, stop_after=i)
- for i in xrange(t.operations):
- yield _TestFileObj(fileobj, fail_after=i)
+--- mutagen-1.39.orig/tests/test___init__.py
 mutagen-1.39/tests/test___init__.py
+@@ -278,7 +278,7 @@ def generate_test_file_objects(fileobj,
+ def strategy(draw):
+ 
+ stop_strat = integers(
+-min_value=0, max_value=t.dataread).map(
++min_value=0, max_value=min(t.dataread, 10)).map(
+ lambda i: _TestFileObj(fileobj, stop_after=i))
+ 
+ fail_strat = integers(




commit python-mutagen for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2017-04-28 10:37:57

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Fri Apr 28 10:37:57 2017 rev:27 rq:487700 version:1.37

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2017-03-31 15:02:01.979616273 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2017-04-28 10:38:10.251284608 +0200
@@ -1,0 +2,11 @@
+Thu Apr  6 15:52:21 UTC 2017 - alarr...@suse.com
+
+- Use singlespec macros.
+- Drop fix-tests-tools-names.diff which is not needed anymore.
+- Add reduce-test-length.diff to reduce the number of iterations in a test
+  that is repeated for each data test file, for every byte, so it only tests
+  each file for the first 10 bytes. This way we reduce the time it takes to
+  test mutagen (and the corresponding cpu usage in obs) from 1078 seconds
+  (nearly 18 minutes) to 53 seconds (for each python version).
+
+---

Old:

  fix-tests-tools-names.diff

New:

  reduce-test-length.diff



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.27N3Qd/_old  2017-04-28 10:38:12.974899644 +0200
+++ /var/tmp/diff_new_pack.27N3Qd/_new  2017-04-28 10:38:12.978899078 +0200
@@ -16,11 +16,7 @@
 #
 
 
-%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
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-mutagen
 Version:1.37
 Release:0
@@ -29,14 +25,16 @@
 Group:  Development/Libraries/Python
 Url:https://pypi.python.org/pypi/mutagen
 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
+# 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
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildArch:  noarch
+%python_subpackages
 
 %description
 Mutagen is a Python module to handle audio metadata. It supports FLAC,
@@ -53,94 +51,45 @@
 # remove shebangs from library files
 find mutagen/ -name "*.py" -exec sed -i -e 
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
-export LANG=en_US.UTF-8
-for i in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
-j=`echo $i|tr '-' '_'`
-sed -i "s/\"${i}\"/\"${i}-%{py_ver}\"/g" setup.py
-sed -i "s/u\"${i}\"/u\"${i}-%{py_ver}\"/g" tests/test_tools_${j}.py
-mv tools/${i} tools/${i}-%{py_ver}
-mv man/${i}.1 man/${i}-%{py_ver}.1
-done
-
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --root=%{buildroot} --prefix="%{_prefix}"
+%python_install
 
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-for p in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
-ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
-ln -s -f %{_sysconfdir}/alternatives/$p.1.gz 
%{buildroot}%{_mandir}/man1/${p}.1.gz
+for i in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
+   %python_clone -a %{buildroot}%{_bindir}/${i}
+   %python_clone -a %{buildroot}%{_mandir}/man1/${i}.1
 done
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/mutagen
 
 %post
-%{_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} \
-   --slave %{_bindir}/mutagen-pony mutagen-pony 
%{_bindir}/mutagen-pony-%{py_ver} \
-   --slave 

commit python-mutagen for openSUSE:Factory

2017-03-31 Thread root
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.0 +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:  

commit python-mutagen for openSUSE:Factory

2016-08-22 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2016-08-22 13:59:27

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2016-04-17 22:16:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2016-08-22 13:59:29.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 14:51:56 UTC 2016 - toddrme2...@gmail.com
+
+- Fix update-alternatives implementation.
+
+---



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.FAxqt6/_old  2016-08-22 13:59:30.0 +0200
+++ /var/tmp/diff_new_pack.FAxqt6/_new  2016-08-22 13:59:30.0 +0200
@@ -29,7 +29,7 @@
 BuildRequires:  python-pytest
 BuildRequires:  python-setuptools
 Requires(post):update-alternatives
-Requires(postun): 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()")}
@@ -72,13 +72,10 @@
 for p in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
 ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
 ln -s -f %{_sysconfdir}/alternatives/$p.1.gz 
%{buildroot}%{_mandir}/man1/${p}.1.gz
-# create a dummy target for /etc/alternatives/$p and 
/etc/alternatives/$p.1.gz
-touch %{buildroot}%{_sysconfdir}/alternatives/$p
-touch %{buildroot}%{_sysconfdir}/alternatives/$p.1.gz
 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} \
@@ -92,9 +89,9 @@
--slave %{_mandir}/man1/mutagen-inspect.1.gz mutagen-inspect.1.gz 
%{_mandir}/man1/mutagen-inspect-%{py_ver}.1.gz \
--slave %{_mandir}/man1/mutagen-pony.1.gz mutagen-pony.1.gz 
%{_mandir}/man1/mutagen-pony-%{py_ver}.1.gz
 
-%postun
+%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




commit python-mutagen for openSUSE:Factory

2016-04-17 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2016-04-17 22:16:36

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2016-01-23 01:15:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2016-04-17 22:16:37.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 11 08:51:20 UTC 2016 - norm...@linux.vnet.ibm.com
+
+- fix_SynchronizedTextSpec_test_on_BE.patch for ppc64 archi
+  as per upstream commit Id c4d43fa
+
+---

New:

  fix_SynchronizedTextSpec_test_on_BE.patch



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.sKixqL/_old  2016-04-17 22:16:38.0 +0200
+++ /var/tmp/diff_new_pack.sKixqL/_new  2016-04-17 22:16:38.0 +0200
@@ -24,6 +24,7 @@
 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
 BuildRequires:  python-devel
 BuildRequires:  python-pytest
 BuildRequires:  python-setuptools
@@ -47,6 +48,7 @@
 
 %prep
 %setup -q -n mutagen-%{version}
+%patch1 -p1
 # remove shebangs from library files
 find mutagen/ -name "*.py" -exec sed -i -e 
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 

++ fix_SynchronizedTextSpec_test_on_BE.patch ++
Subject: fix SynchronizedTextSpec test on BE
Date: Mon, 11 Apr 2016 10:40:52 +0200

fix SynchronizedTextSpec test on BE
as per upstream 
https://bitbucket.org/lazka/mutagen/commits/c4d43fa880d7363c2b78ed6270171911b9da77a2

---
 tests/test__id3specs.py |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Index: mutagen-1.31/tests/test__id3specs.py
===
--- mutagen-1.31.orig/tests/test__id3specs.py
+++ mutagen-1.31/tests/test__id3specs.py
@@ -102,8 +102,13 @@ class SpecSanityChecks(TestCase):
 # utf-16
 f.encoding = 1
 self.assertEqual(s.read(f, s.write(f, values)), (values, b""))
-self.assertEquals(
-s.write(f, [(u"A", 100)]), b"\xff\xfeA\x00\x00\x00\x00\x00\x00d")
+data = s.write(f, [(u"A", 100)])
+if sys.byteorder == 'little':
+self.assertEquals(
+data, b"\xff\xfeA\x00\x00\x00\x00\x00\x00d")
+else:
+self.assertEquals(
+data, b"\xfe\xff\x00A\x00\x00\x00\x00\x00d")
 
 # utf-16be
 f.encoding = 2



commit python-mutagen for openSUSE:Factory

2016-01-22 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2016-01-23 01:15:13

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is "python-mutagen"

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2015-04-06 00:26:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2016-01-23 01:15:35.0 +0100
@@ -1,0 +2,49 @@
+Thu Jan 14 13:56:56 UTC 2016 - toddrme2...@gmail.com
+
+- Update to 1.31
+  * New padding control API for flac/id3/mp4/asf/ogg/aiff and everything
+based on it, except oggflac :bug:`229`
+  * Mutagen will now reduce padding on save if there is lots of it.
+  * delete() will remove padding in addition to tags.
+  * ASF:
+* Padding support :bug:`201`
+* Don't report negative lengths for some broken files
+* New :class:`asf.ASFInfo`.codec_type/codec_name/codec_description
+* Implement ASF.delete()
+  * OGG: Padding support for Opus/Vorbis/Theora/Speex
+  * M4A: Implementation removed. Every operation will raise. Use mp4 instead.
+  * Tools: Support Unicode output under Windows :bug:`232`
+- Update to 1.30
+  * FLAC:
+* Fix :meth:`flac.FLAC.save` in case the source contained a too large
+  (invalid but recovered) image block :bug:`226`
+  * MP3:
+* Improved length and bitrate accuracy:
+  * Read lame "Info" tags for improved bitrate/length accuracy
+  * Use bytes info of VBRI headers for improved bitrate accuracy
+  * Subtract encoder delay/padding from length for improved length accuracy
+(especially for short tracks)
+  * Fix rare false identification of Xing headers :bug:`182`
+* New :class:`mp3.MPEGInfo`.encoder_info attribute containing the encoder
+  name and version :bug:`66`
+* New :class:`mp3.MPEGInfo`.bitrate_mode attribute exposing if the file is
+  VBR, ABR or CBR :bug:`24` :bug:`66`
+* New :class:`mp3.MPEGInfo`.channels attribute providing the channel count
+* New :class:`mp3.MPEGInfo`.track_gain/track_peak/album_gain values 
exposing
+  the replaygain info provided by the lame header :bug:`36`
+  * ID3:
+* New :class:`id3.PictureType` enum for the picture type used in APIC 
frames :bug:`222`
+  * MP4:
+* Fix MP4FreeForm.__eq__ and MP4Cover.__eq__ when comparing with bytes
+  :bug:`218`
+* Don't raise on :meth:`FileType.save` if there are no tags. :bug:`227`
+* Minor fixes: :bug:`228`
+- Update to 1.29
+  * mid3v2: Fix an error under Python 3 with files without tags :bug:`219`
+  * mid3v2: Various Windows+Python2+Unicode fixes :bug:`214`
+  * Don't emit warnings during loading (ID3Warning) :bug:`223`
+  * py.test support
+- Clean up update-alternatives
+- Implement unit tests
+
+---

Old:

  mutagen-1.28.tar.gz

New:

  mutagen-1.31.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.ymupSZ/_old  2016-01-23 01:15:36.0 +0100
+++ /var/tmp/diff_new_pack.ymupSZ/_new  2016-01-23 01:15:36.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-mutagen
-Version:1.28
+Version:1.31
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0
@@ -25,6 +25,7 @@
 Url:https://pypi.python.org/pypi/mutagen
 Source: 
https://pypi.python.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
 BuildRequires:  python-devel
+BuildRequires:  python-pytest
 BuildRequires:  python-setuptools
 Requires(post):update-alternatives
 Requires(postun): update-alternatives
@@ -49,8 +50,11 @@
 # remove shebangs from library files
 find mutagen/ -name "*.py" -exec sed -i -e 
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
+export LANG=en_US.UTF-8
 for i in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
+j=`echo $i|tr '-' '_'`
 sed -i "s/\"${i}\"/\"${i}-%{py_ver}\"/g" setup.py
+sed -i "s/u\"${i}\"/u\"${i}-%{py_ver}\"/g" tests/test_tools_${j}.py
 mv tools/${i} tools/${i}-%{py_ver}
 mv man/${i}.1 man/${i}-%{py_ver}.1
 done
@@ -60,84 +64,83 @@
 
 %install
 python setup.py install --root=%{buildroot} --prefix="%{_prefix}" 
-ln -sf %{_bindir}/mid3cp-%{py_ver} %{buildroot}%{_bindir}/mid3cp
-ln 

commit python-mutagen for openSUSE:Factory

2015-04-05 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2015-04-06 00:26:15

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is python-mutagen

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2014-11-15 12:25:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2015-04-06 00:26:16.0 +0200
@@ -1,0 +2,21 @@
+Thu Apr  2 10:06:28 UTC 2015 - apla...@suse.com
+
+- Updated to 1.28
+  * Various minor fixes to make mutagen behave the same under Python3 as under 
Python2.
+  * Update gpl text [205]
+  * Documentation: Add example for how to create a new flac.Picture [209]
+  * ID3:
+* Various error handling fixes ([110], [211], ...)
+* Don’t hide ID3 loading errors with ID3FileType.
+* In case a synch safe marked frame isn’t sync safe, only warn [210]
+* Removed PEDANTIC mode
+  * Tools:
+* Add signal handling [170]
+* mid3cp: Make it work under Windows.
+* mutagen-inspect: Make it work under Windows+Python3 [216]
+* Support unicode file paths under Windows+Python2 [214]
+* Support file paths with invalid encoding under Unix+Python3.
+- Adapt the spec file for SLE11
+- Replace names of scripts in setup.py
+
+---

Old:

  mutagen-1.22.tar.gz

New:

  mutagen-1.28.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.OLMJtm/_old  2015-04-06 00:26:17.0 +0200
+++ /var/tmp/diff_new_pack.OLMJtm/_new  2015-04-06 00:26:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,11 +16,8 @@
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
-%{!?py_ver %global py_ver %(python -c import sys; v=sys.version_info[:2]; 
print '%%d.%%d'%%v 2/dev/null || echo PYTHON-NOT-FOUND)}
-
 Name:   python-mutagen
-Version:1.22
+Version:1.28
 Release:0
 Summary:Python module to Handle Audio Metadata
 License:GPL-2.0
@@ -32,7 +29,9 @@
 Requires(post):update-alternatives
 Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version}  1110
+%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
 
@@ -50,10 +49,9 @@
 # remove shebangs from library files
 find mutagen/ -name *.py -exec sed -i -e  
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
-for i in `ls tools` ; do
+for i in mid3cp mid3iconv mid3v2 moggsplit mutagen-inspect mutagen-pony; do
+sed -i s/\${i}\/\${i}-%{py_ver}\/g setup.py
mv tools/${i} tools/${i}-%{py_ver}
-done
-for i in `ls man | sed s/\.1//` ; do
mv man/${i}.1 man/${i}-%{py_ver}.1
 done
 
@@ -62,12 +60,14 @@
 
 %install
 python setup.py install --root=%{buildroot} --prefix=%{_prefix} 
+ln -sf %{_bindir}/mid3cp-%{py_ver} %{buildroot}%{_bindir}/mid3cp
 ln -sf %{_bindir}/mid3iconv-%{py_ver} %{buildroot}%{_bindir}/mid3iconv
 ln -sf %{_bindir}/mid3v2-%{py_ver} %{buildroot}%{_bindir}/mid3v2
 ln -sf %{_bindir}/moggsplit-%{py_ver} %{buildroot}%{_bindir}/moggsplit
 ln -sf %{_bindir}/mutagen-inspect-%{py_ver} 
%{buildroot}%{_bindir}/mutagen-inspect
 ln -sf %{_bindir}/mutagen-pony-%{py_ver} %{buildroot}%{_bindir}/mutagen-pony
 
+ln -sf %{_mandir}/man1/mid3cp-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3cp.1.gz
 ln -sf %{_mandir}/man1/mid3iconv-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3iconv.1.gz
 ln -sf %{_mandir}/man1/mid3v2-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3v2.1.gz
 ln -sf %{_mandir}/man1/moggsplit-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/moggsplit.1.gz
@@ -77,11 +77,13 @@
 %pre
 # Since binaries became ghosted to be used with update-alternatives, we have 
to get rid
 # of the old binary resulting from the non-update-alternativies-ified package:
+[ -h %{_bindir}/mid3cp ] || rm -f %{_bindir}/mid3cp
 [ -h %{_bindir}/mid3iconv ] || rm -f %{_bindir}/mid3iconv
 [ -h %{_bindir}/mid3v2 ] || rm -f %{_bindir}/mid3v2
 [ -h %{_bindir}/moggsplit ] || rm -f %{_bindir}/moggsplit
 [ -h %{_bindir}/mutagen-inspect ] || rm -f 

commit python-mutagen for openSUSE:Factory

2014-11-15 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2014-11-15 11:40:57

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is python-mutagen

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2013-10-17 17:45:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2014-11-15 12:25:51.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 20:48:00 UTC 2014 - Led led...@gmail.com
+
+- fix bashisms in pre script
+
+---



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.T6RD5u/_old  2014-11-15 12:25:52.0 +0100
+++ /var/tmp/diff_new_pack.T6RD5u/_new  2014-11-15 12:25:52.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mutagen
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -77,18 +77,16 @@
 %pre
 # Since binaries became ghosted to be used with update-alternatives, we have 
to get rid
 # of the old binary resulting from the non-update-alternativies-ified package:
-[[ ! -L %{_bindir}/mid3iconv ]]  rm -f %{_bindir}/mid3iconv
-[[ ! -L %{_bindir}/mid3v2 ]]  rm -f %{_bindir}/mid3v2  
-[[ ! -L %{_bindir}/moggsplit ]]  rm -f %{_bindir}/moggsplit
-[[ ! -L %{_bindir}/mutagen-inspect ]]  rm -f %{_bindir}/mutagen-inspect
-[[ ! -L %{_bindir}/mutagen-pony ]]  rm -f %{_bindir}/mutagen-pony
-[[ ! -L %{_mandir}/man1/mid3iconv.1.gz ]]  rm -f 
%{_mandir}/man1/mid3iconv.1.gz
-[[ ! -L %{_mandir}/man1/mid3v2.1.gz ]]  rm -f %{_mandir}/man1/mid3v2.1.gz
-[[ ! -L %{_mandir}/man1/moggsplit.1.gz ]]  rm -f 
%{_mandir}/man1/moggsplit.1.gz
-[[ ! -L %{_mandir}/man1/mutagen-inspect.1.gz ]]  rm -f 
%{_mandir}/man1/mutagen-inspect.1.gz
-[[ ! -L %{_mandir}/man1/mutagen-pony.1.gz ]]  rm -f 
%{_mandir}/man1/mutagen-pony.1.gz
-
-exit 0
+[ -h %{_bindir}/mid3iconv ] || rm -f %{_bindir}/mid3iconv
+[ -h %{_bindir}/mid3v2 ] || rm -f %{_bindir}/mid3v2
+[ -h %{_bindir}/moggsplit ] || rm -f %{_bindir}/moggsplit
+[ -h %{_bindir}/mutagen-inspect ] || rm -f %{_bindir}/mutagen-inspect
+[ -h %{_bindir}/mutagen-pony ] || rm -f %{_bindir}/mutagen-pony
+[ -h %{_mandir}/man1/mid3iconv.1.gz ] || rm -f %{_mandir}/man1/mid3iconv.1.gz
+[ -h %{_mandir}/man1/mid3v2.1.gz ] || rm -f %{_mandir}/man1/mid3v2.1.gz
+[ -h %{_mandir}/man1/moggsplit.1.gz ] || rm -f %{_mandir}/man1/moggsplit.1.gz
+[ -h %{_mandir}/man1/mutagen-inspect.1.gz ] || rm -f 
%{_mandir}/man1/mutagen-inspect.1.gz
+[ -h %{_mandir}/man1/mutagen-pony.1.gz ] || rm -f 
%{_mandir}/man1/mutagen-pony.1.gz
 
 %post
 update-alternatives \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-mutagen for openSUSE:Factory

2013-10-17 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2013-10-17 14:25:53

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is python-mutagen

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2013-10-14 14:30:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2013-10-17 17:45:48.0 +0200
@@ -1,0 +2,8 @@
+Mon Oct 14 11:51:34 UTC 2013 - i...@marguerite.su
+
+- Implement update-alternatives
+  * prepare for python3-mutagenx, which has the same binaries/manpages
+as this one but still in python2 state.
+  * it just doesn't hurt...
+
+---



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.fKR82y/_old  2013-10-17 17:45:49.0 +0200
+++ /var/tmp/diff_new_pack.fKR82y/_new  2013-10-17 17:45:49.0 +0200
@@ -15,6 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
+%{!?py_ver %global py_ver %(python -c import sys; v=sys.version_info[:2]; 
print '%%d.%%d'%%v 2/dev/null || echo PYTHON-NOT-FOUND)}
+
 Name:   python-mutagen
 Version:1.22
 Release:0
@@ -25,10 +29,10 @@
 Source: 
https://pypi.python.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+Requires(post):update-alternatives
+Requires(postun): 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
+%if 0%{?suse_version}  1110
 BuildArch:  noarch
 %endif
 
@@ -46,22 +50,88 @@
 # remove shebangs from library files
 find mutagen/ -name *.py -exec sed -i -e  
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
+for i in `ls tools` ; do
+   mv tools/${i} tools/${i}-%{py_ver}
+done
+for i in `ls man | sed s/\.1//` ; do
+   mv man/${i}.1 man/${i}-%{py_ver}.1
+done
+
 %build
 python setup.py build
 
 %install
 python setup.py install --root=%{buildroot} --prefix=%{_prefix} 
+ln -sf %{_bindir}/mid3iconv-%{py_ver} %{buildroot}%{_bindir}/mid3iconv
+ln -sf %{_bindir}/mid3v2-%{py_ver} %{buildroot}%{_bindir}/mid3v2
+ln -sf %{_bindir}/moggsplit-%{py_ver} %{buildroot}%{_bindir}/moggsplit
+ln -sf %{_bindir}/mutagen-inspect-%{py_ver} 
%{buildroot}%{_bindir}/mutagen-inspect
+ln -sf %{_bindir}/mutagen-pony-%{py_ver} %{buildroot}%{_bindir}/mutagen-pony
+
+ln -sf %{_mandir}/man1/mid3iconv-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3iconv.1.gz
+ln -sf %{_mandir}/man1/mid3v2-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mid3v2.1.gz
+ln -sf %{_mandir}/man1/moggsplit-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/moggsplit.1.gz
+ln -sf %{_mandir}/man1/mutagen-inspect-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mutagen-inspect.1.gz
+ln -sf %{_mandir}/man1/mutagen-pony-%{py_ver}.1.gz 
%{buildroot}%{_mandir}/man1/mutagen-pony.1.gz
+
+%pre
+# Since binaries became ghosted to be used with update-alternatives, we have 
to get rid
+# of the old binary resulting from the non-update-alternativies-ified package:
+[[ ! -L %{_bindir}/mid3iconv ]]  rm -f %{_bindir}/mid3iconv
+[[ ! -L %{_bindir}/mid3v2 ]]  rm -f %{_bindir}/mid3v2  
+[[ ! -L %{_bindir}/moggsplit ]]  rm -f %{_bindir}/moggsplit
+[[ ! -L %{_bindir}/mutagen-inspect ]]  rm -f %{_bindir}/mutagen-inspect
+[[ ! -L %{_bindir}/mutagen-pony ]]  rm -f %{_bindir}/mutagen-pony
+[[ ! -L %{_mandir}/man1/mid3iconv.1.gz ]]  rm -f 
%{_mandir}/man1/mid3iconv.1.gz
+[[ ! -L %{_mandir}/man1/mid3v2.1.gz ]]  rm -f %{_mandir}/man1/mid3v2.1.gz
+[[ ! -L %{_mandir}/man1/moggsplit.1.gz ]]  rm -f 
%{_mandir}/man1/moggsplit.1.gz
+[[ ! -L %{_mandir}/man1/mutagen-inspect.1.gz ]]  rm -f 
%{_mandir}/man1/mutagen-inspect.1.gz
+[[ ! -L %{_mandir}/man1/mutagen-pony.1.gz ]]  rm -f 
%{_mandir}/man1/mutagen-pony.1.gz
+
+exit 0
+
+%post
+update-alternatives \
+--install %{_bindir}/mid3iconv mid3iconv %{_bindir}/mid3iconv-%{py_ver} 30 \
+--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} \
+--slave %{_bindir}/mutagen-pony mutagen-pony %{_bindir}/mutagen-pony-%{py_ver} 
\
+--slave %{_mandir}/man1/mid3iconv.1.gz mid3iconv.1.gz 

commit python-mutagen for openSUSE:Factory

2013-10-14 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2013-10-14 14:30:18

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is python-mutagen

Changes:

--- /work/SRC/openSUSE:Factory/python-mutagen/python-mutagen.changes
2011-09-23 12:43:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-mutagen.new/python-mutagen.changes   
2013-10-14 14:30:19.0 +0200
@@ -1,0 +2,40 @@
+Sun Oct 13 12:13:39 UTC 2013 - p.drou...@gmail.com
+
+- Replace python-distribute with python-setuptools BuildRequires
+- Remove Requires: python = %{py_ver}; it's useless
+
+---
+Sat Oct 12 19:17:41 UTC 2013 - i...@marguerite.su
+
+- update to 1.22:
+ * Minimum required Python version is now 2.6
+ * Online API reference at https://mutagen.readthedocs.org/
+ * EasyID3:
+   * Fix crash with empty TXXX values. (#135)
+ * ID3:
+   * id3v2.3 writing support (#85)
+   * Add iTunes podcast frames (TGID, TDES, WFED) (#141)
+   * Updated id3v1 genre list
+ * MP4:
+   * add_tags() will not replace existing tags. (#101)
+   * Don't ignore tags if parsing unknown atoms fails.
+   * Raise on invalid 64bit atom size (#132, Sidnei da Silva)
+ * APEv2:
+   * Handle invalid tag item count. (#145, Dawid Zamirski)
+ * Ogg:
+   * Faster parsing of files with large packets.
+ * VComment:
+   * Preserve text case for field names added through the dict interface (#152)
+ * mid3v2:
+   * New -e,--escape switch to enable interpretation of escape sequences and
+ makes escaping of the colon separator possible. (#159)
+ * mid3iconv:
+   * Convert COMM frames (#128)
+- clean spec and don't use the INSTALLED_FILES way, which make this spec
+  contains no useful information exposed on web
+  * expand %py_requires or SP1 won't build
+  * add BuildRequires: python-distrubite because it used setup.py
+  * remove the entire %clean section, unneeded now
+  * TUTORIAL is no more, so no need of dos2unix too.
+
+---

Old:

  mutagen-1.20.tar.bz2

New:

  mutagen-1.22.tar.gz



Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.NS4Zm5/_old  2013-10-14 14:30:20.0 +0200
+++ /var/tmp/diff_new_pack.NS4Zm5/_new  2013-10-14 14:30:20.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-mutagen (Version 1.20)
+# spec file for package python-mutagen
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   python-mutagen
+Version:1.22
+Release:0
 Summary:Python module to Handle Audio Metadata
-Version:1.20
-Release:2
 License:GPL-2.0
 Group:  Development/Libraries/Python
-Url:http://code.google.com/p/mutagen/
-Source: http://mutagen.googlecode.com/files/mutagen-%{version}.tar.bz2
+Url:https://pypi.python.org/pypi/mutagen
+Source: 
https://pypi.python.org/packages/source/m/mutagen/mutagen-%{version}.tar.gz
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  dos2unix python-devel
-%py_requires
-%if %suse_version  1110
+%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
 
@@ -43,7 +43,6 @@
 
 %prep
 %setup -q -n mutagen-%{version}
-dos2unix TUTORIAL
 # remove shebangs from library files
 find mutagen/ -name *.py -exec sed -i -e  
'/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';'
 
@@ -51,16 +50,18 @@
 python setup.py build
 
 %install
-python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} \
-   --record-rpm=INSTALLED_FILES
-
-sed -i -e 's/\.1$/.1.gz/g' INSTALLED_FILES
-
-%clean
-rm -rf %{buildroot}
+python setup.py install --root=%{buildroot} --prefix=%{_prefix} 
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-, root, root, 0755)
-%doc API-NOTES COPYING NEWS README TODO TUTORIAL
+%doc COPYING NEWS README TODO
+%{_bindir}/mid3iconv
+%{_bindir}/mid3v2
+%{_bindir}/moggsplit
+%{_bindir}/mutagen-inspect
+%{_bindir}/mutagen-pony
+%{python_sitelib}/mutagen

commit python-mutagen for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package python-mutagen for openSUSE:Factory 
checked in at 2011-12-06 18:56:34

Comparing /work/SRC/openSUSE:Factory/python-mutagen (Old)
 and  /work/SRC/openSUSE:Factory/.python-mutagen.new (New)


Package is python-mutagen, Maintainer is jmate...@suse.com

Changes:




Other differences:
--
++ python-mutagen.spec ++
--- /var/tmp/diff_new_pack.sZcm4n/_old  2011-12-06 19:29:29.0 +0100
+++ /var/tmp/diff_new_pack.sZcm4n/_new  2011-12-06 19:29:29.0 +0100
@@ -21,7 +21,7 @@
 Summary:Python module to Handle Audio Metadata
 Version:1.20
 Release:2
-License:GPLv2
+License:GPL-2.0
 Group:  Development/Libraries/Python
 Url:http://code.google.com/p/mutagen/
 Source: http://mutagen.googlecode.com/files/mutagen-%{version}.tar.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org