[127459] users/devans/GNOME-3/stable/dports/devel/glade/Portfile

devans at macports.org devans at macports.org
Tue Oct 28 11:31:56 PDT 2014


Revision: 127459
          https://trac.macports.org/changeset/127459
Author:   devans at macports.org
Date:     2014-10-28 11:31:56 -0700 (Tue, 28 Oct 2014)
Log Message:
-----------
GNOME-3/stable: glade, drop +python26 variant, default to optional +python27.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/devel/glade/Portfile

Modified: users/devans/GNOME-3/stable/dports/devel/glade/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/devel/glade/Portfile	2014-10-28 18:29:15 UTC (rev 127458)
+++ users/devans/GNOME-3/stable/dports/devel/glade/Portfile	2014-10-28 18:31:56 UTC (rev 127459)
@@ -5,6 +5,7 @@
 
 name                glade
 version             3.18.3
+revision            1
 license             LGPL-2+ GPL-2+
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         Glade is a RAD tool to enable quick & easy development of user interfaces \
@@ -57,28 +58,21 @@
 configure.args      --enable-introspection=yes \
                     --enable-gladeui \
                     --enable-debug \
+                    --disable-python \
                     --disable-silent-rules
 
 configure.cflags-append \
                     -Wno-format-nonliteral
 
-variant python26 conflicts python27 description {Use python 2.6} {
-    configure.python            ${prefix}/bin/python2.6
-    depends_lib-append          port:py26-gobject3
-    set python_framework        ${frameworks_dir}/Python.framework/Versions/2.6
-    configure.pkg_config_path   ${python_framework}/lib/pkgconfig
-}
-
-variant python27 conflicts python26 description {Use python 2.7} {
+variant python27 description {Build Python 2.7 widgets support} {
+    configure.args-replace      --disable-python --enable-python
     configure.python            ${prefix}/bin/python2.7
     depends_lib-append          port:py27-gobject3
     set python_framework        ${frameworks_dir}/Python.framework/Versions/2.7
     configure.pkg_config_path   ${python_framework}/lib/pkgconfig
 }
 
-if {![variant_isset python26]} {
-    default_variants +python27
-}
+default_variants +python27
 
 post-activate {
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141028/4095d341/attachment.html>


More information about the macports-changes mailing list