[147395] trunk/dports/gnome/eog-plugins
devans at macports.org
devans at macports.org
Sat Apr 2 16:57:27 PDT 2016
Revision: 147395
https://trac.macports.org/changeset/147395
Author: devans at macports.org
Date: 2016-04-02 16:57:27 -0700 (Sat, 02 Apr 2016)
Log Message:
-----------
eog-plugins: add +python35 variant, default +python34.
Modified Paths:
--------------
trunk/dports/gnome/eog-plugins/Portfile
Property Changed:
----------------
trunk/dports/gnome/eog-plugins/
Property changes on: trunk/dports/gnome/eog-plugins
___________________________________________________________________
Modified: svn:mergeinfo
- /users/devans/GNOME-3/stable/dports/gnome/eog-plugins:113175-142305
/users/devans/GNOME-3/unstable/dports/gnome/eog-plugins:116525-118152,124221-125772,133199-134397,136843-140590
+ /users/devans/GNOME-3/stable/dports/gnome/eog-plugins:113175-147344
/users/devans/GNOME-3/unstable/dports/gnome/eog-plugins:116525-118152,124221-125772,133199-134397,136843-140590
Modified: trunk/dports/gnome/eog-plugins/Portfile
===================================================================
--- trunk/dports/gnome/eog-plugins/Portfile 2016-04-02 23:56:48 UTC (rev 147394)
+++ trunk/dports/gnome/eog-plugins/Portfile 2016-04-02 23:57:27 UTC (rev 147395)
@@ -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/20160402/bf8e2831/attachment.html>
More information about the macports-changes
mailing list