[144345] trunk/dports/gnome/gexiv2/Portfile

devans at macports.org devans at macports.org
Wed Jan 6 15:10:57 PST 2016


Revision: 144345
          https://trac.macports.org/changeset/144345
Author:   devans at macports.org
Date:     2016-01-06 15:10:57 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
gexiv2: add +python35 variant, default remains +python34 for now (#50236).

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

Modified: trunk/dports/gnome/gexiv2/Portfile
===================================================================
--- trunk/dports/gnome/gexiv2/Portfile	2016-01-06 22:56:40 UTC (rev 144344)
+++ trunk/dports/gnome/gexiv2/Portfile	2016-01-06 23:10:57 UTC (rev 144345)
@@ -49,11 +49,20 @@
     configure.env-append    PYTHON2=${prefix}/bin/python2.7
 }
 
-variant python34 description {Build Python3 bindings using Python 3.4} {
+default_variants +python27
+
+variant python34 conflicts python35 description {Build Python3 bindings using Python 3.4} {
     depends_lib-append      port:py34-gobject3
     configure.env-append    PYTHON3=${prefix}/bin/python3.4
 }
 
-default_variants +python27 +python34
+variant python35 conflicts python34 description {Build Python3 bindings using Python 3.5} {
+    depends_lib-append      port:py35-gobject3
+    configure.env-append    PYTHON3=${prefix}/bin/python3.5
+}
 
+if {![variant_isset python35]} {
+    default_variants +python34
+}
+
 livecheck.type  gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/40c5ad87/attachment.html>


More information about the macports-changes mailing list