[127709] trunk/dports/gnome/vte-gtk2-compat/Portfile

devans at macports.org devans at macports.org
Sat Nov 1 07:51:37 PDT 2014


Revision: 127709
          https://trac.macports.org/changeset/127709
Author:   devans at macports.org
Date:     2014-11-01 07:51:37 -0700 (Sat, 01 Nov 2014)
Log Message:
-----------
vte-gtk2-compat: drop +python26 variant and legacy +without_python variant, default to optional +python27 variant.

Modified Paths:
--------------
    trunk/dports/gnome/vte-gtk2-compat/Portfile

Modified: trunk/dports/gnome/vte-gtk2-compat/Portfile
===================================================================
--- trunk/dports/gnome/vte-gtk2-compat/Portfile	2014-11-01 14:47:27 UTC (rev 127708)
+++ trunk/dports/gnome/vte-gtk2-compat/Portfile	2014-11-01 14:51:37 UTC (rev 127709)
@@ -6,6 +6,7 @@
 name            vte-gtk2-compat
 set gname       vte
 version         0.28.2
+revision        1
 set branch      [join [lrange [split $version .] 0 1] .]
 maintainers     devans openmaintainer
 categories      gnome
@@ -47,13 +48,7 @@
 
 configure.cflags-append -fstrict-aliasing
 
-# default to python27 bindings
-if {![variant_isset python27] && ![variant_isset python26] && ![variant_isset without_python]} {
-    default_variants +python27
-}
-
-variant python27 conflicts python26 \
-description {Build Bindings for Python 2.7} {
+variant python27 description {Build Python bindings using Python 2.7} {
     configure.args-delete --disable-python
     set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
     depends_lib-append port:py27-pygtk
@@ -62,19 +57,9 @@
     configure.env               PATH=${python_prefix}/bin:$env(PATH)
 }
 
-variant python26 conflicts python27 \
-description {Build Bindings for Python 2.6} {
-    configure.args-delete --disable-python
-    set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
-    depends_lib-append port:py26-pygtk
-    configure.python ${prefix}/bin/python2.6
-    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
-    configure.env               PATH=${python_prefix}/bin:$env(PATH)
-}
+# default to optional python27 bindings
 
-variant without_python description {Disable Python support (deprecated, use -pythonXX instead)} {
-    default_variants -python27 -python26
-}
+default_variants +python27
 
 # rename gnome-pty-helper to avoid a conflict with port vte
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141101/15d8d8d4/attachment.html>


More information about the macports-changes mailing list