[44827] trunk/dports/lang/python25/Portfile

Rainer Müller raimue at macports.org
Sun Jan 11 09:44:23 PST 2009


afb at macports.org wrote:
> Revision: 44827
>           http://trac.macports.org/changeset/44827
> Author:   afb at macports.org
> Date:     2009-01-03 01:57:38 -0800 (Sat, 03 Jan 2009)
> Log Message:
> -----------
> add +puredarwin platform variant (#16863)
> 
> Modified Paths:
> --------------
>     trunk/dports/lang/python25/Portfile
> 
> Modified: trunk/dports/lang/python25/Portfile
> ===================================================================
> --- trunk/dports/lang/python25/Portfile	2009-01-03 08:51:47 UTC (rev 44826)
> +++ trunk/dports/lang/python25/Portfile	2009-01-03 09:57:38 UTC (rev 44827)
> @@ -66,6 +66,7 @@
>  
>  destroot.target         frameworkinstall maninstall
>  
> +platform macosx {
>  post-destroot {
>          set framewpath ${frameworks_dir}/Python.framework
>          set framewdir  ${framewpath}/Versions/${branch}
> @@ -96,6 +97,7 @@
>          xinstall -m 755 -d ${destroot}${prefix}/etc/select/python
>          xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/
>  }
> +}

Adding this platform results in the following error message on upgrade
on Mac OS X:

  Warning: Skipping upgrade since python25 2.5.4_0 >= python25 2.5.4_0,
  even though installed variant +darwin_9 does not match
  +darwin_9+macosx. Specify -f to force upgrade.

I think the revision should have been bumped, right?

Rainer


More information about the macports-dev mailing list