<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aeeb1a95bfead0e303107f137b55a99c86759fd7">https://github.com/macports/macports-ports/commit/aeeb1a95bfead0e303107f137b55a99c86759fd7</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 aeeb1a95bfe iproute2mac: add python311 variant
</span>aeeb1a95bfe is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aeeb1a95bfead0e303107f137b55a99c86759fd7
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Tue Oct 25 18:15:28 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> iproute2mac: add python311 variant
</span>---
net/iproute2mac/Portfile | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/iproute2mac/Portfile b/net/iproute2mac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1f8eed640f6..4b8e2dfb5e7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/iproute2mac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/iproute2mac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,7 @@ checksums rmd160 42a231dd3aebdd284619c44b8e56cdbb6a4aec47 \
</span> size 9182
pre-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310] && ![variant_isset python311]} {
</span> ui_error "${name} requires Python, please use a Python variant."
return -code error
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -47,23 +47,28 @@ proc python-depends {python_branch} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python310 conflicts python38 python39 description {Use Python 3.10 as interpreter} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python38 python39 python310 description {Use Python 3.11 as interpreter} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ::python_branch 3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ python-depends ${::python_branch}
</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;'>+variant python310 conflicts python38 python39 python311 description {Use Python 3.10 as interpreter} {
</span> set ::python_branch 3.10
python-depends ${::python_branch}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 conflicts python38 python310 description {Use Python 3.9 as interpreter} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 python311 description {Use Python 3.9 as interpreter} {
</span> set ::python_branch 3.9
python-depends ${::python_branch}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python39 python310 description {Use Python 3.8 as interpreter} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 python310 python311 description {Use Python 3.8 as interpreter} {
</span> set ::python_branch 3.8
python-depends ${::python_branch}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python38] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python311
</span> }
variant mpsudo description {Use sudo command provided by MacPorts instead of the system} {
</pre><pre style='margin:0'>
</pre>