<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0a6499a55c6f64789459f3a0265377574ee6aeea">https://github.com/macports/macports-ports/commit/0a6499a55c6f64789459f3a0265377574ee6aeea</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0a6499a55c6f64789459f3a0265377574ee6aeea
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Apr 13 17:12:29 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> libxmlxx3: update to 3.2.5; switch to py 3.12
</span>---
textproc/libxmlxx3/Portfile | 13 ++++++++-----
textproc/libxmlxx3/files/patch-meson-python3.diff | 14 +++++++-------
2 files changed, 15 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/libxmlxx3/Portfile b/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ba05420171e..180b05faeb9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx3/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup meson 1.0
</span>
name libxmlxx3
set gname libxml++
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.2.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.2.5
</span> revision 0
categories textproc
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,11 +23,14 @@ master_sites gnome:sources/${gname}/${branch}/
</span> distname ${gname}-${version}
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3614be5fa963664c27ad1018e27d4ce6c2e5e804 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ba53f5eaca45b79f4ec1b3b28bc8136fce26873cd38f2e381d9355289e432405 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 819784
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 6ca5b2aa6a786105935bf4fe1de39b9e19d9dc58 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0c9b381b5a83d6b3ab4b0b865d7256dab27d575981b63be2f859edcb94da59c7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 903840
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set py_ver 3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Disable unexpected download of subprojects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+meson.wrap_mode nodownload
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.12
</span> set py_ver_nodot [string map {. {}} ${py_ver}]
set port_ver_major [lindex [split ${version} .] 0]
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/libxmlxx3/files/patch-meson-python3.diff b/textproc/libxmlxx3/files/patch-meson-python3.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index ccb1a5a70ee..cc819396f10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx3/files/patch-meson-python3.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx3/files/patch-meson-python3.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- meson.build.orig 2022-09-09 09:27:12.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ meson.build 2023-06-14 13:30:37.804289855 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -45,7 +45,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig 2024-01-11 05:03:52.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build 2024-04-13 16:31:24.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -46,7 +46,7 @@
</span> cpp_compiler = meson.get_compiler('cpp')
is_msvc = cpp_compiler.get_id() == 'msvc'
<span style='display:block; white-space:pre;background:#ffe0e0;'>--python3 = import('python').find_installation()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-python3 = find_program('python3', version: '>=3.5')
</span> +python3 = import('python').find_installation('@@PYTHON3@@')
<span style='display:block; white-space:pre;background:#ffe0e0;'>- python_version = python3.language_version()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python_version_req = '>= 3.5'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Do we build from a git repository?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Suppose we do if and only if the meson.build file is tracked by git.
</span></pre><pre style='margin:0'>
</pre>