<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">So now a default vips install requires both Python 2.7 and Python 3.4? This is unnecessary and confusing. You should select just one variant as the default, if any.</div><div class=""><br class=""></div><div class="">vq</div><br class=""><div><blockquote type="cite" class=""><div class="">On May 19, 2015, at 7:49 PM, <a href="mailto:bgilbert@macports.org" class="">bgilbert@macports.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="msg" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><dl class="meta" style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; border: 1px solid rgb(0, 0, 102); background-color: rgb(51, 102, 153); padding: 6px; color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;"><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Revision</dt><dd class=""><a href="https://trac.macports.org/changeset/136505" style="font-weight: bold; color: rgb(204, 204, 102);" class="">136505</a></dd><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Author</dt><dd class=""><a href="mailto:bgilbert@macports.org" style="font-weight: bold; color: rgb(204, 204, 102);" class="">bgilbert@macports.org</a></dd><dt style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; float: left; width: 6em; font-weight: bold;" class="">Date</dt><dd class="">2015-05-19 16:49:18 -0700 (Tue, 19 May 2015)</dd></dl><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Log Message</h3><pre style="overflow: auto; background-color: rgb(255, 255, 204); border: 1px solid rgb(255, 170, 0); padding: 6px; background-position: initial initial; background-repeat: initial initial;" class="">vips: Support multiple Python versions via variants

- Install vips8 GI overrides for each requested Python version

- Fix install path for Python 2.7 modules</pre><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Modified Paths</h3><ul style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><li style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt;" class=""><a href="x-msg://32/#trunkdportsgraphicsvipsPortfile" class="">trunk/dports/graphics/vips/Portfile</a></li></ul></div><div id="patch" style="width: 973px; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><h3 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; font-weight: bold;" class="">Diff</h3><a id="trunkdportsgraphicsvipsPortfile" class=""></a><div class="modfile" style="border: 1px solid rgb(204, 204, 204); margin: 10px 0px;"><h4 style="font-family: verdana, arial, helvetica, sans-serif; font-size: 10pt; padding: 8px; background-color: rgb(51, 102, 153); color: rgb(255, 255, 255); margin: 0px; background-position: initial initial; background-repeat: initial initial;" class="">Modified: trunk/dports/graphics/vips/Portfile (136504 =&gt; 136505)</h4><pre class="diff" style="padding: 0px 0px 10px; line-height: 1.2em; margin: 0px; width: 971px; background-color: rgb(238, 238, 238); overflow: auto; background-position: initial initial; background-repeat: initial initial;"><span style="display: block; padding: 0px 10px;" class="">
<span class="info" style="color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;">--- trunk/dports/graphics/vips/Portfile        2015-05-19 19:30:11 UTC (rev 136504)
+++ trunk/dports/graphics/vips/Portfile        2015-05-19 23:49:18 UTC (rev 136505)
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="cx" style="display: block; padding: 0px 10px;"> name                vips
</span><span class="cx" style="display: block; padding: 0px 10px;"> version             8.0.2
</span><del style="background-color: rgb(255, 221, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">-revision            1
</del><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+revision            2
</ins><span class="cx" style="display: block; padding: 0px 10px;"> set branch          [join [lrange [split ${version} .] 0 1] .]
</span><span class="cx" style="display: block; padding: 0px 10px;"> description         VIPS is an image processing library.
</span><span class="cx" style="display: block; padding: 0px 10px;"> long_description    VIPS is an image processing library. It is good for \
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -40,7 +40,6 @@
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:openexr \
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:openslide \
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:orc \
</span><del style="background-color: rgb(255, 221, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">-                    port:py27-gobject3 \
</del><span class="cx" style="display: block; padding: 0px 10px;">                     port:tiff \
</span><span class="cx" style="display: block; padding: 0px 10px;">                     port:zlib
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="lines" style="display: block; padding: 0px 10px; color: rgb(136, 136, 136); background-color: rgb(255, 255, 255); background-position: initial initial; background-repeat: initial initial;">@@ -48,9 +47,35 @@
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><span class="cx" style="display: block; padding: 0px 10px;"> gobject_introspection   yes
</span><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><del style="background-color: rgb(255, 221, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">-configure.env       PKG_CONFIG_PATH='${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig'
-configure.args      --enable-gtk-doc
</del><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+configure.args      --enable-gtk-doc \
+                    --disable-pyvips8 \
+                    --without-python
</ins><span class="cx" style="display: block; padding: 0px 10px;"> 
</span><ins style="background-color: rgb(221, 255, 221); text-decoration: none; display: block; padding: 0px 10px; background-position: initial initial; background-repeat: initial initial;" class="">+proc install_pygi {pyver} {
+    global destroot frameworks_dir prefix worksrcpath
+    set destdir ${destroot}${frameworks_dir}/Python.framework/Versions/${pyver}/lib/python${pyver}/site-packages/gi/overrides
+    xinstall -d ${destdir}
+    xinstall ${worksrcpath}/python/Vips.py ${destdir}
+    system "${prefix}/bin/python${pyver} -m compileall ${destdir}"
+}
+variant python27 description {Install Python 2.7 interface} {
+    depends_lib-append      port:py27-gobject3
+    post-destroot {
+        install_pygi        2.7
+    }
+    # Include vips7 legacy API
+    configure.args-delete   --without-python
+    configure.args-append   am_cv_python_pyexecdir='${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages'
+    configure.env-append    PYTHON='${prefix}/bin/python2.7'
+}
+variant python34 description {Install Python 3.4 interface} {
+    depends_lib-append      port:py34-gobject3
+    post-destroot {
+        install_pygi        3.4
+    }
+}
+default_variants    +python27 +python34
+
</ins><span class="cx" style="display: block; padding: 0px 10px;"> livecheck.type      regex
</span><span class="cx" style="display: block; padding: 0px 10px;"> livecheck.url       ${homepage}/supported/current/
</span><span class="cx" style="display: block; padding: 0px 10px;"> livecheck.regex     &gt;${name}-(<a href="smb://d+(?://.//d+)*)$" class="">\\d+(?:\\.\\d+)*)$</a>{extract.suffix}&lt;
</span></span></pre></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">macports-changes mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:macports-changes@lists.macosforge.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">macports-changes@lists.macosforge.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.macosforge.org/mailman/listinfo/macports-changes" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.macosforge.org/mailman/listinfo/macports-changes</a></div></blockquote></div><br class=""></body></html>