<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/c414f59b698a4e159fcdf63d62879b453e457d8a">https://github.com/macports/macports-ports/commit/c414f59b698a4e159fcdf63d62879b453e457d8a</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 c414f59b698 iaito: add python310 variant
</span>c414f59b698 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c414f59b698a4e159fcdf63d62879b453e457d8a
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Thu Apr 14 20:16:13 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> iaito: add python310 variant
</span>---
devel/iaito/Portfile | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 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 46c782b2234..6c0afcdf3cb 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;'>@@ -36,7 +36,9 @@ configure.args-append \
</span> src/Iaito.pro \
INCLUDEPATH+=${prefix}/include/libr \
INCLUDEPATH+=${prefix}/include/libr/sdb
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xcode yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Workaround xcrun: error: SDK "macosx12" cannot be located
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.sdk_version
</span>
destroot {
copy ${worksrcpath}/iaito.app ${destroot}${applications_dir}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,18 +81,24 @@ proc python-depends {python_branch} {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 conflicts python39 description {Enable Python support and bindings using Python 3.8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 python310 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 conflicts python38 description {Enable Python support and bindings using Python 3.9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 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;'>-if {![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python38 python39 description {Enable Python support and bindings using Python 3.10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ::python_branch 3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # :: refers to global namespace, so the variable is created in global ns and is usable in pre-destroot
</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;'>+if {![variant_isset python38] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python310
</span> }
</pre><pre style='margin:0'>
</pre>