[arch-commits] Commit in python2-eyed3/trunk (PKGBUILD fix_setting_tcmp_frame.patch)
Jelle van der Waa
jelle at nymeria.archlinux.org
Wed May 1 20:20:00 UTC 2013
Date: Wednesday, May 1, 2013 @ 22:20:00
Author: jelle
Revision: 89658
upgpkg: python2-eyed3 0.7.1-2
fs#34281
Added:
python2-eyed3/trunk/fix_setting_tcmp_frame.patch
Modified:
python2-eyed3/trunk/PKGBUILD
------------------------------+
PKGBUILD | 8 +++++---
fix_setting_tcmp_frame.patch | 21 +++++++++++++++++++++
2 files changed, 26 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-01 19:30:09 UTC (rev 89657)
+++ PKGBUILD 2013-05-01 20:20:00 UTC (rev 89658)
@@ -5,21 +5,23 @@
pkgname=python2-eyed3
pkgver=0.7.1
-pkgrel=1
+pkgrel=2
pkgdesc="A Python module and program for processing information about mp3 files"
arch=(any)
url="http://eyed3.nicfit.net/"
license=('GPL')
depends=('python2')
makedepends=('python2-distribute')
-source=(http://eyed3.nicfit.net/releases/eyeD3-$pkgver.tgz)
+source=(http://eyed3.nicfit.net/releases/eyeD3-$pkgver.tgz fix_setting_tcmp_frame.patch)
options=(!emptydirs)
replaces=('python-eyed3')
provides=('python-eyed3')
-md5sums=('05fc6031fef62146c1aca188d13a62a6')
+md5sums=('05fc6031fef62146c1aca188d13a62a6'
+ '3b207f52fda00cb178e7b351fc80bdfb')
build() {
cd $srcdir/eyeD3-$pkgver
+ patch -Np1 -i $srcdir/fix_setting_tcmp_frame.patch
python2 setup.py build
}
package() {
Added: fix_setting_tcmp_frame.patch
===================================================================
--- fix_setting_tcmp_frame.patch (rev 0)
+++ fix_setting_tcmp_frame.patch 2013-05-01 20:20:00 UTC (rev 89658)
@@ -0,0 +1,21 @@
+# HG changeset patch
+# User Travis Shirk <travis at pobox.com>
+# Date 1366683753 21600
+# Branch stable
+# Node ID bfbfc2c5709c4084ecaeed3410600d94d2a21a0d
+# Parent e2ebd8a246ecca8340bbc4ac858c7a946524571f
+Fix for setting of non standard text frames. Fixes #26
+
+diff -r e2ebd8a246ecca8340bbc4ac858c7a946524571f -r bfbfc2c5709c4084ecaeed3410600d94d2a21a0d src/eyed3/id3/frames.py
+--- a/src/eyed3/id3/frames.py Wed Mar 13 21:28:01 2013 -0600
++++ b/src/eyed3/id3/frames.py Mon Apr 22 20:22:33 2013 -0600
+@@ -1364,7 +1364,8 @@
+ the same Id is already in the list it's value is changed, otherwise
+ the frame is added.
+ '''
+- assert(fid[0] == "T" and fid in list(ID3_FRAMES.keys()))
++ assert(fid[0] == "T" and (fid in ID3_FRAMES or
++ fid in NONSTANDARD_ID3_FRAMES))
+
+ if fid in self:
+ self[fid][0].text = text
More information about the arch-commits
mailing list