[101899] trunk/dports/python/py-id3lib/Portfile

jmr at macports.org jmr at macports.org
Mon Jan 21 01:07:26 PST 2013


Revision: 101899
          https://trac.macports.org/changeset/101899
Author:   jmr at macports.org
Date:     2013-01-21 01:07:25 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
py-id3lib: don't apply patch for python24

Modified Paths:
--------------
    trunk/dports/python/py-id3lib/Portfile

Modified: trunk/dports/python/py-id3lib/Portfile
===================================================================
--- trunk/dports/python/py-id3lib/Portfile	2013-01-21 07:07:10 UTC (rev 101898)
+++ trunk/dports/python/py-id3lib/Portfile	2013-01-21 09:07:25 UTC (rev 101899)
@@ -22,8 +22,11 @@
 if {$subport != $name} {
     depends_lib-append	port:id3lib port:zlib
 
-    patchfiles		patch-setup.py.diff patch-pyid3lib.py.diff
+    patchfiles		patch-setup.py.diff
     post-patch {
         reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
     }
+    if {${python.version} > 24} {
+        patchfiles-append patch-pyid3lib.py.diff
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/e9291c87/attachment-0001.html>


More information about the macports-changes mailing list