[127707] trunk/dports/gnome/alacarte/Portfile

devans at macports.org devans at macports.org
Sat Nov 1 07:37:49 PDT 2014


Revision: 127707
          https://trac.macports.org/changeset/127707
Author:   devans at macports.org
Date:     2014-11-01 07:37:49 -0700 (Sat, 01 Nov 2014)
Log Message:
-----------
alacarte: drop python variants, use python27, no python3 support.

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

Modified: trunk/dports/gnome/alacarte/Portfile
===================================================================
--- trunk/dports/gnome/alacarte/Portfile	2014-11-01 14:25:55 UTC (rev 127706)
+++ trunk/dports/gnome/alacarte/Portfile	2014-11-01 14:37:49 UTC (rev 127707)
@@ -5,6 +5,7 @@
 
 name            alacarte
 version         3.11.91
+revision        1
 epoch           1
 license         GPL-2+
 set branch      [join [lrange [split ${version} .] 0 1] .]
@@ -33,7 +34,8 @@
 
 depends_lib     port:desktop-file-utils \
                 port:gtk3 \
-                port:gnome-menus
+                port:gnome-menus \
+                port:py27-gobject3
 
 depends_run     port:gnome-settings-daemon \
                 port:yelp
@@ -48,32 +50,18 @@
 use_autoreconf  yes
 autoreconf.args -fvi
 
+# python3 is not supported
+
+configure.python            ${prefix}/bin/python2.7
+set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
+configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
+
 configure.args  --disable-silent-rules
 
 post-destroot {
     move ${destroot}${prefix}/bin/alacarte.py ${destroot}${prefix}/bin/alacarte
 }
 
-# python3 is not supported
-
-variant python26 description {Use python 2.6} {
-    depends_lib-append          port:py26-gobject3
-    configure.python            ${prefix}/bin/python2.6
-    set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.6
-    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
-}
-
-variant python27 description {Use python 2.7} {
-    depends_lib-append          port:py27-gobject3
-    configure.python            ${prefix}/bin/python2.7
-    set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
-    configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
-}
-
-if {![variant_isset python26]} {
-    default_variants +python27
-}
-
 notes "
     Be sure to set the following environment variables:
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141101/08de21e4/attachment.html>


More information about the macports-changes mailing list