<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/177ae4f44bd2e36bafbb66fab0e683eab91f39c6">https://github.com/macports/macports-ports/commit/177ae4f44bd2e36bafbb66fab0e683eab91f39c6</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 177ae4f libtorrent-rasterbar: add +python38 variant, default +python37
</span>177ae4f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 177ae4f44bd2e36bafbb66fab0e683eab91f39c6
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sat Jan 4 12:02:05 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> libtorrent-rasterbar: add +python38 variant, default +python37
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Matches new default variants of dependency boost.
</span>---
net/libtorrent-rasterbar/Portfile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/libtorrent-rasterbar/Portfile b/net/libtorrent-rasterbar/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e12bd6a..f526270 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/libtorrent-rasterbar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/libtorrent-rasterbar/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,6 +9,7 @@ PortGroup github 1.0
</span> github.setup arvidn libtorrent 1_2_3 libtorrent-
name libtorrent-rasterbar
version [string map {_ .} ${version}]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license BSD
categories net
maintainers {devans @dbevans} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +51,7 @@ universal_variant no
</span>
conflicts_build ${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python37 description {Build bindings for Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python37 python38 description {Build bindings for Python 2.7} {
</span> require_active_variants boost python27
depends_lib-append port:python27
configure.python ${prefix}/bin/python2.7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,7 +60,7 @@ variant python27 conflicts python37 description {Build bindings for Python 2.7}
</span> PYTHON_EXTRA_LIBS=
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python27 description {Build bindings for Python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 python38 description {Build bindings for Python 3.7} {
</span> require_active_variants boost python37
depends_lib-append port:python37
configure.python ${prefix}/bin/python3.7
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,10 +69,19 @@ variant python37 conflicts python27 description {Build bindings for Python 3.7}
</span> PYTHON_EXTRA_LIBS=
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python37 description {Build bindings for Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants boost python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python ${prefix}/bin/python3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON_INSTALL_PARAMS=--prefix=${destroot}${frameworks_dir}/Python.framework/Versions/3.8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON_EXTRA_LIBS=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant error_logging description {Enable logging of errors to disk} {
configure.args-append --enable-logging=errors
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python37]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python37
</span> }
</pre><pre style='margin:0'>
</pre>