<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8e31852fdf7defc4538f21f9920c6c1d330a30a7">https://github.com/macports/macports-ports/commit/8e31852fdf7defc4538f21f9920c6c1d330a30a7</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 8e31852fdf7 duckdb: explicitly point to MacPorts Python interpreter
</span>8e31852fdf7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 8e31852fdf7defc4538f21f9920c6c1d330a30a7
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Sat Apr 20 14:18:29 2024 -0400

<span style='display:block; white-space:pre;color:#404040;'>    duckdb: explicitly point to MacPorts Python interpreter
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/69766
</span>---
 databases/duckdb/Portfile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/duckdb/Portfile b/databases/duckdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9569e04fa11..f316f171b16 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/duckdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/duckdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,15 +33,17 @@ checksums           rmd160  19b4f50940398851dabfa017f8cbd524edaf3988 \
</span> 
 patchfiles-append   no-ccache.patch
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_version  312
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_branch   \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    [string index ${python_version} 0].[string range ${python_version} 1 end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
                     -DBUILD_EXTENSIONS='parquet\;fts\;httpfs' \
                     -DOVERRIDE_GIT_DESCRIBE=v${version} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    -DPython3_ROOT_DIR=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -DPython3_EXECUTABLE=${prefix}/bin/python${python_branch}
</span> 
 compiler.cxx_standard 2011
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_version  312
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build-append \
                     port:pkgconfig \
                     port:python${python_version} \
</pre><pre style='margin:0'>

</pre>