[80083] trunk/dports/gnome/gnome-desktop-suite/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jul 3 17:02:07 PDT 2011


Revision: 80083
          http://trac.macports.org/changeset/80083
Author:   jeremyhu at macports.org
Date:     2011-07-03 17:02:05 -0700 (Sun, 03 Jul 2011)
Log Message:
-----------
gnome-desktop-suite: Add variants to choose between python versions (2.5, 2.6, and 2.7)

Modified Paths:
--------------
    trunk/dports/gnome/gnome-desktop-suite/Portfile

Modified: trunk/dports/gnome/gnome-desktop-suite/Portfile
===================================================================
--- trunk/dports/gnome/gnome-desktop-suite/Portfile	2011-07-03 23:51:07 UTC (rev 80082)
+++ trunk/dports/gnome/gnome-desktop-suite/Portfile	2011-07-04 00:02:05 UTC (rev 80083)
@@ -5,7 +5,7 @@
 
 name            gnome-desktop-suite
 version         2.30.2
-revision        1
+revision        2
 categories      gnome
 maintainers     devans openmaintainer
 description     The GNOME desktop environment
@@ -116,7 +116,6 @@
                 port:libwnck \
                 port:metacity \
                 port:nautilus \
-                port:py26-pygtksourceview \
                 port:seahorse \
                 port:seahorse-plugins \
                 port:swfdec-gnome \
@@ -163,6 +162,22 @@
                 port:gnome-system-monitor
 }
 
+variant python25 conflicts python26 python27 description {Use python 2.5} {
+    depends_lib-append        port:py25-pygtksourceview
+}
+
+variant python26 conflicts python25 python27 description {Use python 2.6} {
+    depends_lib-append        port:py26-pygtksourceview
+}
+
+variant python27 conflicts python25 python26 description {Use python 2.7} {
+    depends_lib-append        port:py27-pygtksourceview
+}
+
+if {![variant_isset python25] && ![variant_isset python26]} {
+    default_variants +python27
+}
+
 destroot        {
     file mkdir ${destroot}${prefix}/share/doc/gnome
     file copy ${filespath}/README.${name}.txt.in ${destroot}${prefix}/share/doc/gnome/README.${name}.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110703/c165801a/attachment.html>


More information about the macports-changes mailing list