[72383] trunk/dports/devel/gtk-osx-application/Portfile

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Oct 12 10:54:45 PDT 2010


Are we ready to make the jump from python26 to python27 for all of macports?

On Oct 12, 2010, at 13:52 , elelay at macports.org wrote:

> Revision
> 72383
> Author
> elelay at macports.org
> Date
> 2010-10-12 10:52:21 -0700 (Tue, 12 Oct 2010)
> Log Message
> 
> new (default) python27 variant of gtk-osx-application
> Modified Paths
> 
> 	• trunk/dports/devel/gtk-osx-application/Portfile
> Diff
> 
> Modified: trunk/dports/devel/gtk-osx-application/Portfile (72382 => 72383)
> 
> --- trunk/dports/devel/gtk-osx-application/Portfile	2010-10-12 17:49:32 UTC (rev 72382)
> +++ trunk/dports/devel/gtk-osx-application/Portfile	2010-10-12 17:52:21 UTC (rev 72383)
> 
> @@ -51,7 +51,7 @@
> 
>      configure.python 	        ${python_prefix}/bin/python2.5
> 
>      configure.env-append 	    PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
> 
>      configure.env-append 	    PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
> 
> -    configure.pkg_config_path   ${frameworks_dir}/Python.framework/Versions/2.5/lib/pkgconfig/
> 
> +    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig/
> 
>      configure.pre_args	        --prefix=${python_prefix}
> 
>  }
> 
>  
> 
> @@ -62,15 +62,26 @@
> 
>      configure.python 	        ${python_prefix}/bin/python2.6
> 
>      configure.env-append 	    PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
> 
>      configure.env-append 	    PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
> 
> -    configure.pkg_config_path   ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig/
> 
> +    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig/
> 
>      configure.pre_args	        --prefix=${python_prefix}
> 
>  }
> 
>  
> 
> -if {![variant_isset python25]} { 
> -    default_variants +python26
> 
> +variant python27 conflicts python26 conflicts python25 description {Use Python 2.7} {
> +    depends_lib-append port:py27-gtk
> +    set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
> +
> +    configure.python            ${python_prefix}/bin/python2.7
> +    configure.env-append        PYGTK_CODEGEN=${python_prefix}/bin/pygtk-codegen-2.0
> +    configure.env-append        PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
> +    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig/
> +    configure.pre_args          --prefix=${python_prefix}
> 
>  }
> 
>  
> 
> +if {![variant_isset python25] && ![variant_isset python26]} { 
> +    default_variants +python27
> +}
> 
>  
> 
> +
> 
>  configure.ccache	no
> 
>  configure.cmd-append    --libdir=${prefix}/lib --includedir=${prefix}/include
> 
>  
> 
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes



More information about the macports-dev mailing list