[131108] trunk/dports/math/gnudatalanguage/Portfile

takeshi at macports.org takeshi at macports.org
Mon Jan 5 23:24:12 PST 2015


Revision: 131108
          https://trac.macports.org/changeset/131108
Author:   takeshi at macports.org
Date:     2015-01-05 23:24:12 -0800 (Mon, 05 Jan 2015)
Log Message:
-----------
gnudatalanguage: retire python25 python26 variants, closing #46404

Modified Paths:
--------------
    trunk/dports/math/gnudatalanguage/Portfile

Modified: trunk/dports/math/gnudatalanguage/Portfile
===================================================================
--- trunk/dports/math/gnudatalanguage/Portfile	2015-01-06 07:19:02 UTC (rev 131107)
+++ trunk/dports/math/gnudatalanguage/Portfile	2015-01-06 07:24:12 UTC (rev 131108)
@@ -8,7 +8,7 @@
 
 name                        gnudatalanguage
 version                     0.9.5
-revision                    2
+revision                    3
 epoch                       1
 
 compilers.choose            cc cxx
@@ -121,7 +121,7 @@
     xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog HACKING NEWS MAP_INSTALL TODO \
         ${destroot}${prefix}/share/doc/${name}
     file copy ${worksrcpath}/testsuite ${destroot}${prefix}/share/${name}/
-    if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} {
+    if {[variant_isset python27]} {
         xinstall -m 644 ${worksrcpath}/PYTHON.txt ${destroot}${prefix}/share/doc/${name}
         file copy ${worksrcpath}/src/py ${destroot}${prefix}/share/${name}/
     }
@@ -154,26 +154,16 @@
 #    #configure.env-append    LDFLAGS=\"-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib\"
 }
 
-if {[variant_isset python25] || [variant_isset python26] || [variant_isset python27]} {
+if {[variant_isset python27]} {
     configure.args-delete   -DPYTHON=OFF
     configure.args-append   -DPYTHON=ON
 }
 
-variant python requires python26 description {Legacy compatibility variant} {}
+# TODO: Remove after 2016-01-04.
+variant python25 requires python27 description {Legacy variant} {}
+variant python26 requires python27 description {Legacy variant} {}
 
-variant python25 conflicts python26 python27 description {build with support for calling Python (2.5) from GDL (using numpy)} {
-    depends_lib-append      port:py25-numpy
-    configure.args-append   -DPYTHONDIR=${frameworks_dir}/Python.framework/Versions/2.5 \
-                            -DPYTHONVERSION=2.5
-}
-
-variant python26 conflicts python25 python27 description {build with support for calling Python (2.6) from GDL (using numpy)} {
-    depends_lib-append      port:py26-numpy
-    configure.args-append   -DPYTHONDIR=${frameworks_dir}/Python.framework/Versions/2.6 \
-                            -DPYTHONVERSION=2.6
-}
-
-variant python27 conflicts python25 python26 description {build with support for calling Python (2.7) from GDL (using numpy)} {
+variant python27 description {build with support for calling Python (2.7) from GDL (using numpy)} {
     depends_lib-append      port:py27-numpy
     configure.args-append   -DPYTHONDIR=${frameworks_dir}/Python.framework/Versions/2.7 \
                             -DPYTHONVERSION=2.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150105/0d4bf125/attachment-0001.html>


More information about the macports-changes mailing list