<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aeacff68572d3dc057bd085a039c336cffbf3e4b">https://github.com/macports/macports-ports/commit/aeacff68572d3dc057bd085a039c336cffbf3e4b</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 aeacff6 ledger: Enable python support, and other fixes
</span>aeacff6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aeacff68572d3dc057bd085a039c336cffbf3e4b
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri May 18 22:16:43 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> ledger: Enable python support, and other fixes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use cmake directly, via the cmake 1.1 portgroup, instead of running the
</span><span style='display:block; white-space:pre;color:#404040;'> custom acprep script. This enables verbose building, builds outside of
</span><span style='display:block; white-space:pre;color:#404040;'> the source tree, and fixes the universal variant.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55234
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Link with MacPorts libedit instead of macOS libedit.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Specify path to boost, gmp, mpfr. This may help build the port if the
</span><span style='display:block; white-space:pre;color:#404040;'> user has other copies of those libraries installed outside of MacPorts.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/55227
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use a distfile instead of fetching from git, which is no longer
</span><span style='display:block; white-space:pre;color:#404040;'> necessary now that upstream no longer uses a git submodule for utfcpp.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove unused autoconf, automake, libtool dependencies. This project
</span><span style='display:block; white-space:pre;color:#404040;'> uses cmake, not autotools.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove unused doxygen, graphviz, texlive-xetex, texinfo dependencies.
</span><span style='display:block; white-space:pre;color:#404040;'> Building the documentation does not work.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove unused pcre and expat dependencies. These were used for previous
</span><span style='display:block; white-space:pre;color:#404040;'> versions of this software, but not anymore.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove unused libiconv, ncurses, zlib dependencies. The documentation
</span><span style='display:block; white-space:pre;color:#404040;'> says they are required but I can find no evidence of this.
</span>---
finance/ledger/Portfile | 47 ++++++++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 23 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/finance/ledger/Portfile b/finance/ledger/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 26af3da..ebb93bd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/finance/ledger/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/finance/ledger/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,13 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup active_variants 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span> PortGroup cxx11 1.1
PortGroup github 1.0
github.setup ledger ledger 3.1.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name ledger
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> homepage https://ledger-cli.org/
categories finance
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,26 +19,29 @@ maintainers nomaintainer
</span>
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append port:automake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:autoconf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cmake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libtool \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:doxygen \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:bin/dot:graphviz \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libedit \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:texlive-xetex \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- bin:makeinfo:texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:pcre \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:expat \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:boost \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 521cba111fb3fd3a5c586568497a6c661e8b4d48 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 3ec4914f2a25b2de8faf867a561b87e4550c75ac69c9400fd6fae2e2a7361b13 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 842440
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:boost \
</span> port:python27 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libiconv \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libedit \
</span> port:gmp \
port:mpfr \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ncurses \
</span> port:gettext
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ${worksrcpath}/acprep opt config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd ${worksrcpath}/acprep opt make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+require_active_variants boost python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args -DBOOST_ROOT=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_DOCS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DEDIT_LIB=${prefix}/lib/libedit.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DEDIT_PATH=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGMP_LIB=${prefix}/lib/libgmp.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGMP_PATH=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMPFR_LIB=${prefix}/lib/libmpfr.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DMPFR_PATH=${prefix}/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DUSE_DOXYGEN=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DUSE_PYTHON=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span></pre><pre style='margin:0'>
</pre>