[59137] trunk/dports/devel/glade3/Portfile

snc at macports.org snc at macports.org
Fri Oct 9 22:58:49 PDT 2009


Revision: 59137
          http://trac.macports.org/changeset/59137
Author:   snc at macports.org
Date:     2009-10-09 22:58:48 -0700 (Fri, 09 Oct 2009)
Log Message:
-----------
add python26 variant, make it default, ticket #21729. maintainer timeout.

Modified Paths:
--------------
    trunk/dports/devel/glade3/Portfile

Modified: trunk/dports/devel/glade3/Portfile
===================================================================
--- trunk/dports/devel/glade3/Portfile	2009-10-10 05:54:04 UTC (rev 59136)
+++ trunk/dports/devel/glade3/Portfile	2009-10-10 05:58:48 UTC (rev 59137)
@@ -30,16 +30,13 @@
 
 depends_lib     port:gtk2 \
                 port:libxml2 \
-                port:libgnomeui \
-                port:py25-gtk
+                port:libgnomeui
 
 depends_run     port:hicolor-icon-theme \
                 port:devhelp
 
 configure.args  --disable-scrollkeeper
 
-configure.python ${prefix}/bin/python2.5
-
 post-activate   {
         system "scrollkeeper-update"
 }
@@ -54,6 +51,20 @@
          depends_run-delete port:devhelp
 }
 
+variant python25 conflicts python26 description {Use Python 2.5} {
+        depends_lib-append port:py25-gtk
+        configure.python ${prefix}/bin/python2.5
+}
+
+variant python26 conflicts python25 description {Use Python 2.6} {
+        depends_lib-append port:py26-gtk
+        configure.python ${prefix}/bin/python2.6
+}
+
+if {![variant_isset python25]} { 
+    default_variants +python26
+} 
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091009/7a0fa714/attachment.html>


More information about the macports-changes mailing list