<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/83b5698cc50438f3e4db8439d97ff39c51cea6e4">https://github.com/macports/macports-ports/commit/83b5698cc50438f3e4db8439d97ff39c51cea6e4</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 83b5698cc50 itstool: Add python 3.12 variant, make default
</span>83b5698cc50 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 83b5698cc50438f3e4db8439d97ff39c51cea6e4
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Jan 19 15:48:17 2024 +0000
<span style='display:block; white-space:pre;color:#404040;'> itstool: Add python 3.12 variant, make default
</span>---
textproc/itstool/Portfile | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/itstool/Portfile b/textproc/itstool/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4ede8c3b48f..845a6670ead 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/itstool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/itstool/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,52 +36,55 @@ depends_lib port:gettext
</span>
patchfiles patch-configure.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python38 python39 python310 python311 description {Use Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python38 python39 python310 python311 python312 description {Use Python 2.7} {
</span> configure.python \
${prefix}/bin/python2.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append \
port:py27-libxml2
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python27 python39 python310 python311 description {Use Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python39 python310 python311 python312 description {Use Python 3.8} {
</span> configure.python \
${prefix}/bin/python3.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append \
port:py38-libxml2
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python27 python38 python310 python311 description {Use Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python38 python310 python311 python312 description {Use Python 3.9} {
</span> configure.python \
${prefix}/bin/python3.9
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append \
port:py39-libxml2
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python27 python38 python39 python311 description {Use Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python27 python38 python39 python311 python312 description {Use Python 3.10} {
</span> configure.python \
${prefix}/bin/python3.10
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append \
port:py310-libxml2
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python311 conflicts python27 python38 python39 python310 description {Use Python 3.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python27 python38 python39 python310 python312 description {Use Python 3.11} {
</span> configure.python \
${prefix}/bin/python3.11
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append \
port:py311-libxml2
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python312 conflicts python27 python38 python39 python310 python311 description {Use Python 3.12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/bin/python3.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py312-libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset python27] && \
![variant_isset python38] && \
![variant_isset python39] && \
![variant_isset python310] && \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python311] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ![variant_isset python312]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python312
</span> }
livecheck.type regex
</pre><pre style='margin:0'>
</pre>