finance/ledger: update to ledger-3.3.2 3.3.2 * Fix divide by zero (bugs #777 and #2207) * Increase string size limit in src/unistring.h assert (bug #2174) * Require tzdata for Nix flake build (bug #2213) 3.3.1 * Fix regression leading to incorrect error about format directives (bug # 2205) * Add information about compile features to --version * Fix compiler warnings by minimizing the use of deprecated APIs * Update flake.nix to match nixpkgs ledger/default.nix * Remove unused Python server related code * Various documentation improvements 3.3.0 * Use $PAGER when environment variable is set (bug #1674) * Make --depth correctly fold postings to accounts of greater depth into the parent at the specified level (bug #987) * When using wild-cards in the include directive, include matched files in sorted order (bug #1659) * Ensure absolute path for include (bug #2075) * Try to use $XDG_HOME_CONFIG/ledger/ledgerrc or ~/.config/ledger/ledgerrc first * Improve Python 3 support and drop support for Python 2 * Add support for automatically reading files encrypted with GPG (bug #1949 ) * Add support for a "debit" column in the convert command (bug #1120) * Fix parsing of files without end of line (bug #516) * Fix incorrect parsing of expressions containing a - without spaces (bug # 2001) * Fix payee metadata on postings not being validated and payee aliases not being honored (bug #556 & bug #1892) * Fix ledger interpreting a posting with 0 difference as a null-posting, which leads to it auto-balancing the posting (bug #1942) * Correctly escape all string values in lisp report (bug #2034) * Fix a regression where empty commodities were shown (bug #1969) * Fix a regression where using multiple commodities in one transaction triggers an assertion (bug #1998) * Fix --time-colon for negative time amounts * Use correct int return type for stream input operations (bug #2058) * Use amount_width for balance report * Remove some UTF-8 code that was having no effect (bug #2061) * Fix unrounding for equity * Fix SIGABRT when python subcommand raises an exception * Improve XML reports * Support building on older versions of CMAKE (less than 3.7) * Fix compilation with Boost 1.76 (bug #2030) * Fix Msys2 MinGW build (bug #1905) * Fix unicode problems on Windows (bug #1986) * Fix the issue that with Boost >= 1.77 include directive cannot find the file to include for stdin (-f -). Also for -f - when include cannot find the file it reports the error with full path now. (bug #2057 & bug #2092) * Fix Nix build * Rename quoted_rfc4180 to quoted_rfc, as numbers used in function names confuses the parser (#2007). * Numbers are no longer permitted in value expression function names. * Various documentation improvementsdiff -r1.26 -r1.27 pkgsrc/finance/ledger/Makefile
(yhardy)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.26 2023/04/23 14:26:18 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.27 2023/04/27 13:16:35 yhardy Exp $ | |
2 | 2 | |||
3 | DISTNAME= ledger-3.2.1 | 3 | DISTNAME= ledger-3.3.2 | |
4 | PKGREVISION= 6 | |||
5 | CATEGORIES= finance | 4 | CATEGORIES= finance | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/} | |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
8 | 7 | |||
9 | MAINTAINER= base@atomicules.co.uk | 8 | MAINTAINER= base@atomicules.co.uk | |
10 | HOMEPAGE= https://ledger-cli.org/ | 9 | HOMEPAGE= https://ledger-cli.org/ | |
11 | COMMENT= Double-entry accounting system for command-line | 10 | COMMENT= Double-entry accounting system for command-line | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | USE_CMAKE= yes | 13 | USE_CMAKE= yes | |
15 | USE_LANGUAGES= c++ c | 14 | USE_LANGUAGES= c++ c | |
16 | GCC_REQD+= 4.8 | 15 | GCC_REQD+= 4.8 | |
17 | 16 | |||
@@ -24,14 +23,15 @@ REPLACE_FILES.python+= contrib/getquote- | @@ -24,14 +23,15 @@ REPLACE_FILES.python+= contrib/getquote- | |||
24 | REPLACE_FILES.python+= test/DocTests.py test/LedgerHarness.py | 23 | REPLACE_FILES.python+= test/DocTests.py test/LedgerHarness.py | |
25 | REPLACE_FILES.python+= test/convert.py test/RegressTests.py test/convert.py | 24 | REPLACE_FILES.python+= test/convert.py test/RegressTests.py test/convert.py | |
26 | REPLACE_FILES.python+= tools/genuuid | 25 | REPLACE_FILES.python+= tools/genuuid | |
27 | 26 | |||
28 | TEST_TARGET= check | 27 | TEST_TARGET= check | |
29 | TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC} | 28 | TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC} | |
30 | 29 | |||
31 | .include "../../devel/boost-headers/buildlink3.mk" | 30 | .include "../../devel/boost-headers/buildlink3.mk" | |
32 | .include "../../devel/boost-libs/buildlink3.mk" | 31 | .include "../../devel/boost-libs/buildlink3.mk" | |
33 | .include "../../devel/editline/buildlink3.mk" | 32 | .include "../../devel/editline/buildlink3.mk" | |
34 | .include "../../devel/gmp/buildlink3.mk" | 33 | .include "../../devel/gmp/buildlink3.mk" | |
35 | .include "../../lang/python/tool.mk" | 34 | .include "../../lang/python/tool.mk" | |
36 | .include "../../math/mpfr/buildlink3.mk" | 35 | .include "../../math/mpfr/buildlink3.mk" | |
36 | .include "../../textproc/utf8-cpp/buildlink3.mk" | |||
37 | .include "../../mk/bsd.pkg.mk" | 37 | .include "../../mk/bsd.pkg.mk" |
@@ -1,53 +1,53 @@ | @@ -1,53 +1,53 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2019/04/01 14:10:58 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2023/04/27 13:16:35 yhardy Exp $ | |
2 | bin/ledger | 2 | bin/ledger | |
3 | include/ledger/account.h | 3 | include/ledger/account.h | |
4 | include/ledger/amount.h | 4 | include/ledger/amount.h | |
5 | include/ledger/annotate.h | 5 | include/ledger/annotate.h | |
6 | include/ledger/balance.h | 6 | include/ledger/balance.h | |
7 | include/ledger/chain.h | 7 | include/ledger/chain.h | |
8 | include/ledger/commodity.h | 8 | include/ledger/commodity.h | |
9 | include/ledger/compare.h | 9 | include/ledger/compare.h | |
10 | include/ledger/context.h | 10 | include/ledger/context.h | |
11 | include/ledger/convert.h | 11 | include/ledger/convert.h | |
12 | include/ledger/csv.h | 12 | include/ledger/csv.h | |
13 | include/ledger/draft.h | 13 | include/ledger/draft.h | |
14 | include/ledger/emacs.h | 14 | include/ledger/emacs.h | |
15 | include/ledger/error.h | 15 | include/ledger/error.h | |
16 | include/ledger/expr.h | 16 | include/ledger/expr.h | |
17 | include/ledger/exprbase.h | 17 | include/ledger/exprbase.h | |
18 | include/ledger/filters.h | 18 | include/ledger/filters.h | |
19 | include/ledger/flags.h | 19 | include/ledger/flags.h | |
20 | include/ledger/format.h | 20 | include/ledger/format.h | |
21 | include/ledger/generate.h | 21 | include/ledger/generate.h | |
22 | include/ledger/global.h | 22 | include/ledger/global.h | |
23 | include/ledger/gpgme.h | |||
23 | include/ledger/history.h | 24 | include/ledger/history.h | |
24 | include/ledger/item.h | 25 | include/ledger/item.h | |
25 | include/ledger/iterators.h | 26 | include/ledger/iterators.h | |
26 | include/ledger/journal.h | 27 | include/ledger/journal.h | |
27 | include/ledger/lookup.h | 28 | include/ledger/lookup.h | |
28 | include/ledger/mask.h | 29 | include/ledger/mask.h | |
29 | include/ledger/op.h | 30 | include/ledger/op.h | |
30 | include/ledger/option.h | 31 | include/ledger/option.h | |
31 | include/ledger/output.h | 32 | include/ledger/output.h | |
32 | include/ledger/parser.h | 33 | include/ledger/parser.h | |
33 | include/ledger/pool.h | 34 | include/ledger/pool.h | |
34 | include/ledger/post.h | 35 | include/ledger/post.h | |
35 | include/ledger/precmd.h | 36 | include/ledger/precmd.h | |
36 | include/ledger/predicate.h | 37 | include/ledger/predicate.h | |
37 | include/ledger/print.h | 38 | include/ledger/print.h | |
38 | include/ledger/pstream.h | 39 | include/ledger/pstream.h | |
39 | include/ledger/ptree.h | 40 | include/ledger/ptree.h | |
40 | include/ledger/pyfstream.h | |||
41 | include/ledger/pyinterp.h | 41 | include/ledger/pyinterp.h | |
42 | include/ledger/pyutils.h | 42 | include/ledger/pyutils.h | |
43 | include/ledger/query.h | 43 | include/ledger/query.h | |
44 | include/ledger/quotes.h | 44 | include/ledger/quotes.h | |
45 | include/ledger/report.h | 45 | include/ledger/report.h | |
46 | include/ledger/scope.h | 46 | include/ledger/scope.h | |
47 | include/ledger/select.h | 47 | include/ledger/select.h | |
48 | include/ledger/session.h | 48 | include/ledger/session.h | |
49 | include/ledger/stats.h | 49 | include/ledger/stats.h | |
50 | include/ledger/stream.h | 50 | include/ledger/stream.h | |
51 | include/ledger/system.hh | 51 | include/ledger/system.hh | |
52 | include/ledger/temps.h | 52 | include/ledger/temps.h | |
53 | include/ledger/timelog.h | 53 | include/ledger/timelog.h |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2021/10/26 10:26:02 nia Exp $ | 1 | $NetBSD: distinfo,v 1.11 2023/04/27 13:16:35 yhardy Exp $ | |
2 | 2 | |||
3 | BLAKE2s (ledger-3.2.1.tar.gz) = c07ef3f13ef6fa24c3a0d4e1ef91e02c39673f143aa910810d64f00751ab76ff | 3 | BLAKE2s (ledger-3.3.2.tar.gz) = 9204b163d03fe6d2d286614a47d65317d33c8d1bca885d7f3c9447f334b57d7c | |
4 | SHA512 (ledger-3.2.1.tar.gz) = 526c60cee354c9d2ead38cef3b89b349467e41fa3ec0927b51e7246a3352f19f0f81574211f20ba9bac5915590b870b9f9478a103ab661d3d9a10f41c52f4512 | 4 | SHA512 (ledger-3.3.2.tar.gz) = d5d7058f0e9a02ad1d46e6780675d446070824b321f0f4c1ea6ac0c3dd4f11f259113bc36cbc796e4bb6d0a7898d6a68a25cce639e27a2b2434eec11a612ecb0 | |
5 | Size (ledger-3.2.1.tar.gz) = 790959 bytes | 5 | Size (ledger-3.3.2.tar.gz) = 825274 bytes | |
6 | SHA1 (patch-src_CMakeLists.txt) = 8d6a16523554c98c8559702db681af6fb4f413aa | 6 | SHA1 (patch-src_CMakeLists.txt) = 8d6a16523554c98c8559702db681af6fb4f413aa | |
7 | SHA1 (patch-src_main.cc) = d887e39e2a68fe594c93819e95eed9a4f469844d | 7 | SHA1 (patch-src_main.cc) = 7e21f5d903e3148c184f7473d003eb2dc27581c5 |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: patch-src_main.cc,v 1.1 2019/02/17 11:55:03 wiz Exp $ | 1 | $NetBSD: patch-src_main.cc,v 1.2 2023/04/27 13:16:35 yhardy Exp $ | |
2 | 2 | |||
3 | Canonicalize pkgsrc readline.h filename. This is seen both by | 3 | Canonicalize pkgsrc readline.h filename. This is seen both by | |
4 | consumers of devel/readline and by consumers of devel/editline, via | 4 | consumers of devel/readline and by consumers of devel/editline, via | |
5 | buildlink3 magic. The only reason editline/readline.h may exist is to | 5 | buildlink3 magic. The only reason editline/readline.h may exist is to | |
6 | allow both devel/readline and devel/editline to coexist. | 6 | allow both devel/readline and devel/editline to coexist. | |
7 | 7 | |||
8 | --- src/main.cc.orig 2019-02-05 13:30:45.000000000 +0000 | 8 | --- src/main.cc.orig 2023-03-03 10:49:39.000000000 +0000 | |
9 | +++ src/main.cc | 9 | +++ src/main.cc | |
10 | @@ -36,7 +36,7 @@ | 10 | @@ -40,7 +40,7 @@ | |
11 | #include "session.h" | 11 | #endif | |
12 | 12 | |||
13 | #ifdef HAVE_EDIT | 13 | #ifdef HAVE_EDIT | |
14 | -#include <editline/readline.h> | 14 | -#include <editline/readline.h> | |
15 | +#include <readline/readline.h> | 15 | +#include <readline/readline.h> | |
16 | #endif | 16 | #endif | |
17 | 17 | |||
18 | using namespace ledger; | 18 | using namespace ledger; |