<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/8e9ee8c7a5701c7cbd2fa296dbfe26b0d55f29e7">https://github.com/macports/macports-ports/commit/8e9ee8c7a5701c7cbd2fa296dbfe26b0d55f29e7</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 8e9ee8c7a57 libtorrent-rasterbar: default to python 3.12
</span>8e9ee8c7a57 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8e9ee8c7a5701c7cbd2fa296dbfe26b0d55f29e7
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Fri Feb 16 11:40:44 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> libtorrent-rasterbar: default to python 3.12
</span>---
net/libtorrent-rasterbar/Portfile | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 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 b2297d11b84..3a31ce98828 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;'>@@ -14,7 +14,7 @@ PortGroup boost 1.0
</span> boost.version 1.81
github.setup arvidn libtorrent 2.0.9 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> name libtorrent-rasterbar
license BSD
categories net
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +60,7 @@ universal_variant no
</span>
conflicts_build ${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python39 python310 python311 description {Build bindings for Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 python310 python311 python312 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;'>@@ -68,7 +68,7 @@ variant python38 conflicts python39 python310 python311 description {Build bindi
</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 python311 description {Build bindings for Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 python311 python312 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;'>@@ -76,7 +76,7 @@ variant python39 conflicts python38 python310 python311 description {Build bindi
</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 python311 description {Build bindings for Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python38 python39 python311 python312 description {Build bindings for Python 3.10} {
</span> require_active_variants boost[boost::version_nodot] python310
depends_lib-append port:python310
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,7 +84,7 @@ variant python310 conflicts python38 python39 python311 description {Build bindi
</span> -DBoost_PYTHON310_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python310-mt.dylib
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python311 conflicts python38 python39 python310 description {Build bindings for Python 3.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python38 python39 python310 python312 description {Build bindings for Python 3.11} {
</span> require_active_variants boost[boost::version_nodot] python311
depends_lib-append port:python311
configure.args-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,10 +92,18 @@ variant python311 conflicts python38 python39 python310 description {Build bindi
</span> -DBoost_PYTHON311_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python311-mt.dylib
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python312 conflicts python38 python39 python310 python311 description {Build bindings for Python 3.12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants boost[boost::version_nodot] python312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python312
</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.12 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBoost_PYTHON312_LIBRARY_RELEASE=[boost::lib_dir]/libboost_python312-mt.dylib
</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-replace -Dlogging=OFF -Dlogging=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python312
</span> }
</pre><pre style='margin:0'>
</pre>