[88428] trunk/dports/python/py-pympler/Portfile

dports at macports.org dports at macports.org
Sun Jan 1 18:39:49 PST 2012


Revision: 88428
          http://trac.macports.org/changeset/88428
Author:   dports at macports.org
Date:     2012-01-01 18:39:45 -0800 (Sun, 01 Jan 2012)
Log Message:
-----------
py-pympler: only override patch phase in subports

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

Modified: trunk/dports/python/py-pympler/Portfile
===================================================================
--- trunk/dports/python/py-pympler/Portfile	2012-01-02 02:21:15 UTC (rev 88427)
+++ trunk/dports/python/py-pympler/Portfile	2012-01-02 02:39:45 UTC (rev 88428)
@@ -26,9 +26,12 @@
 homepage            http://packages.python.org/${real_name}/
 master_sites        http://pypi.python.org/packages/source/P/${real_name}/
 distname            ${real_name}-${version}
-patch {
-    reinplace "s|data_path = cobj.install_data|data_path = '${python.prefix}/share/pympler'|" \
-        ${worksrcpath}/setup.py
+
+if {${subport} != ${name}} {
+    patch {
+        reinplace "s|data_path = cobj.install_data|data_path = '${python.prefix}/share/pympler'|" \
+            ${worksrcpath}/setup.py
+    }
 }
 
 checksums           rmd160  47b2285eb5fe9ff01f50d71e57da896110865af2 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120101/5444592c/attachment.html>


More information about the macports-changes mailing list