<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b5cc24dc7809c0700213dd93845685fc35ddcf45">https://github.com/macports/macports-ports/commit/b5cc24dc7809c0700213dd93845685fc35ddcf45</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b5cc24dc7809c0700213dd93845685fc35ddcf45
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Fri Jun 7 10:29:53 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> littleutils: add python312 variant, make default
</span>---
sysutils/littleutils/Portfile | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/littleutils/Portfile b/sysutils/littleutils/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 61162dbb627..08170d1122c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/littleutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/littleutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,16 +61,17 @@ configure.args PROGPERL=${perl5.bin}
</span>
destroot.target "install install-extra"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python39 python310 python311 description {Use Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python38 python310 python311 description {Use Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python38 python39 python311 description {Use Python 3.10} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python311 conflicts python38 python39 python310 description {Use Python 3.11} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><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;'>+variant python38 conflicts python39 python310 python311 python312 description {Use Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 python311 python312 description {Use Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python38 python39 python311 python312 description {Use Python 3.10} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python38 python39 python310 python312 description {Use Python 3.11} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python312 conflicts python38 python39 python310 python311 description {Use Python 3.12} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach pv {311 310 39 38} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach pv {312 311 310 39 38} {
</span> if {[variant_isset python${pv}]} {
depends_lib-append \
port:python${pv}
</pre><pre style='margin:0'>
</pre>