./finance/ledger, Double-entry accounting system for command-line

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 3.4.1nb1, Package name: ledger-3.4.1nb1, Maintainer: base

Ledger is a powerful, double-entry accounting system that is accessed
from the UNIX command-line. This may put off some users, since there is
no flashy UI, but for those who want unparalleled reporting access to
their data there are few alternatives.

Ledger uses text files for input. It reads the files and generates
reports; there is no other database or stored state. To use Ledger, you
create a file of your account names and transactions, run from the
command line with some options to specify input and requested reports,
and get output. The output is generally plain text, though you could
generate a graph or html instead. Ledger is simple in concept,
surprisingly rich in ability, and easy to use.


Required to run:
[math/mpfr] [devel/gmp] [devel/boost-libs] [devel/py-boost]

Required to build:
[devel/boost-headers] [pkgtools/cwrappers]

Package options: python

Master sites:

Filesize: 797.953 KB

Version history: (Expand)


CVS history: (Expand)


   2026-08-24 10:42:33 by Adam Ciarcinski | Files touched by this commit (236)
Log message:
Revbump for Boost 1.92.0
   2026-06-28 19:04:22 by Thomas Klausner | Files touched by this commit (1)
Log message:
ledger: mark as not for Python 3.10/3.11 (due to numpy)
   2026-06-28 18:29:16 by Thomas Klausner | Files touched by this commit (22) | Package removed
Log message:
ledger: update to 3.4.1.

Based on wip/ledger by atomicules with some fixes.

3.4.1

    Fix version number in binary

Assets 2

    Source code (zip)
    Oct 26, 2025
    Source code (tar.gz)
    Oct 26, 2025

1 person reacted
3.4.0
Oct 22, 2025
@jwiegley jwiegley
v3.4.0
ddb7c89
3.4.0
Critical Bug Fixes

    Fix segfault in metadata validation (issue #1800)

    Fix divide by zero (bugs #777 and #2207)

    Fix use-after-free with regex_match()

    Fix bucket transactions ignored with reg --related (bug #2220)

    Restore expr context after calc (bugs #2330 and #2343)

Date and Year Handling

    Fix leap year dates with apply year directive (bug #2468)

    Fix xact command to properly respect last year directive (bug #2413)

    Fix timelog balance assertions with value conversion

New Features

    Add support for hash chaining with --hashes option for transaction integrity \ 
verification

    Add commodity swaps feature over a base commodity

    Add --align-intervals option for reporting

    Add --lisp-date-format option for lisp output (bug #1206)

    Add yday shortcut for "yesterday"

File Handling

    Skip files with invalid UTF-8 names in include directive (bug #2421)

    Allow automatic transactions to create accounts with --pedantic (bug #2417)

    Make pricedb output deterministic (bug #1783)

Python Support

    Update required Python version to 3.10 (minimum 3.9)

    Fix Python 3.12 deprecation warnings

    Add Python bindings for commodity value_t and roundto function

    Remove Python 2 support from tests

Build System Updates

    Update to C++17 standard

    Update to Boost 1.86.0 (minimum 1.72.0)

    Update required CMake to 3.16.2

    Add support for Ubuntu 24.04 Noble

    Add build support for readline

Display Improvements

    Display parent accounts with one child if they contain posts

    Align amounts even when account names are long

    Fix percentile balance report of time commodity
   2026-06-28 17:41:51 by Thomas Klausner | Files touched by this commit (364)
Log message:
*: limit Python versions due to py-numpy dropping Python 3.11 support
   2026-05-15 11:59:04 by Adam Ciarcinski | Files touched by this commit (249)
Log message:
revbump for boost-libs
   2026-01-06 08:54:23 by Thomas Klausner | Files touched by this commit (6)
Log message:
*: remove 310 from accepted Python versions

It is not in the default set any longer, so the dependencies will
not exist as 3.10 packages
   2025-10-17 10:50:14 by Thomas Klausner | Files touched by this commit (2)
Log message:
ledger: fix build with boost 1.89
   2025-09-27 11:57:41 by Thomas Klausner | Files touched by this commit (337)
Log message:
*: recursive bump for boost 1.89