[147344] users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile
devans at macports.org
devans at macports.org
Fri Apr 1 16:11:23 PDT 2016
Revision: 147344
https://trac.macports.org/changeset/147344
Author: devans at macports.org
Date: 2016-04-01 16:11:23 -0700 (Fri, 01 Apr 2016)
Log Message:
-----------
GNOME-3/stable: eog-plugins, add +python35 variant, default +python34.
Modified Paths:
--------------
users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile
Modified: users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile 2016-04-01 23:04:53 UTC (rev 147343)
+++ users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile 2016-04-01 23:11:23 UTC (rev 147344)
@@ -54,7 +54,7 @@
# requires python32 or later
-variant python34 conflicts description {Use python 3.4} {
+variant python34 conflicts python35 description {Use python 3.4} {
depends_build-append port:python34
configure.python ${prefix}/bin/python3.4
set python_framework ${frameworks_dir}/Python.framework/Versions/3.4
@@ -62,8 +62,18 @@
configure.args-replace --disable-python --enable-python
}
-default_variants +python34
+variant python35 conflicts python34 description {Use python 3.5} {
+ depends_build-append port:python35
+ configure.python ${prefix}/bin/python3.5
+ set python_framework ${frameworks_dir}/Python.framework/Versions/3.5
+ configure.pkg_config_path ${python_framework}/lib/pkgconfig
+ configure.args-replace --disable-python --enable-python
+}
+if {![variant_isset python35]} {
+ default_variants +python34
+}
+
post-activate {
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160401/717d7bee/attachment.html>
More information about the macports-changes
mailing list