[67287] trunk/dports/python/py26-eyed3

and.damore at macports.org and.damore at macports.org
Tue May 4 10:51:23 PDT 2010


Revision: 67287
          http://trac.macports.org/changeset/67287
Author:   and.damore at macports.org
Date:     2010-05-04 10:51:20 -0700 (Tue, 04 May 2010)
Log Message:
-----------
py26-eyeD3 patch to use UTF-8 in printMsg

Modified Paths:
--------------
    trunk/dports/python/py26-eyed3/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-eyed3/files/
    trunk/dports/python/py26-eyed3/files/patch-bin-eyeD3.diff

Modified: trunk/dports/python/py26-eyed3/Portfile
===================================================================
--- trunk/dports/python/py26-eyed3/Portfile	2010-05-04 16:47:56 UTC (rev 67286)
+++ trunk/dports/python/py26-eyed3/Portfile	2010-05-04 17:51:20 UTC (rev 67287)
@@ -23,8 +23,8 @@
 checksums           md5     7bc175d0eb1e0152753b2aca80df6fde \
                     sha1    a607ce4355f395ef137c265f8dad60ac67ba4e47 \
                     rmd160  32891c885f175e7f2da1201359d73309366930e9
+patchfiles          patch-bin-eyeD3.diff
 
-
 use_configure       yes
 
 post-configure    {

Added: trunk/dports/python/py26-eyed3/files/patch-bin-eyeD3.diff
===================================================================
--- trunk/dports/python/py26-eyed3/files/patch-bin-eyeD3.diff	                        (rev 0)
+++ trunk/dports/python/py26-eyed3/files/patch-bin-eyeD3.diff	2010-05-04 17:51:20 UTC (rev 67287)
@@ -0,0 +1,11 @@
+--- bin/eyeD3.orig	2010-05-04 19:36:37.000000000 +0200
++++ bin/eyeD3	2010-05-04 19:37:02.000000000 +0200
+@@ -355,7 +355,7 @@
+     return colors["bold"] + s + colors["normal"];
+ 
+ def printMsg(s):
+-    sys.stdout.write(s + '\n');
++    sys.stdout.write(s.encode('utf-8') + '\n');
+ 
+ def printWarning(s):
+     sys.stderr.write(colors["warning"] + str(s) + colors["normal"] + '\n');
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100504/1248cf61/attachment.html>


More information about the macports-changes mailing list