<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ff160008df259b7e6dd1ac2e06298f91786021e7">https://github.com/macports/macports-ports/commit/ff160008df259b7e6dd1ac2e06298f91786021e7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ff160008df259b7e6dd1ac2e06298f91786021e7
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon May 29 20:20:50 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> lirc: use Python 3.11
</span>---
sysutils/lirc/Portfile | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/lirc/Portfile b/sysutils/lirc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 11153623725..5898b7e7a32 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/lirc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/lirc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,10 +27,10 @@ checksums rmd160 998a726823a90ad79bde50fce3bd0417c950ab59 \
</span> livecheck.distname LIRC
set lircuser _lirc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set pythonbranch 3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pythonbranch 3.11
</span> set pythonver python${pythonbranch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set pythonbin ${prefix}/bin/${pythonver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pymodver py36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/${pythonver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set pymodver py[join [split ${pythonbranch} .] ""]
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,7 +66,7 @@ if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span>
post-patch {
reinplace -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/lirc_options.conf
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|#!/usr/bin/env python3\$|#!${pythonbin}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -locale C "s|#!/usr/bin/env python3\$|#!${configure.python}|" \
</span> ${worksrcpath}/doc/data2hwdb \
${worksrcpath}/doc/data2table \
${worksrcpath}/doc/make_rel_symlink.py \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,9 +78,6 @@ post-patch {
</span> ${worksrcpath}/tools/pronto2lirc
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PYTHON=${pythonbin}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # consider variant for X programs (irxevent xmode2)
configure.args --without-x --disable-silent-rules
</pre><pre style='margin:0'>
</pre>