[60352] trunk/dports/python
blb at macports.org
blb at macports.org
Mon Nov 9 14:10:33 PST 2009
Revision: 60352
http://trac.macports.org/changeset/60352
Author: blb at macports.org
Date: 2009-11-09 14:10:33 -0800 (Mon, 09 Nov 2009)
Log Message:
-----------
New port - python/py26-id3lib, Python module for reading and writing id3v2 tags
Modified Paths:
--------------
trunk/dports/python/py26-id3lib/Portfile
trunk/dports/python/py26-id3lib/files/patch-setup.py.diff
Added Paths:
-----------
trunk/dports/python/py26-id3lib/
Modified: trunk/dports/python/py26-id3lib/Portfile
===================================================================
--- trunk/dports/python/py25-id3lib/Portfile 2009-11-08 23:34:24 UTC (rev 60316)
+++ trunk/dports/python/py26-id3lib/Portfile 2009-11-09 22:10:33 UTC (rev 60352)
@@ -2,13 +2,13 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
-name py25-id3lib
+name py26-id3lib
version 0.5.1
categories python audio
platforms darwin
-maintainers maubi.net:waterson
+maintainers nomaintainer
description Python module for reading and writing id3v2 tags
long_description ${description}
@@ -21,3 +21,7 @@
depends_lib-append port:id3lib port:zlib
patchfiles patch-setup.py.diff patch-pyid3lib.py.diff
+post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+}
+
Modified: trunk/dports/python/py26-id3lib/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py25-id3lib/files/patch-setup.py.diff 2009-11-08 23:34:24 UTC (rev 60316)
+++ trunk/dports/python/py26-id3lib/files/patch-setup.py.diff 2009-11-09 22:10:33 UTC (rev 60352)
@@ -6,8 +6,8 @@
['pyid3lib.cc'],
- libraries=['stdc++','id3','z'] )]
+ libraries=['stdc++','id3','z'],
-+ include_dirs = [ "/opt/local/include/" ],
-+ library_dirs=[ "/opt/local/lib/" ], )]
++ include_dirs = [ "@@PREFIX@@/include/" ],
++ library_dirs=[ "@@PREFIX@@/lib/" ], )]
)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091109/ebe709d5/attachment.html>
More information about the macports-changes
mailing list