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,7 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2023/04/23 14:26:18 adam Exp $
+# $NetBSD: Makefile,v 1.27 2023/04/27 13:16:35 yhardy Exp $
-DISTNAME= ledger-3.2.1
-PKGREVISION= 6
+DISTNAME= ledger-3.3.2
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -34,4 +33,5 @@
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../math/mpfr/buildlink3.mk"
+.include "../../textproc/utf8-cpp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/04/01 14:10:58 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/04/27 13:16:35 yhardy Exp $
bin/ledger
include/ledger/account.h
include/ledger/amount.h
@@ -20,6 +20,7 @@
include/ledger/format.h
include/ledger/generate.h
include/ledger/global.h
+include/ledger/gpgme.h
include/ledger/history.h
include/ledger/item.h
include/ledger/iterators.h
@@ -37,7 +38,6 @@
include/ledger/print.h
include/ledger/pstream.h
include/ledger/ptree.h
-include/ledger/pyfstream.h
include/ledger/pyinterp.h
include/ledger/pyutils.h
include/ledger/query.h
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:26:02 nia Exp $
+$NetBSD: distinfo,v 1.11 2023/04/27 13:16:35 yhardy Exp $
-BLAKE2s (ledger-3.2.1.tar.gz) = c07ef3f13ef6fa24c3a0d4e1ef91e02c39673f143aa910810d64f00751ab76ff
-SHA512 (ledger-3.2.1.tar.gz) = 526c60cee354c9d2ead38cef3b89b349467e41fa3ec0927b51e7246a3352f19f0f81574211f20ba9bac5915590b870b9f9478a103ab661d3d9a10f41c52f4512
-Size (ledger-3.2.1.tar.gz) = 790959 bytes
+BLAKE2s (ledger-3.3.2.tar.gz) = 9204b163d03fe6d2d286614a47d65317d33c8d1bca885d7f3c9447f334b57d7c
+SHA512 (ledger-3.3.2.tar.gz) = d5d7058f0e9a02ad1d46e6780675d446070824b321f0f4c1ea6ac0c3dd4f11f259113bc36cbc796e4bb6d0a7898d6a68a25cce639e27a2b2434eec11a612ecb0
+Size (ledger-3.3.2.tar.gz) = 825274 bytes
SHA1 (patch-src_CMakeLists.txt) = 8d6a16523554c98c8559702db681af6fb4f413aa
-SHA1 (patch-src_main.cc) = d887e39e2a68fe594c93819e95eed9a4f469844d
+SHA1 (patch-src_main.cc) = 7e21f5d903e3148c184f7473d003eb2dc27581c5
@@ -1,14 +1,14 @@
-$NetBSD: patch-src_main.cc,v 1.1 2019/02/17 11:55:03 wiz Exp $
+$NetBSD: patch-src_main.cc,v 1.2 2023/04/27 13:16:35 yhardy Exp $
Canonicalize pkgsrc readline.h filename. This is seen both by
consumers of devel/readline and by consumers of devel/editline, via
buildlink3 magic. The only reason editline/readline.h may exist is to
allow both devel/readline and devel/editline to coexist.
---- src/main.cc.orig 2019-02-05 13:30:45.000000000 +0000
+--- src/main.cc.orig 2023-03-03 10:49:39.000000000 +0000
+++ src/main.cc
-@@ -36,7 +36,7 @@
- #include "session.h"
+@@ -40,7 +40,7 @@
+ #endif
#ifdef HAVE_EDIT
-#include <editline/readline.h>