<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1d037423a3112bf9475d0b4cc2ec09829cda27a7">https://github.com/macports/macports-ports/commit/1d037423a3112bf9475d0b4cc2ec09829cda27a7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 1d03742 libproxy: add python37 variant
</span>1d03742 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1d037423a3112bf9475d0b4cc2ec09829cda27a7
</span>Author: Olli Lupton <oliver.lupton@cern.ch>
AuthorDate: Tue Oct 9 10:04:52 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> libproxy: add python37 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Add python37 variant alongside existing python27, python35 and python36 ones.
</span>---
net/libproxy/Portfile | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/libproxy/Portfile b/net/libproxy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4455a80..56e8998 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/libproxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/libproxy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,7 +66,7 @@ configure.args-append \
</span> # Fix an issue with clang-900 (Xcode 9) using the Sierra SDK, <rdar://problem/31263056>
configure.cppflags-append -D_DARWIN_C_SOURCE=1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python35 python36 description {Build Bindings for Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python35 python36 python37 description {Build Bindings for Python 2.7} {
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
depends_lib-append port:python27
configure.args-delete \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,7 +77,7 @@ variant python27 conflicts python35 python36 description {Build Bindings for Pyt
</span> -DPYTHON2_SITEPKG_DIR=${python_prefix}/lib/python2.7/site-packages
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python27 python36 description {Build Bindings for Python 3.5} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python35 conflicts python27 python36 python37 description {Build Bindings for Python 3.5} {
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/3.5
depends_lib-append port:python35
configure.args-delete \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,7 +88,7 @@ variant python35 conflicts python27 python36 description {Build Bindings for Pyt
</span> -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.5/site-packages
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python27 python35 description {Build Bindings for Python 3.6} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python36 conflicts python27 python35 python37 description {Build Bindings for Python 3.6} {
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/3.6
depends_lib-append port:python36
configure.args-delete \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -99,9 +99,20 @@ variant python36 conflicts python27 python35 description {Build Bindings for Pyt
</span> -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.6/site-packages
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 python35 python36 description {Build Bindings for Python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_prefix ${frameworks_dir}/Python.framework/Versions/3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_PYTHON3=NO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DWITH_PYTHON3=YES \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON3_EXECUTABLE=${prefix}/bin/python3.7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.7/site-packages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # build Python 2.7 bindings by default for compatibility
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python35] && ![variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python35] && ![variant_isset python36] && ![variant_isset python37]} {
</span> default_variants +python27
}
</pre><pre style='margin:0'>
</pre>