[86552] trunk/dports/python/py-spyder/Portfile

eborisch at macports.org eborisch at macports.org
Fri Oct 28 07:17:13 PDT 2011


Revision: 86552
          http://trac.macports.org/changeset/86552
Author:   eborisch at macports.org
Date:     2011-10-28 07:17:11 -0700 (Fri, 28 Oct 2011)
Log Message:
-----------
py-spyder: Fix newloines in doc/conf.py

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

Modified: trunk/dports/python/py-spyder/Portfile
===================================================================
--- trunk/dports/python/py-spyder/Portfile	2011-10-28 12:45:08 UTC (rev 86551)
+++ trunk/dports/python/py-spyder/Portfile	2011-10-28 14:17:11 UTC (rev 86552)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 name                py-spyder
 version             2.0.12
-revision            6
+revision            7
 
 PortGroup           python 1.0
 
@@ -58,6 +58,9 @@
             ${worksrcpath}/spyderlib/spyder.py
         reinplace "s|@@APPS_DIR@@|${applications_dir}|g" \
             ${worksrcpath}/spyderlib/utils/programs.py
+        # Windows newlines in the file cause compile() (in 2.6) to choke
+        reinplace "s|\r||g" \
+            ${worksrcpath}/doc/conf.py
     }
 
     depends_lib-append  port:py${python.version}-pyqt4 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111028/1e5b5125/attachment.html>


More information about the macports-changes mailing list