Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/finance/ledger finance/ledger: Update to 3.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a6489259114
branches:  trunk
changeset: 430507:5a6489259114
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Fri May 01 11:48:26 2020 +0000

description:
finance/ledger: Update to 3.2.0

- Port Python support to Python 3

- Entities are no longer regarded as defined due to being part of a
  cleared transaction. `--explicit` is effectively enabled by default
  and is now a no-op (PR #1819)

- Add `--average-lot-prices` to show the average of lot prices

- Add support for `%F` date format specifier (bug #1775)

- Add `commodity_price(NAME, DATE)` function

- Add `set_commodity_price(NAME, DATE)` function

- Fix buffer overflow when evaluating date

- Fix balance assertions on accounts with virtual posts (bug #543)

- Fix segfault with `ledger print` (bug #1850)

- Ensure that `apply` directives (like `apply account`) have the
  required argument (bug #553)

- Format annotations using a date format that can be parsed

- Change `--invert` to invert displayed amounts and totals, not amounts
  (bug #1803)

- Correct the way parens are parsed in query expressions

- Compare price annotations using their textual rendering

- Fix build failure with utfcpp 3.0 (bug #1816)

- Fix build failure due to ambiguous type (bug #1833)

diffstat:

 finance/ledger/Makefile   |   7 ++-----
 finance/ledger/distinfo   |  10 +++++-----
 finance/ledger/options.mk |   3 +--
 3 files changed, 8 insertions(+), 12 deletions(-)

diffs (54 lines):

diff -r 23471b192750 -r 5a6489259114 finance/ledger/Makefile
--- a/finance/ledger/Makefile   Fri May 01 10:26:10 2020 +0000
+++ b/finance/ledger/Makefile   Fri May 01 11:48:26 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2020/03/23 02:29:58 riastradh Exp $
+# $NetBSD: Makefile,v 1.18 2020/05/01 11:48:26 riastradh Exp $
 
-DISTNAME=      ledger-3.1.3
-PKGREVISION=   4
+DISTNAME=      ledger-3.2.0
 CATEGORIES=    finance
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ledger/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -15,8 +14,6 @@
 USE_LANGUAGES= c++ c
 GCC_REQD+=     4.8
 
-CMAKE_ARGS+=   -DUSE_PYTHON27_COMPONENT=ON
-
 .include "options.mk"
 
 REPLACE_INTERPRETER+=  python
diff -r 23471b192750 -r 5a6489259114 finance/ledger/distinfo
--- a/finance/ledger/distinfo   Fri May 01 10:26:10 2020 +0000
+++ b/finance/ledger/distinfo   Fri May 01 11:48:26 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2019/04/01 14:10:58 wiz Exp $
+$NetBSD: distinfo,v 1.7 2020/05/01 11:48:26 riastradh Exp $
 
-SHA1 (ledger-3.1.3.tar.gz) = 747603d1be0c72ee3a940260617999d9d58a2d1d
-RMD160 (ledger-3.1.3.tar.gz) = bfb323207effe4ddbafe64e8e92ec2b5251bcb19
-SHA512 (ledger-3.1.3.tar.gz) = a2a63c80d7313f94eca5d8701ab623ccbe483972b4194bcc7a99dabe8f615b55aba0b933848295de3b3ac8bfb2b71d1d65c73eef315905678ad332695eebbf75
-Size (ledger-3.1.3.tar.gz) = 800880 bytes
+SHA1 (ledger-3.2.0.tar.gz) = 38deb9f70cfd62c926299e5427e11a15d53113fe
+RMD160 (ledger-3.2.0.tar.gz) = 7e6f954dce9d190a022e148e038476755fb7e6ff
+SHA512 (ledger-3.2.0.tar.gz) = 580f4f39d7c3cd2bd1d05bcc36b127cfb311219f39fe50dbf23f582f73dd986729d4b5fa76bfd89cd5db9bfdfcdd5dca5b9d6b24766650040e45b881726e65ea
+Size (ledger-3.2.0.tar.gz) = 790404 bytes
 SHA1 (patch-src_main.cc) = d887e39e2a68fe594c93819e95eed9a4f469844d
diff -r 23471b192750 -r 5a6489259114 finance/ledger/options.mk
--- a/finance/ledger/options.mk Fri May 01 10:26:10 2020 +0000
+++ b/finance/ledger/options.mk Fri May 01 11:48:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2017/09/06 21:08:09 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2020/05/01 11:48:26 riastradh Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ledger
 PKG_SUPPORTED_OPTIONS+=        python
@@ -12,6 +12,5 @@
 CMAKE_ARGS+=           -DUSE_PYTHON:BOOL=TRUE
 PLIST.python=          yes
 PLIST_SUBST+=          PYSITELIB=${PYSITELIB:Q}
-PYTHON_VERSIONS_ACCEPTED=      27 # as of 3.1.1
 .include "../../devel/py-boost/buildlink3.mk"
 .endif



Home | Main Index | Thread Index | Old Index