[arch-commits] Commit in python2-eyed3/repos/community-any (3 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Wed May 1 20:20:44 UTC 2013


    Date: Wednesday, May 1, 2013 @ 22:20:43
  Author: jelle
Revision: 89659

archrelease: copy trunk to community-any

Added:
  python2-eyed3/repos/community-any/PKGBUILD
    (from rev 89658, python2-eyed3/trunk/PKGBUILD)
  python2-eyed3/repos/community-any/fix_setting_tcmp_frame.patch
    (from rev 89658, python2-eyed3/trunk/fix_setting_tcmp_frame.patch)
Deleted:
  python2-eyed3/repos/community-any/PKGBUILD

------------------------------+
 PKGBUILD                     |   60 +++++++++++++++++++++--------------------
 fix_setting_tcmp_frame.patch |   21 ++++++++++++++
 2 files changed, 52 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-01 20:20:00 UTC (rev 89658)
+++ PKGBUILD	2013-05-01 20:20:43 UTC (rev 89659)
@@ -1,29 +0,0 @@
-#$Id$
-#Maintainer: Aaron Griffin <aaron at archlinux.org>
-#Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
-#Contributor: cdhotfire <cdhotfire at gmail.com>
-
-pkgname=python2-eyed3
-pkgver=0.7.1
-pkgrel=1
-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)
-options=(!emptydirs)
-replaces=('python-eyed3')
-provides=('python-eyed3')
-md5sums=('05fc6031fef62146c1aca188d13a62a6')
-
-build() {
-  cd $srcdir/eyeD3-$pkgver
-  python2 setup.py build
-}
-package() {
-  cd $srcdir/eyeD3-$pkgver
-  python2 setup.py install --root="${pkgdir}" --optimize=1 
-  sed -i 's/python/python2/' $pkgdir/usr/bin/eyeD3
-} 

Copied: python2-eyed3/repos/community-any/PKGBUILD (from rev 89658, python2-eyed3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-01 20:20:43 UTC (rev 89659)
@@ -0,0 +1,31 @@
+#$Id$
+#Maintainer: Aaron Griffin <aaron at archlinux.org>
+#Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+#Contributor: cdhotfire <cdhotfire at gmail.com>
+
+pkgname=python2-eyed3
+pkgver=0.7.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 fix_setting_tcmp_frame.patch)
+options=(!emptydirs)
+replaces=('python-eyed3')
+provides=('python-eyed3')
+md5sums=('05fc6031fef62146c1aca188d13a62a6'
+         '3b207f52fda00cb178e7b351fc80bdfb')
+
+build() {
+  cd $srcdir/eyeD3-$pkgver
+  patch -Np1 -i $srcdir/fix_setting_tcmp_frame.patch 
+  python2 setup.py build
+}
+package() {
+  cd $srcdir/eyeD3-$pkgver
+  python2 setup.py install --root="${pkgdir}" --optimize=1 
+  sed -i 's/python/python2/' $pkgdir/usr/bin/eyeD3
+} 

Copied: python2-eyed3/repos/community-any/fix_setting_tcmp_frame.patch (from rev 89658, python2-eyed3/trunk/fix_setting_tcmp_frame.patch)
===================================================================
--- fix_setting_tcmp_frame.patch	                        (rev 0)
+++ fix_setting_tcmp_frame.patch	2013-05-01 20:20:43 UTC (rev 89659)
@@ -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