[79270] trunk/dports/devel/diffuse/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jun 7 15:58:08 PDT 2011


Revision: 79270
          http://trac.macports.org/changeset/79270
Author:   ryandesign at macports.org
Date:     2011-06-07 15:58:08 -0700 (Tue, 07 Jun 2011)
Log Message:
-----------
diffuse: add python27 variant and use it by default; indicate this is noarch

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

Modified: trunk/dports/devel/diffuse/Portfile
===================================================================
--- trunk/dports/devel/diffuse/Portfile	2011-06-07 21:04:29 UTC (rev 79269)
+++ trunk/dports/devel/diffuse/Portfile	2011-06-07 22:58:08 UTC (rev 79270)
@@ -4,9 +4,12 @@
 
 name                diffuse
 version             0.4.4
+revision            1
 categories          devel
 platforms           darwin
 maintainers         tommyd openmaintainer
+supported_archs     noarch
+
 description         diffuse is a graphical diffing and merging tool
 long_description    Ddiffuse is a small and simple text merge tool \
                     written in Python. With Diffuse, you can easily \
@@ -23,25 +26,30 @@
 
 set pythonexec ""
 
-variant python24 conflicts python25 python26 description {Use python24} {
+variant python24 conflicts python25 python26 python27 description {Use python24} {
     depends_lib-append    port:py-gtk2
     set pythonexec        ${prefix}/bin/python2.4
 }
 
-variant python25 conflicts python24 python26 description {Use python25} {
+variant python25 conflicts python24 python26 python27 description {Use python25} {
     depends_lib-append    port:py25-gtk
     set pythonexec        ${prefix}/bin/python2.5
 }
 
-variant python26 conflicts python24 python25 description {Use python26} {
+variant python26 conflicts python24 python25 python27 description {Use python26} {
     depends_lib-append    port:py26-gtk
     set pythonexec        ${prefix}/bin/python2.6
 }
 
-if {![variant_isset python24] && ![variant_isset python25]} {
-    default_variants +python26
+variant python27 conflicts python24 python25 python26 description {Use python27} {
+    depends_lib-append    port:py27-gtk
+    set pythonexec        ${prefix}/bin/python2.7
 }
 
+if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
+    default_variants +python27
+}
+
 use_configure       no
 
 post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110607/9c014aa3/attachment.html>


More information about the macports-changes mailing list