<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/638b959cbab079501073a9f1e9d3e931844e8c97">https://github.com/macports/macports-ports/commit/638b959cbab079501073a9f1e9d3e931844e8c97</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 638b959cbab079501073a9f1e9d3e931844e8c97
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sat Mar 31 15:25:00 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> gtk-doc: update to version 1.28, dependencies
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * now works with python3
</span><span style='display:block; white-space:pre;color:#404040;'> * depend on dblatex rather than fop for PDF generation to avoid opportunistic configuration
</span>---
gnome/gtk-doc/Portfile | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gtk-doc/Portfile b/gnome/gtk-doc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1da1de9..d4960b6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gtk-doc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gtk-doc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
name gtk-doc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.28
</span> categories gnome devel
license GPL-2+
installs_libs no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,8 +22,9 @@ master_sites gnome:sources/${name}/${version}/
</span>
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 34765133bb89237b2f116e30e3f44091f14537ee \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e26bd3f7080c749b1cb66c46c6bf8239e2f320a949964fb9c6d56e1b0c6d9a6f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 cbf70474d838612da096ec98af69d3cfffe3da78 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 911e29e302252c96128965ee1f4067d5431a88e00ad1023a8bc1d6b922af5715 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 725972
</span>
# set 'pbranch' to the desired perl version to use
# currently 5.26 (#55208)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,22 +37,21 @@ depends_build port:pkgconfig \
</span> depends_lib port:libxml2 \
port:libxslt \
port:perl${pbranch} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:python27 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py27-six \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:openjade \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:fop \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python36 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py36-anytree \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py36-lxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py36-pygments \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py36-six \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:dblatex \
</span> port:docbook-xml \
port:docbook-xsl \
port:itstool \
port:source-highlight
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_test port:py27-mock
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_test port:py36-mock
</span>
configure.perl ${prefix}/bin/perl${pbranch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# gtk-doc now requires python 2.7 minimum, some perl and shell scripts converted to python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# python 3 still not completely supported
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# use macports python 2.7 due to need for external modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/python3.6
</span> configure.env-append XSLTPROC=${prefix}/bin/xsltproc
configure.args --with-xml-catalog=${prefix}/etc/xml/catalog \
--with-highlight=source-highlight \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,11 +60,6 @@ configure.args --with-xml-catalog=${prefix}/etc/xml/catalog \
</span> post-configure {
reinplace "s|^#!.*|#!${configure.perl} -w|" \
${worksrcpath}/tools/docpercentages.pl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|^#!.*|#!${configure.python}|" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/tests/check.py \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/tests/common.py \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/tests/mk_to_db.py
</span> }
test.run yes
</pre><pre style='margin:0'>
</pre>