New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82544


Ignore:
Timestamp:
08/15/11 07:11:03 (4 years ago)
Author:
eborisch@…
Message:

py-spyder: Use applications_dir variable rather than hard-code /Applications/MacPorts

Location:
trunk/dports/python/py-spyder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-spyder/Files/spyderlib_utils_programs.py.patch

    r82279 r82544  
    55                 return True 
    66     else: 
    7 +        abspath = "/Applications/MacPorts/Qt4/" + basename + ".app/Contents/MacOS/" + basename 
     7+        abspath = "@@APPS_DIR@@/Qt4/" + basename + ".app/Contents/MacOS/" + basename 
    88+        if osp.isfile(abspath): 
    99+            if get_path: 
  • trunk/dports/python/py-spyder/Portfile

    r82501 r82544  
    5454        reinplace "s|@@PREFIX@@|${prefix}|g" \ 
    5555            ${worksrcpath}/spyderlib/spyder.py 
     56        reinplace "s|@@APPS_DIR@@|${applications_dir}|g" \ 
     57            ${worksrcpath}/spyderlib/utils/programs.py 
    5658    } 
    5759 
Note: See TracChangeset for help on using the changeset viewer.