[149270] trunk/dports/x11/xorg-xcb-proto/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Jun 8 10:34:25 PDT 2016


Revision: 149270
          https://trac.macports.org/changeset/149270
Author:   jeremyhu at macports.org
Date:     2016-06-08 10:34:25 -0700 (Wed, 08 Jun 2016)
Log Message:
-----------
xorg-xcb-proto: Remove legacy python variants and add python35 (#51583)

Modified Paths:
--------------
    trunk/dports/x11/xorg-xcb-proto/Portfile

Modified: trunk/dports/x11/xorg-xcb-proto/Portfile
===================================================================
--- trunk/dports/x11/xorg-xcb-proto/Portfile	2016-06-08 15:39:21 UTC (rev 149269)
+++ trunk/dports/x11/xorg-xcb-proto/Portfile	2016-06-08 17:34:25 UTC (rev 149270)
@@ -31,13 +31,6 @@
     0003-res-Fix-QueryClientIds-reply-size.patch \
     0004-Update-XML-schema-to-fix-make-check.patch
 
-# TODO: Remove after 2016-01-04.
-variant python25 requires python27 description {Legacy variant} {}
-variant python26 requires python27 description {Legacy variant} {}
-variant python31 requires python34 description {Legacy variant} {}
-variant python32 requires python34 description {Legacy variant} {}
-variant python33 requires python34 description {Legacy variant} {}
-
 variant python27 conflicts python34 description {Use python 2.7} {
     depends_lib-append      port:python27
     configure.python        ${prefix}/bin/python2.7
@@ -48,7 +41,12 @@
     configure.python        ${prefix}/bin/python3.4
 }
 
-if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33] && ![variant_isset python34]} {
+variant python34 conflicts python27 description {Use python 3.5} {
+    depends_lib-append      port:python35
+    configure.python        ${prefix}/bin/python3.5
+}
+
+if {![variant_isset python34] && ![variant_isset python35]} {
     default_variants +python27
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160608/4fbed06d/attachment.html>


More information about the macports-changes mailing list