<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f35538cfa3d45076896a8ec5c5b6af3b00904f60">https://github.com/macports/macports-ports/commit/f35538cfa3d45076896a8ec5c5b6af3b00904f60</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 f35538cfa3d gpsd: add python312 variant
</span>f35538cfa3d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f35538cfa3d45076896a8ec5c5b6af3b00904f60
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Sun Oct 29 16:26:04 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> gpsd: add python312 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> TESTED:
</span><span style='display:block; white-space:pre;color:#404040;'> Tested (including building the usual set of variant combinations and
</span><span style='display:block; white-space:pre;color:#404040;'> running the tests) on 10.5 ppc, 10.5-10.6 i386, 10.5-10.15 x86_64, and
</span><span style='display:block; white-space:pre;color:#404040;'> 11.x-14.x arm64.
</span><span style='display:block; white-space:pre;color:#404040;'> Some variant combinations were excluded in some cases due to issues
</span><span style='display:block; white-space:pre;color:#404040;'> with the dependencies, though it's expected that they'd work if the
</span><span style='display:block; white-space:pre;color:#404040;'> broken dependencies were fixed.
</span><span style='display:block; white-space:pre;color:#404040;'> On 10.5, the python37 variant was excluded since python37 itself is
</span><span style='display:block; white-space:pre;color:#404040;'> broken (segfault from ctypes).
</span><span style='display:block; white-space:pre;color:#404040;'> Known not to build on 10.4.
</span>---
net/gpsd/Portfile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/gpsd/Portfile b/net/gpsd/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 42c8e150836..e0c2a96d8c3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/gpsd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/gpsd/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,7 +37,7 @@ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span> # We skip 2.6, 3.2, and 3.3, but keep 2.7 and 3.4+.
# Some variants may force a more restricted list.
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set pythons_suffixes {27 34 35 36 37 38 39 310 311}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythons_suffixes {27 34 35 36 37 38 39 310 311 312}
</span>
set pythons_ports {}
foreach s ${pythons_suffixes} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,6 +100,13 @@ depends_build-append port:scons \
</span> port:docbook-xml-4.1.2 \
port:asciidoctor
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Python 3.12+ has deprecated distutils, which is needed by the build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# It remains available via setuptools, so we add the dependency.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This requirement has not yet been fixed upstream.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${pyver_no_dot} >= 312} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:py${pyver_no_dot}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_configure no
use_xcode yes
</pre><pre style='margin:0'>
</pre>