Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hledger-interest for openSUSE:Factory checked in at 2026-12-03 13:57:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hledger-interest (Old) and /work/SRC/openSUSE:Factory/.hledger-interest.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hledger-interest" Thu Dec 3 13:57:29 2026 rev:27 rq:1402539 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hledger-interest/hledger-interest.changes 2026-11-24 12:44:47.194113422 +0100 +++ /work/SRC/openSUSE:Factory/.hledger-interest.new.1340718/hledger-interest.changes 2026-12-03 14:00:09.722487058 +0100 @@ -1,0 +2,21 @@ +Wed Dec 2 18:41:25 UTC 2026 - Peter Simons <[email protected]> + +- Update hledger-interest to version 2.1.0 revision 1. + ## 2.1.0 (2026-12-02) + + ### Incompatible changes + + - hledger-interest now requires hledger-lib 2.0 and no longer builds + with the 1.x series. + - Generated and echoed transactions use hledger-lib 2.0's posting + layout, which right-aligns amounts in a wider fixed column instead of + aligning them to the longest account name. Only whitespace changes; + computed amounts are unaffected. + + ### Other changes + + - In verbose mode, comment lines preceding a transaction in the journal + are not echoed, as before. hledger-lib 2.0 would otherwise print them, + attaching a journal's header comment to the first echoed transaction. + +------------------------------------------------------------------- Old: ---- hledger-interest-2.0.0.tar.gz New: ---- hledger-interest-2.1.0.tar.gz hledger-interest.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hledger-interest.spec ++++++ --- /var/tmp/diff_new_pack.HoZNb3/_old 2026-12-03 14:00:11.071544316 +0100 +++ /var/tmp/diff_new_pack.HoZNb3/_new 2026-12-03 14:00:11.075544486 +0100 @@ -19,12 +19,13 @@ %bcond_with ghc_prof %bcond_with tests Name: hledger-interest -Version: 2.0.0 +Version: 2.1.0 Release: 0 Summary: Computes interest for a given account License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Decimal-devel BuildRequires: ghc-base-devel @@ -129,6 +130,7 @@ %prep %autosetup -p1 +cp -p %{SOURCE1} %{name}.cabal %build %ghc_bin_build ++++++ hledger-interest-2.0.0.tar.gz -> hledger-interest-2.1.0.tar.gz ++++++ ++++ 2473 lines of diff (skipped) ++++++ hledger-interest.cabal ++++++ Name: hledger-interest Version: 2.1.0 x-revision: 1 Synopsis: computes interest for a given account License: BSD3 License-file: LICENSE Author: Peter Simons <[email protected]> Maintainer: Peter Simons <[email protected]> Homepage: https://github.com/peti/hledger-interest Category: Finance Build-type: Simple Cabal-version: 2.0 Extra-source-files: tests/fixtures/*.journal tests/fixtures/*.rates tests/golden/*.golden Extra-doc-files: README.md CHANGELOG.md Stability: stable tested-with: GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2, GHC == 9.14.1 Description: hledger-interest is a small command-line utility based on Simon Michael's hledger library. Its purpose is to compute interest for a given ledger account. Using command line flags, the program can be configured to use various schemes for day-counting, such as act\/act, 30\/360, 30E\/360, and 30E\/360isda. It supports constant rates, annual interest with a fixed rate, and schedules of annual rates supplied on the command line or read from a text file. . As an example, consider the loan in the regression fixture @tests\/fixtures\/boundaries.journal@: . > 2023-01-31 Loan > Assets:Bank EUR 10000.00 > Liabilities:Loan > > 2023-02-28 Payment > Assets:Bank EUR -100.00 > Liabilities:Loan > > 2023-03-31 Payment > Assets:Bank EUR -100.00 > Liabilities:Loan > > 2023-07-01 Payment on rate change > Assets:Bank EUR -100.00 > Liabilities:Loan > > 2023-07-01 Second payment on same day > Assets:Bank EUR -50.00 > Liabilities:Loan > > 2024-01-15 Payment after year end > Assets:Bank EUR -100.00 > Liabilities:Loan > > 2024-02-29 Leap day payment > Assets:Bank EUR -100.00 > Liabilities:Loan > > 2024-03-31 Payment > Assets:Bank EUR -100.00 > Liabilities:Loan > > 2024-04-01 Unrelated transaction > Assets:Bank EUR -10.00 > Expenses:Other . With 5% annual interest and actual-day counting, crediting interest to the loan account compounds it. The following command prints only the generated interest postings; its output is checked by the @annual-act@ golden test: . > $ hledger-interest --file=tests/fixtures/boundaries.journal > --source=Expenses:Interest --target=Liabilities:Loan --act --annual=0.05 > --quiet Liabilities:Loan > 2023-02-28 5% interest for EUR -10000.00 over 28 days > Liabilities:Loan EUR -38.36 > Expenses:Interest EUR 38.36 > > 2023-03-31 5% interest for EUR -9938.36 over 31 days > Liabilities:Loan EUR -42.20 > Expenses:Interest EUR 42.20 > > 2023-07-01 5% interest for EUR -9880.56 over 92 days > Liabilities:Loan EUR -124.52 > Expenses:Interest EUR 124.52 > > 2023-12-31 5% interest for EUR -9855.08 over 183 days > Liabilities:Loan EUR -247.05 > Expenses:Interest EUR 247.05 > > 2024-01-15 5% interest for EUR -10102.13 over 15 days > Liabilities:Loan EUR -20.70 > Expenses:Interest EUR 20.70 > > 2024-02-29 5% interest for EUR -10022.84 over 45 days > Liabilities:Loan EUR -61.62 > Expenses:Interest EUR 61.62 > > 2024-03-31 5% interest for EUR -9984.45 over 31 days > Liabilities:Loan EUR -42.28 > Expenses:Interest EUR 42.28 . Running the utility with @--help@ gives a brief overview over the available options: . > Usage: hledger-interest [OPTION...] ACCOUNT > Default: post at transactions, rate-period ends, and year ends. > -h --help print this message and exit > -V --version show version number and exit > -v --verbose print matching input transactions > and generated interest (default) > -q --quiet print generated interest only > --today alias for --until=today > --until=DATE compute interest through DATE > (YYYY-MM-DD or today); > exclude transactions with later > effective dates > --post-on-transactions post only at transactions (and at > --until/--today); > skip rate-period and automatic > year-end postings; > overrides --post-on-rate-changes > --post-on-rate-changes post at transactions and > rate-period ends; > skip automatic year-end postings; > --post-on-transactions takes > precedence; > --until/--today also post on the > final day > -f FILE --file=FILE input ledger file (pass '-' for > stdin) > default: $LEDGER_FILE or > ~/.hledger.journal > -s ACCOUNT --source=ACCOUNT interest source account > -t ACCOUNT --target=ACCOUNT interest target account > -I --ignore-assertions ignore any failing balance > assertions > --act use 'act/act' day counting > convention > (Actual/Actual ISDA; see README) > --30-360 use '30/360' day counting > convention > --30E-360 use '30E/360' day counting > convention > --30E-360isda use '30E/360isda' day counting > convention > --constant=RATE fixed annual interest rate > --annual=RATE alias for --constant > --schedule=SCHEDULE annualized rates and their > effective dates; > rates are fractions: 0.05 means 5% > per year > syntax: > '[(Date1,Rate1),(Date2,Rate2),...]' > --schedule-file=PATH read a schedule from a text file; > one date and rate per line, > starting in column 1; > rates: 0.05 or 5%; hledger > comments allowed > --annual-schedule=SCHEDULE alias for --schedule Source-Repository head Type: git Location: https://github.com/peti/hledger-interest.git Executable hledger-interest default-language: Haskell2010 hs-source-dirs: src Main-is: hledger-interest.hs Build-depends: base >= 4.9 && < 5, hledger-lib ^>= 2.0, time, mtl, Decimal, text, megaparsec >= 7 other-modules: Hledger.Interest Hledger.Interest.DayCountConvention Hledger.Interest.Rate Hledger.Interest.ScheduleFile Paths_hledger_interest autogen-modules: Paths_hledger_interest Test-suite regression type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: tests main-is: golden-tests.hs other-modules: HistoricalRates build-depends: base >= 4.9 && < 5, bytestring, typed-process, Decimal, time, tasty, tasty-golden >= 2.3.6, tasty-hunit build-tool-depends: hledger-interest:hledger-interest Test-suite calculations type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: tests src main-is: calculation-tests.hs other-modules: Hledger.Interest Hledger.Interest.DayCountConvention Hledger.Interest.Rate build-depends: base >= 4.9 && < 5, hledger-lib ^>= 2.0, time, mtl, Decimal, text, tasty, tasty-hunit
