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

<span style='display:block; white-space:pre;color:#404040;'>    gtk-doc: add python 3.11 variant and make default
</span>---
 gnome/gtk-doc/Portfile | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk-doc/Portfile b/gnome/gtk-doc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e8727523537..606df33af81 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk-doc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk-doc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,7 +49,7 @@ configure.env-append XSLTPROC=${prefix}/bin/xsltproc
</span> configure.args      --with-xml-catalog=${prefix}/etc/xml/catalog \
                     --disable-silent-rules
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python38 python39 python310 description {Build using Python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python38 python39 python310 python311 description {Build using Python 3.7} {
</span>     depends_lib-append \
         port:python37 \
         port:py37-anytree \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,7 +61,7 @@ variant python37 conflicts python38 python39 python310 description {Build using
</span>     configure.python    ${prefix}/bin/python3.7
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python37 python39 python310 description {Build using Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python37 python39 python310 python311 description {Build using Python 3.8} {
</span>     depends_lib-append \
         port:python38 \
         port:py38-anytree \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -73,7 +73,7 @@ variant python38 conflicts python37 python39 python310 description {Build using
</span>     configure.python    ${prefix}/bin/python3.8
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python37 python38 python310 description {Build using Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python37 python38 python310 python311 description {Build using Python 3.9} {
</span>     depends_lib-append \
         port:python39 \
         port:py39-anytree \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,7 +85,7 @@ variant python39 conflicts python37 python38 python310 description {Build using
</span>     configure.python    ${prefix}/bin/python3.9
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python37 python38 python39 description {Build using Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python37 python38 python39 python311 description {Build using Python 3.10} {
</span>     depends_lib-append \
         port:python310 \
         port:py310-anytree \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -97,11 +97,24 @@ variant python310 conflicts python37 python38 python39 description {Build using
</span>     configure.python    ${prefix}/bin/python3.10
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python37 python38 python39 python310 description {Build using Python 3.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:python311 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:py311-anytree \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:py311-lxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        port:py311-pygments
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_test        port:py311-mock
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.python    ${prefix}/bin/python3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> if {![variant_isset python37] &&
     ![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> }
 
 # some tests are known to fail in gtk-doc 1.29+
</pre><pre style='margin:0'>

</pre>