[127551] trunk/dports/gnome/goocanvas2/Portfile
devans at macports.org
devans at macports.org
Wed Oct 29 06:59:25 PDT 2014
Revision: 127551
https://trac.macports.org/changeset/127551
Author: devans at macports.org
Date: 2014-10-29 06:59:25 -0700 (Wed, 29 Oct 2014)
Log Message:
-----------
goocanvas2: drop +python26 variant, default to optional +python27, no python3 support.
Modified Paths:
--------------
trunk/dports/gnome/goocanvas2/Portfile
Modified: trunk/dports/gnome/goocanvas2/Portfile
===================================================================
--- trunk/dports/gnome/goocanvas2/Portfile 2014-10-29 13:32:49 UTC (rev 127550)
+++ trunk/dports/gnome/goocanvas2/Portfile 2014-10-29 13:59:25 UTC (rev 127551)
@@ -6,7 +6,7 @@
name goocanvas2
set gname goocanvas
version 2.0.2
-revision 1
+revision 2
set branch [join [lrange [split ${version} .] 0 1] .]
description A Cairo Canvas Widget for GTK+ version 3
long_description GooCanvas is a canvas widget for GTK+ version 3 that uses the cairo 2D library \
@@ -34,25 +34,19 @@
patchfiles patch-configure.diff
configure.args --enable-introspection=no \
- --enable-python=yes
+ --enable-python=no
-variant python26 conflicts python27 description {Build using Python 2.6} {
- set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
- configure.python ${prefix}/bin/python2.6
- configure.pkg_config_path ${python_prefix}/lib/pkgconfig
- depends_build-append port:py26-gobject3
-}
+# doesn't support python3 yet
-variant python27 conflicts python26 description {Build using Python 2.7} {
+variant python27 conflicts python34 description {Build Python bindings using Python 2.7} {
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
+ configure.args-replace --enable-python=no --enable-python=yes
configure.python ${prefix}/bin/python2.7
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
- depends_build-append port:py27-gobject3
+ depends_lib-append port:py27-gobject3
}
-if {![variant_isset python26]} {
- default_variants +python27
-}
+default_variants +python27
livecheck.type gnome
livecheck.name ${gname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141029/1174e54d/attachment-0001.html>
More information about the macports-changes
mailing list