[122415] trunk/dports/python/py-pyfits/Portfile

aronnax at macports.org aronnax at macports.org
Tue Jul 22 07:13:40 PDT 2014


Revision: 122415
          https://trac.macports.org/changeset/122415
Author:   aronnax at macports.org
Date:     2014-07-22 07:13:40 -0700 (Tue, 22 Jul 2014)
Log Message:
-----------
py-pyfits: delete, rather than replace, cextern/ lines in setup.cfg

In Python 2.7, setuptools was trying to compile files '#cextern/...'
instead of treating such lines as comments and ignoring them.

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

Modified: trunk/dports/python/py-pyfits/Portfile
===================================================================
--- trunk/dports/python/py-pyfits/Portfile	2014-07-22 14:00:35 UTC (rev 122414)
+++ trunk/dports/python/py-pyfits/Portfile	2014-07-22 14:13:40 UTC (rev 122415)
@@ -38,7 +38,7 @@
 # in setup.cfg.
 patch {
     delete file ${worksrcpath}/cextern/cfitsio
-    reinplace -E -W ${worksrcpath} {s|(cextern/cfitsio)|#\1|} setup.cfg
+    reinplace -E -W ${worksrcpath} {s|\s*(cextern/cfitsio).*||} setup.cfg
 }
 
 if {${name} ne ${subport}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140722/57e417e3/attachment.html>


More information about the macports-changes mailing list