<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/081996bd5a550b94b36d33f217c21efd1ba0e4a4">https://github.com/macports/macports-ports/commit/081996bd5a550b94b36d33f217c21efd1ba0e4a4</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 081996bd5a5 GiNaC: add python build dependency
</span>081996bd5a5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 081996bd5a550b94b36d33f217c21efd1ba0e4a4
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Wed Jan 18 07:26:34 2023 -0600
<span style='display:block; white-space:pre;color:#404040;'> GiNaC: add python build dependency
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/66713
</span>---
math/GiNaC/Portfile | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/GiNaC/Portfile b/math/GiNaC/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5f3ec6f7dd2..0e02a020242 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/GiNaC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/GiNaC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,8 +29,30 @@ checksums rmd160 e074d5ad418d7927e3ca521326f48187084d0061 \
</span> compiler.cxx_standard 2011
depends_build port:pkgconfig
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:readline \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cln
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:cln \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:readline
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python39 python310 python311 description {Use Python 3.8} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python38 python310 python311 description {Use Python 3.9} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python38 python39 python311 description {Use Python 3.10} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python38 python39 python310 description {Use Python 3.11} {}
</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;'>+ && ![variant_isset python310]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python311
</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;'>+foreach pv {311 310 39 38} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset python${pv}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${pv}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON=${prefix}/bin/python[string index ${pv} 0].[string range ${pv} 1 end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
test.run yes
test.target check
</pre><pre style='margin:0'>
</pre>