<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/1b7989c9cfc9222fec9e957f8fb19e5a3a6b8876">https://github.com/macports/macports-ports/commit/1b7989c9cfc9222fec9e957f8fb19e5a3a6b8876</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 1b7989c9cfc iaito: tweak python variants
</span>1b7989c9cfc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1b7989c9cfc9222fec9e957f8fb19e5a3a6b8876
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Apr 22 21:47:23 2021 +0800
<span style='display:block; white-space:pre;color:#404040;'> iaito: tweak python variants
</span>---
devel/iaito/Portfile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/iaito/Portfile b/devel/iaito/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e39958cca64..160d4b094fb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/iaito/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/iaito/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,17 +77,18 @@ proc python-depends {python_branch} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 description {Enable Python support and bindings using Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 description {Enable Python support and bindings using Python 3.8} {
</span> set ::python_branch 3.8
# :: refers to global namespace, so the variable is created in global ns and is usable in pre-destroot
python-depends ${::python_branch}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 description {Enable Python support and bindings using Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 description {Enable Python support and bindings using Python 3.9} {
</span> set ::python_branch 3.9
# :: refers to global namespace, so the variable is created in global ns and is usable in pre-destroot
python-depends ${::python_branch}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>