<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/45fbd47f604991ef835b7e36c47f7cfdb83f98de">https://github.com/macports/macports-ports/commit/45fbd47f604991ef835b7e36c47f7cfdb83f98de</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 45fbd47f604991ef835b7e36c47f7cfdb83f98de
</span>Author: Mark Mentovai <mark@mentovai.com>
AuthorDate: Mon Nov 28 12:00:23 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> xorg-libxcb: add python311 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The python310 variant is still the default, as it’s early days for
</span><span style='display:block; white-space:pre;color:#404040;'> Python 3.11 and, in particular, Python 3.11 in MacPorts.
</span>---
x11/xorg-libxcb/Portfile | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xorg-libxcb/Portfile b/x11/xorg-libxcb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 08ceb818d9e..2c4f22d1d4b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xorg-libxcb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xorg-libxcb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,31 +59,37 @@ variant docs description "Install extra documentation" {
</span> #
# [1] https://gitlab.freedesktop.org/xorg/lib/libxcb/blob/1.13.1/configure.ac#L85
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python38 python39 python310 description {Use python 3.7} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 conflicts python38 python39 python310 python311 description {Use python 3.7} {
</span> depends_build-append port:python37
license_noconflict python37
configure.python ${prefix}/bin/python3.7
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python37 python39 python310 description {Use python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python37 python39 python310 python311 description {Use python 3.8} {
</span> depends_build-append port:python38
license_noconflict python38
configure.python ${prefix}/bin/python3.8
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python37 python38 python310 description {Use python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python37 python38 python310 python311 description {Use python 3.9} {
</span> depends_build-append port:python39
license_noconflict python39
configure.python ${prefix}/bin/python3.9
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python37 python38 python39 description {Use python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python37 python38 python39 python311 description {Use python 3.10} {
</span> depends_build-append port:python310
license_noconflict python310
configure.python ${prefix}/bin/python3.10
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python37 python38 python39 python310 description {Use python 3.11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:python311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ license_noconflict python311
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python311]} {
</span> default_variants +python310
}
</pre><pre style='margin:0'>
</pre>