Update to 1.9. Change log not found.

This commit is contained in:
Sergey Svishchev 2007-01-13 20:37:54 +00:00 committed by Thomas Klausner
parent 045cc64e51
commit 1910ba7c30
4 changed files with 38 additions and 14 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1.1.1 2006/07/08 11:42:21 shattered Exp $
# $NetBSD: Makefile,v 1.2 2007/01/13 20:37:54 shattered Exp $
#
DISTNAME= mutagen-1.5.1
DISTNAME= mutagen-1.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= audio
MASTER_SITES= http://www.sacredchao.net/~piman/software/

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/08 09:57:55 shattered Exp $
@comment $NetBSD: PLIST,v 1.2 2007/01/13 20:37:54 shattered Exp $
bin/mid3iconv
bin/mid3v2
bin/moggsplit
@ -33,19 +33,43 @@ ${PYSITELIB}/mutagen/flac.pyo
${PYSITELIB}/mutagen/id3.py
${PYSITELIB}/mutagen/id3.pyc
${PYSITELIB}/mutagen/id3.pyo
${PYSITELIB}/mutagen/m4a.py
${PYSITELIB}/mutagen/m4a.pyc
${PYSITELIB}/mutagen/m4a.pyo
${PYSITELIB}/mutagen/monkeysaudio.py
${PYSITELIB}/mutagen/monkeysaudio.pyc
${PYSITELIB}/mutagen/monkeysaudio.pyo
${PYSITELIB}/mutagen/mp3.py
${PYSITELIB}/mutagen/mp3.pyc
${PYSITELIB}/mutagen/mp3.pyo
${PYSITELIB}/mutagen/mp4.py
${PYSITELIB}/mutagen/mp4.pyc
${PYSITELIB}/mutagen/mp4.pyo
${PYSITELIB}/mutagen/musepack.py
${PYSITELIB}/mutagen/musepack.pyc
${PYSITELIB}/mutagen/musepack.pyo
${PYSITELIB}/mutagen/ogg.py
${PYSITELIB}/mutagen/ogg.pyc
${PYSITELIB}/mutagen/ogg.pyo
${PYSITELIB}/mutagen/oggflac.py
${PYSITELIB}/mutagen/oggflac.pyc
${PYSITELIB}/mutagen/oggflac.pyo
${PYSITELIB}/mutagen/oggspeex.py
${PYSITELIB}/mutagen/oggspeex.pyc
${PYSITELIB}/mutagen/oggspeex.pyo
${PYSITELIB}/mutagen/oggtheora.py
${PYSITELIB}/mutagen/oggtheora.pyc
${PYSITELIB}/mutagen/oggtheora.pyo
${PYSITELIB}/mutagen/oggvorbis.py
${PYSITELIB}/mutagen/oggvorbis.pyc
${PYSITELIB}/mutagen/oggvorbis.pyo
${PYSITELIB}/mutagen/optimfrog.py
${PYSITELIB}/mutagen/optimfrog.pyc
${PYSITELIB}/mutagen/optimfrog.pyo
${PYSITELIB}/mutagen/trueaudio.py
${PYSITELIB}/mutagen/trueaudio.pyc
${PYSITELIB}/mutagen/trueaudio.pyo
${PYSITELIB}/mutagen/wavpack.py
${PYSITELIB}/mutagen/wavpack.pyc
${PYSITELIB}/mutagen/wavpack.pyo
@dirrm ${PYSITELIB}/mutagen

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.1.1.1 2006/07/07 21:02:59 shattered Exp $
$NetBSD: distinfo,v 1.2 2007/01/13 20:37:54 shattered Exp $
SHA1 (mutagen-1.5.1.tar.gz) = bec18e4cc4724efd63366a5e849e3811e81fac44
RMD160 (mutagen-1.5.1.tar.gz) = 054bfbe666d81e08a50781793cc09a3bdde5d0d5
Size (mutagen-1.5.1.tar.gz) = 296326 bytes
SHA1 (patch-ac) = 24f127e8b1b3c5cf5607d931ac3e9ecf472f048a
SHA1 (mutagen-1.9.tar.gz) = 4454014b6127d5b9c16dd1621efd38e1c66aa651
RMD160 (mutagen-1.9.tar.gz) = 4d20ad2bf67ad377ef121bd2077b40e9911f8dd0
Size (mutagen-1.9.tar.gz) = 495662 bytes
SHA1 (patch-ac) = 58a1c5bb3bc9cfe7464a47e5ee390a0536f1d824
SHA1 (patch-ad) = 41cc37836ae27ab7e1bdafea3e5d986f470053c2

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ac,v 1.1.1.1 2006/07/07 20:53:19 shattered Exp $
$NetBSD: patch-ac,v 1.2 2007/01/13 20:37:54 shattered Exp $
--- mutagen/id3.py.orig 2006-06-03 20:16:43.000000000 +0000
--- mutagen/id3.py.orig 2006-12-10 03:56:13.000000000 +0000
+++ mutagen/id3.py
@@ -1666,22 +1666,28 @@ def ParseID3v1(string):
@@ -1814,22 +1814,28 @@ def ParseID3v1(string):
from struct import error as StructError
frames = {}
try:
@ -34,6 +34,6 @@ $NetBSD: patch-ac,v 1.1.1.1 2006/07/07 20:53:19 shattered Exp $
+ comment = comment.strip("\x00").strip().decode('latin1')
+ if comment: frames["COMM"] = COMM(encoding=0, lang="eng", desc="", text=comment)
+
if track: frames["TRCK"] = TRCK(encoding=0, text=str(track))
if genre != 255: frames["TCON"] = TCON(encoding=0, text=str(genre))
return frames
# Don't read a track number if it looks like the comment was
# padded with spaces instead of nulls (thanks, WinAmp).
if track and (track != 32 or string[-3] == '\x00'):