<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4548cd5067f7f08291c8f0ca88b4cdedbecd1830">https://github.com/macports/macports-ports/commit/4548cd5067f7f08291c8f0ca88b4cdedbecd1830</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 4548cd5067f vtk: add python312 variant
</span>4548cd5067f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4548cd5067f7f08291c8f0ca88b4cdedbecd1830
</span>Author: Jonathan Stickel <jjstickel@gmail.com>
AuthorDate: Sat Nov 9 14:01:20 2024 -0700
<span style='display:block; white-space:pre;color:#404040;'> vtk: add python312 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * add python312 variant
</span><span style='display:block; white-space:pre;color:#404040;'> * remove python38 variant
</span><span style='display:block; white-space:pre;color:#404040;'> * revert/fix python variant looping syntax
</span>---
graphics/vtk/Portfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/vtk/Portfile b/graphics/vtk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ba45fdb6ea..e2718650a82 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/vtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/vtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -143,7 +143,7 @@ variant qt5 description {Add Qt5 support.} {
</span> }
# Supported pythons
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python_versions {38 39 310 311}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_versions {39 310 311 312}
</span>
foreach pyver ${python_versions} {
# Conflicting python versions
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -160,7 +160,7 @@ foreach pyver ${python_versions} {
</span> set python_branch "[string index ${pyver} 0].[string range ${pyver} 1 end]"
set python_major_ver "[string index ${pyver} 0]"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- variant python${pyver} conflicts {*}${other_python_versions} description "Add Python ${python_branch} support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant python${pyver} conflicts {*}${other_python_versions} description "Add Python ${python_branch} support" "
</span> depends_lib-append port:python${pyver}
configure.args-delete \
-DVTK_WRAP_PYTHON:BOOL=OFF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -180,15 +180,15 @@ foreach pyver ${python_versions} {
</span>
post-destroot {
# generate setup.py and other necessary files to create .dist-info folder
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath}/build "cmake -DVTK_WHEEL_BUILD:BOOL=ON -DVTK_VERSION_SUFFIX= ${worksrcpath}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath}/build \"cmake -DVTK_WHEEL_BUILD:BOOL=ON -DVTK_VERSION_SUFFIX= ${worksrcpath}\"
</span> set site_pack_dir Library/Frameworks/Python.framework/Versions/${python_branch}/lib/python${python_branch}/site-packages
delete -force ${workpath}/build/vtkmodules
<span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${workpath}/build/${site_pack_dir}/vtkmodules ${workpath}/build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${workpath}/build/\${site_pack_dir}/vtkmodules ${workpath}/build
</span> # create the .dist-info folder and contents
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath}/build "${prefix}/bin/python${python_branch} setup.py dist_info"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${workpath}/build/${name}-${version}.dist-info ${destroot}${prefix}/${site_pack_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath}/build \"${prefix}/bin/python${python_branch} setup.py dist_info\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${workpath}/build/${name}-${version}.dist-info ${destroot}${prefix}/\${site_pack_dir}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span> }
variant xdmf description {Add XDMF readers} {
</pre><pre style='margin:0'>
</pre>