<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/5c61a878715654a10cfbbe297c1b0787fb1ae65b">https://github.com/macports/macports-ports/commit/5c61a878715654a10cfbbe297c1b0787fb1ae65b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5c61a878715654a10cfbbe297c1b0787fb1ae65b
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Mar 1 15:35:46 2023 +0000

<span style='display:block; white-space:pre;color:#404040;'>    itstool: add python 3.11 variant and make default
</span>---
 textproc/itstool/Portfile | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 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 f85574cf3fc..4ede8c3b48f 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,7 +36,7 @@ depends_lib         port:gettext
</span> 
 patchfiles          patch-configure.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python38 python39 python310 description {Use Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python38 python39 python310 python311 description {Use Python 2.7} {
</span>     configure.python \
                     ${prefix}/bin/python2.7
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,7 +44,7 @@ variant python27 conflicts python38 python39 python310 description {Use Python 2
</span>                     port:py27-libxml2
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python27 python39 python310 description {Use Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python39 python310 python311 description {Use Python 3.8} {
</span>     configure.python \
                     ${prefix}/bin/python3.8
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,7 +52,7 @@ variant python38 conflicts python27 python39 python310 description {Use Python 3
</span>                     port:py38-libxml2
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python27 python38 python310 description {Use Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python38 python310 python311 description {Use Python 3.9} {
</span>     configure.python \
                     ${prefix}/bin/python3.9
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +60,7 @@ variant python39 conflicts python27 python38 python310 description {Use Python 3
</span>                     port:py39-libxml2
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python27 python38 python39 description {Use Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python27 python38 python39 python311 description {Use Python 3.10} {
</span>     configure.python \
                     ${prefix}/bin/python3.10
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -68,11 +68,20 @@ variant python310 conflicts python27 python38 python39 description {Use Python 3
</span>                     port:py310-libxml2
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python27 python38 python39 python310 description {Use Python 3.11} {
</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.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py311-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] && \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants +python310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ![variant_isset python310] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    ![variant_isset python311]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants +python311
</span> }
 
 livecheck.type      regex
</pre><pre style='margin:0'>

</pre>