<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/0d4e51398cd5e632148f1d5f2a3ff6cea2fc7690">https://github.com/macports/macports-ports/commit/0d4e51398cd5e632148f1d5f2a3ff6cea2fc7690</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0d4e51398cd5e632148f1d5f2a3ff6cea2fc7690
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat Apr 13 17:11:56 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> libxmlxx2: update to 2.42.3; switch to py 3.12
</span>---
textproc/libxmlxx2/Portfile | 13 ++++++++-----
textproc/libxmlxx2/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/libxmlxx2/Portfile b/textproc/libxmlxx2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d43706ed1da..c2bcaa3332b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup meson 1.0
</span>
name libxmlxx2
set gname libxml++
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.42.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.42.3
</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 6f153f2692b4ee616ea498e7c232a5999513368b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a433987f54cc1ecaa84af26af047a62df9e884574e0d686e5ddc6f70441c152b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 848924
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5d3241035da255a01e3cfd04e4cd15bdb97016e2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 74b95302e24dbebc56e97048e86ad0a4121fc82a43e58d381fbe1d380e8eba04 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 922400
</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/libxmlxx2/files/patch-meson-python3.diff b/textproc/libxmlxx2/files/patch-meson-python3.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index ab59b98efa8..0bf0b39c64d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/libxmlxx2/files/patch-meson-python3.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/libxmlxx2/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 2023-06-14 13:26:33.314371012 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ meson.build 2023-06-14 13:27:35.960624893 -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 04:36:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build 2024-04-13 16:41:53.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>