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

singingwolfboy at macports.org singingwolfboy at macports.org
Mon Nov 14 10:03:44 PST 2011


Revision: 87233
          http://trac.macports.org/changeset/87233
Author:   singingwolfboy at macports.org
Date:     2011-11-14 10:03:43 -0800 (Mon, 14 Nov 2011)
Log Message:
-----------
py-pympler: fix data_path

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

Modified: trunk/dports/python/py-pympler/Portfile
===================================================================
--- trunk/dports/python/py-pympler/Portfile	2011-11-14 17:15:11 UTC (rev 87232)
+++ trunk/dports/python/py-pympler/Portfile	2011-11-14 18:03:43 UTC (rev 87233)
@@ -7,6 +7,7 @@
 name                py-pympler
 set real_name       Pympler
 version             0.2.1
+revision            1
 python.versions     24 25 26 27 31 32
 categories-append   devel
 maintainers         openmaintainer singingwolfboy
@@ -25,6 +26,10 @@
 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
+}
 
 checksums           rmd160  47b2285eb5fe9ff01f50d71e57da896110865af2 \
                     sha256  292ee62bd50633af4d460d722c77e8c31647e936ae68e3c000e229312163becd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111114/8a5c8cea/attachment.html>


More information about the macports-changes mailing list