<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/9445e70972f59a71903085ec0f2d3c1c84c6a334">https://github.com/macports/macports-ports/commit/9445e70972f59a71903085ec0f2d3c1c84c6a334</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 9445e70972f libtorrent-rasterbar: add python311 variant
</span>9445e70972f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9445e70972f59a71903085ec0f2d3c1c84c6a334
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Sat Mar 11 21:28:15 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> libtorrent-rasterbar: add python311 variant
</span>---
net/libtorrent-rasterbar/Portfile | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 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 d8d7885bc9f..97360bd4473 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,7 +9,7 @@ PortGroup cmake 1.1
</span> PortGroup boost 1.0
github.setup arvidn libtorrent 2.0.8 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> name libtorrent-rasterbar
license BSD
categories net
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,7 +55,7 @@ universal_variant no
</span>
conflicts_build ${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python39 python310 description {Build bindings for Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 python310 python311 description {Build bindings for Python 3.8} {
</span> require_active_variants boost[boost::version_nodot] python38
depends_lib-append port:python38
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +63,7 @@ variant python38 conflicts python39 python310 description {Build bindings for Py
</span> -DBoost_PYTHON38_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python38-mt.dylib
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python38 python310 description {Build bindings for Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 python311 description {Build bindings for Python 3.9} {
</span> require_active_variants boost[boost::version_nodot] python39
depends_lib-append port:python39
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -71,12 +71,20 @@ variant python39 conflicts python38 python310 description {Build bindings for Py
</span> -DBoost_PYTHON39_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python39-mt.dylib
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python38 python39 description {Build bindings for Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python38 python39 python311 description {Build bindings for Python 3.10} {
</span> require_active_variants boost[boost::version_nodot] python310
depends_lib-append port:python310
configure.args-append \
-DPython3_EXECUTABLE=${prefix}/bin/python3.10 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DBoost_PYTHON39_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python310-mt.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_PYTHON310_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python310-mt.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python38 python39 python310 description {Build bindings for Python 3.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants boost[boost::version_nodot] python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPython3_EXECUTABLE=${prefix}/bin/python3.11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_PYTHON311_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python311-mt.dylib
</span> }
variant error_logging description {Enable logging of errors to disk} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,5 +92,5 @@ variant error_logging description {Enable logging of errors to disk} {
</span> }
if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python311
</span> }
</pre><pre style='margin:0'>
</pre>