[82279] trunk/dports/python/py-spyder

Ryan Schmidt ryandesign at macports.org
Thu Aug 11 20:59:11 PDT 2011


On Aug 11, 2011, at 16:47, eborisch at macports.org wrote:

> Revision: 82279
>          http://trac.macports.org/changeset/82279
> Author:   eborisch at macports.org
> Date:     2011-08-11 14:47:32 -0700 (Thu, 11 Aug 2011)
> Log Message:
> -----------
> py-spyder: More fixes; enabled launching help, Qt apps, and python documentation from menus.


> Added: trunk/dports/python/py-spyder/Files/spyderlib_utils_programs.py.patch
> ===================================================================
> --- trunk/dports/python/py-spyder/Files/spyderlib_utils_programs.py.patch	                        (rev 0)
> +++ trunk/dports/python/py-spyder/Files/spyderlib_utils_programs.py.patch	2011-08-11 21:47:32 UTC (rev 82279)
> @@ -0,0 +1,15 @@
> +--- spyderlib/utils/programs.py.orig	2011-08-11 14:41:11.000000000 -0500
> ++++ spyderlib/utils/programs.py	2011-08-11 14:43:54.000000000 -0500
> +@@ -29,6 +29,12 @@
> +             else:
> +                 return True
> +     else:
> ++        abspath = "/Applications/MacPorts/Qt4/" + basename + ".app/Contents/MacOS/" + basename

You should not assume apps go in /Applications/MacPorts; use the value of ${applications_dir} instead (perhaps reinplace it into the file, like you do with ${prefix} elsewhere).





More information about the macports-dev mailing list