<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/962e543b08b11a75a16760edf7e802a4198d952e">https://github.com/macports/macports-ports/commit/962e543b08b11a75a16760edf7e802a4198d952e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 962e543b08b11a75a16760edf7e802a4198d952e
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Wed Dec 30 14:07:15 2020 -0500

<span style='display:block; white-space:pre;color:#404040;'>    libtorrent-rasterbar: support python39
</span>---
 net/libtorrent-rasterbar/Portfile | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 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 d0048108df8..171c0b13ee2 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;'>@@ -63,7 +63,7 @@ variant python27 conflicts python37 python38 description {Build bindings for Pyt
</span>                 PYTHON_EXTRA_LIBS=
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python27 python38 description {Build bindings for Python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 python38 python39 description {Build bindings for Python 3.7} {
</span>         require_active_variants boost python37
         depends_lib-append port:python37
         configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +74,7 @@ variant python37 conflicts python27 python38 description {Build bindings for Pyt
</span>                 PYTHON_EXTRA_LIBS=
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python27 python37 description {Build bindings for Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python37 python39 description {Build bindings for Python 3.8} {
</span>         require_active_variants boost python38
         depends_lib-append port:python38
         configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,10 +85,21 @@ variant python38 conflicts python27 python37 description {Build bindings for Pyt
</span>                 PYTHON_EXTRA_LIBS=
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python37 python38 description {Build bindings for Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants boost python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append port:python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                --with-boost-python="boost_python39-mt"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        configure.python ${prefix}/bin/python3.9
</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.9 \
</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 python27] && ![variant_isset python37] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
</span>         default_variants +python38
 }
</pre><pre style='margin:0'>

</pre>