14
0

Accepting request 627528 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/627528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mutagen?expand=0&rev=30
This commit is contained in:
2018-08-08 12:45:30 +00:00
committed by Git OBS Bridge
5 changed files with 15 additions and 19 deletions

View File

@@ -1,12 +0,0 @@
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=

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2a2c2ce87863af12ed7896f341419cd051a3c72c3c6733db9e83060dcadee5e
size 917874

3
mutagen-1.41.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dab6038c7f0e17c1b67fb8f56303e8be21e73ac47760f1a8e716856f1bdf5057
size 918286

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Aug 5 11:08:22 UTC 2018 - adrian@suse.de
- update to version 1.41.0:
* Documentation fixes :pr:`342` (:user:`Jakub Wilk <jwilk>`)
* mid3v2: Add support for WXXX frames :bug:`344` :bug:`348`
* Fix decoding of track_peak from MP3 Info Tag :pr:`345`
(:user:`Anton Yuzhaninov <citrin>`)
* MonkeysAudio: set bits_per_sample for older files :bug:`347`
- drop obsolete ignore-W504.patch
-------------------------------------------------------------------
Thu Apr 12 21:16:26 UTC 2018 - alarrosa@suse.com

View File

@@ -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 @@ 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 alarrosa@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 alarrosa@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 @@ Ogg streams on an individual packet/page level.
%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' {} ';'