<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/56ab6367216623cfbe0751a727fffebb3e1370b0">https://github.com/macports/macports-ports/commit/56ab6367216623cfbe0751a727fffebb3e1370b0</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 56ab6367216623cfbe0751a727fffebb3e1370b0
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Fri Nov 5 17:36:29 2021 +0000

<span style='display:block; white-space:pre;color:#404040;'>    itstool: Add python 3.10 variant
</span>---
 textproc/itstool/Portfile | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 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 fc144f0f4bf..d7d74648522 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;'>@@ -32,7 +32,7 @@ depends_build       port:gawk
</span> 
 patchfiles          patch-configure.diff
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python37 python38 python39 description {Use Python 2.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 conflicts python37 python38 python39 python310 description {Use Python 2.7} {
</span>     configure.python \
                     ${prefix}/bin/python2.7
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,7 +40,7 @@ variant python27 conflicts python37 python38 python39 description {Use Python 2.
</span>                     port:py27-libxml2
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python27 python38 python39 description {Use Python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python27 python38 python39 python310 description {Use Python 3.7} {
</span>     configure.python \
                     ${prefix}/bin/python3.7
     
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,7 @@ variant python37 conflicts python27 python38 python39 description {Use Python 3.
</span>                     port:py37-libxml2
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python27 python37 python39 description {Use Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python27 python37 python39 python310 description {Use Python 3.8} {
</span>     configure.python \
                     ${prefix}/bin/python3.8
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,7 +56,7 @@ variant python38 conflicts python27 python37 python39 description {Use Python 3.
</span>                     port:py38-libxml2
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python27 python37 python38 description {Use Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python27 python37 python38 python310 description {Use Python 3.9} {
</span>     configure.python \
                     ${prefix}/bin/python3.9
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -64,8 +64,16 @@ variant python39 conflicts python27 python37 python38 description {Use Python 3.
</span>                     port:py39-libxml2
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python27 python37 python38 python39 description {Use Python 3.10} {
</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.10
</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:py310-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 python37] && ![variant_isset python38] && ![variant_isset python39]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants +python310
</span> }
 
 livecheck.type      regex
</pre><pre style='margin:0'>

</pre>