Changeset 122415


Ignore:
Timestamp:
Jul 22, 2014, 2:13:40 PM (5 years ago)
Author:
aronnax@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyfits/Portfile

    r122403 r122415  
    3939patch {
    4040    delete file ${worksrcpath}/cextern/cfitsio
    41     reinplace -E -W ${worksrcpath} {s|(cextern/cfitsio)|#\1|} setup.cfg
     41    reinplace -E -W ${worksrcpath} {s|\s*(cextern/cfitsio).*||} setup.cfg
    4242}
    4343
Note: See TracChangeset for help on using the changeset viewer.