forked from pool/python-mutagen
Accepting request 540486 from home:alarrosa:branches:devel:languages:python
- 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.
OBS-URL: https://build.opensuse.org/request/show/540486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mutagen?expand=0&rev=30
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:539553d3f1ffd890c74f64b819750aef0316933d162c09798c9e7eaf334ae760
|
||||
size 912600
|
||||
3
mutagen-1.39.tar.gz
Normal file
3
mutagen-1.39.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9da92566458ffe5618ffd26167abaa8fd81f02a7397b8734ec14dfe14e8a19e4
|
||||
size 916084
|
||||
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 12:18:10 UTC 2017 - alarrosa@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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 15:52:21 UTC 2017 - alarrosa@suse.com
|
||||
|
||||
|
||||
@@ -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 @@ Source: https://files.pythonhosted.org/packages/source/m/mutagen/mutagen
|
||||
# PATCH-FIX-OPENSUSE reduce-test-length.diff alarrosa@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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user