<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/73ae76fa6b3dbed41d4c4c3afb402548cec88ab2">https://github.com/macports/macports-ports/commit/73ae76fa6b3dbed41d4c4c3afb402548cec88ab2</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 73ae76fa6b3 cm: Use python312
</span>73ae76fa6b3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 73ae76fa6b3dbed41d4c4c3afb402548cec88ab2
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jan 3 19:33:47 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> cm: Use python312
</span>---
devel/cartman/Portfile | 6 ++++--
devel/cartman/files/cm.patch | 16 ++++++++++++++++
2 files changed, 20 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cartman/Portfile b/devel/cartman/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9bb5b163ee3..0a91fd0824b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cartman/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cartman/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup python 1.0
</span>
name cartman
version 0.3.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 6d44f08299c8e69733f12636ee4892419f8709ec \
sha256 a4d9a5f1ec5c116a5bc47a25dd4cff121ffa74a34927029cd69302fa4191b6d8 \
size 23458
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,7 +22,7 @@ long_description ${name} allows you to create and manage Trac tickets from th
</span> command-line, without the need to setup physical access to the \
Trac server or database. All you need is a Trac account.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version 311
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.default_version 312
</span>
homepage https://tamentis.com/projects/cartman/
master_sites pypi:c/cartman
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +34,8 @@ depends_build-append \
</span>
depends_lib-append port:py${python.version}-requests
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles cm.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cartman/files/cm.patch b/devel/cartman/files/cm.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3d83bdeb75d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cartman/files/cm.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+SyntaxWarning: invalid escape sequence '\d'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/tamentis/cartman/issues/39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cm.orig 2020-03-14 15:32:57.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cm 2024-01-03 19:32:31.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -50,7 +50,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # extra positional argument.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if args.stdin_id:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ data = sys.stdin.read()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- m = re.match(".*#(\d+).*", data, flags=(re.MULTILINE|re.DOTALL))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ m = re.match(r".*#(\d+).*", data, flags=(re.MULTILINE|re.DOTALL))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if not m:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ raise cartman.exceptions.UsageException("No id on stdin")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>