<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/93a95f762da7af48dfb496763cff92c0c44aa8c8">https://github.com/macports/macports-ports/commit/93a95f762da7af48dfb496763cff92c0c44aa8c8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 93a95f762da7af48dfb496763cff92c0c44aa8c8
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Wed Jul 29 21:57:24 2020 -0400

<span style='display:block; white-space:pre;color:#404040;'>    cppcheck: Add python pygments dependency for cppcheck-htmlreport
</span>---
 devel/cppcheck/Portfile | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cppcheck/Portfile b/devel/cppcheck/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d8d686d68fd..587dd2ed49d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cppcheck/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cppcheck/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem                  1.0
</span> PortGroup                   github 1.0
 
 github.setup                danmar cppcheck 2.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  83b15644794469137f8e5f0751ba0916030ee7d4 \
                             sha256  447d44bbaa555fa78b89dd2cb0203fd4c6f18269db8a78638b968ba7c72cb02e \
                             size    3119847
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,15 +24,22 @@ long_description            Cppcheck is an analysis tool for C and C++ code. Unl
</span> 
 github.tarball_from         archive
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_branch   3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_version  [string map {"." ""} ${python_branch}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_bin      ${prefix}/bin/python${python_branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build               port:docbook-xsl-nons \
                             port:docbook-xml-4.5 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                            port:libxslt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            port:python38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:libxslt
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib                 port:pcre
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib                 port:pcre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:python${python_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            port:py${python_version}-pygments
</span> 
 post-patch {
     reinplace -W ${worksrcpath} "/CXXFLAGS/s/-O2/${configure.cxxflags}/" Makefile
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W ${worksrcpath} "s|#!/usr/bin/env python|#!${python_bin}|" htmlreport/cppcheck-htmlreport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> }
 
 compiler.cxx_standard       2011
</pre><pre style='margin:0'>

</pre>