[127705] trunk/dports/gnome/gnumeric/Portfile

devans at macports.org devans at macports.org
Sat Nov 1 07:17:09 PDT 2014


Revision: 127705
          https://trac.macports.org/changeset/127705
Author:   devans at macports.org
Date:     2014-11-01 07:17:09 -0700 (Sat, 01 Nov 2014)
Log Message:
-----------
gnumeric: drop +python26 variant, default to optional +python27.

Modified Paths:
--------------
    trunk/dports/gnome/gnumeric/Portfile

Modified: trunk/dports/gnome/gnumeric/Portfile
===================================================================
--- trunk/dports/gnome/gnumeric/Portfile	2014-11-01 13:39:27 UTC (rev 127704)
+++ trunk/dports/gnome/gnumeric/Portfile	2014-11-01 14:17:09 UTC (rev 127705)
@@ -6,6 +6,7 @@
 
 name                gnumeric
 version             1.12.18
+revision            1
 set branch          [join [lrange [split ${version} .] 0 1] .]
 
 license             GPL-2+
@@ -50,7 +51,8 @@
 configure.args      --disable-silent-rules \
                     --disable-schemas-compile \
                     --enable-introspection \
-                    --without-gda
+                    --without-gda \
+                    --without-python
 
 # gobject-introspection uses g-ir-scanner, which uses $CC from env
 build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
@@ -60,23 +62,15 @@
     configure.args-replace    --without-gda --with-gda
 }
 
-variant python26 conflicts python27 description {Use python 2.6} {
-    configure.python          ${prefix}/bin/python2.6
-    depends_lib-append        port:py26-gobject3
-    set python_framework      ${frameworks_dir}/Python.framework/Versions/2.6
-    configure.pkg_config_path ${python_framework}/lib/pkgconfig
-}
-
 variant python27 conflicts python26 description {Use python 2.7} {
     configure.python          ${prefix}/bin/python2.7
+    configure.args-replace    --without-python --with-python
     depends_lib-append        port:py27-gobject3
     set python_framework      ${frameworks_dir}/Python.framework/Versions/2.7
     configure.pkg_config_path ${python_framework}/lib/pkgconfig
 }
 
-if {![variant_isset python26]} {
-    default_variants +python27
-}
+default_variants +python27
 
 post-activate {
     system "${prefix}/bin/scrollkeeper-update"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141101/374e61dc/attachment.html>


More information about the macports-changes mailing list