[127538] trunk/dports/devel/glade
devans at macports.org
devans at macports.org
Wed Oct 29 05:00:56 PDT 2014
Revision: 127538
https://trac.macports.org/changeset/127538
Author: devans at macports.org
Date: 2014-10-29 05:00:56 -0700 (Wed, 29 Oct 2014)
Log Message:
-----------
glade: drop +python26 variant, default to optional +python27.
Modified Paths:
--------------
trunk/dports/devel/glade/Portfile
Property Changed:
----------------
trunk/dports/devel/glade/
Property changes on: trunk/dports/devel/glade
___________________________________________________________________
Modified: svn:mergeinfo
- /users/devans/GNOME-3/stable/dports/devel/glade:118273-120079
+ /users/devans/GNOME-3/stable/dports/devel/glade:118273-127537
Modified: trunk/dports/devel/glade/Portfile
===================================================================
--- trunk/dports/devel/glade/Portfile 2014-10-29 10:37:47 UTC (rev 127537)
+++ trunk/dports/devel/glade/Portfile 2014-10-29 12:00:56 UTC (rev 127538)
@@ -5,6 +5,7 @@
name glade
version 3.18.3
+revision 1
license LGPL-2+ GPL-2+
set branch [join [lrange [split ${version} .] 0 1] .]
description Glade is a RAD tool to enable quick & easy development of user interfaces \
@@ -57,28 +58,21 @@
configure.args --enable-introspection=yes \
--enable-gladeui \
--enable-debug \
+ --disable-python \
--disable-silent-rules
configure.cflags-append \
-Wno-format-nonliteral
-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} {
+variant python27 description {Build Python 2.7 widgets support} {
+ configure.args-replace --disable-python --enable-python
configure.python ${prefix}/bin/python2.7
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/update-desktop-database ${prefix}/share/applications"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141029/e4478682/attachment.html>
More information about the macports-changes
mailing list