SHA256
1
0
forked from pool/hledger

Accepting request 857686 from devel:languages:haskell

update haskell stack in openSUS

OBS-URL: https://build.opensuse.org/request/show/857686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hledger?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2020-12-22 10:49:54 +00:00 committed by Git OBS Bridge
commit db32abc77c
4 changed files with 120 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5c1eb6d8de5cf2d82771db1796b57a304095fa940773a6405c9cd8085f3da71
size 671352

3
hledger-1.20.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:799e9523cf4704e1ec90dbd3f856249405eaa6876edba954f07b78175db9c1a5
size 710538

View File

@ -1,3 +1,118 @@
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Wed Dec 16 17:26:23 UTC 2020 - psimons@suse.com
- Update hledger to version 1.20.1.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/hledger-1.20.1/src/CHANGES.md
-------------------------------------------------------------------
Sun Dec 6 13:36:27 UTC 2020 - psimons@suse.com
- Update hledger to version 1.20.
# 1.20 2020-12-05
## general
- strict mode: with -s/--strict, hledger requires that
all accounts and commodities are declared with directives.
- Reverted a stripAnsi change in 1.19.1 that caused a 3x slowdown of amount rendering
in terminal reports. (#1350)
- Amount and table rendering has been improved, so that stripAnsi is no longer needed.
This speeds up amount rendering in the terminal, speeding up some reports by 10% or more since 1.19.
(Stephen Morgan)
- Amount eliding no longer displays corrupted ANSI codes (#1352, Stephen Morgan)
- Eliding of multicommodity amounts now makes better use of available space,
avoiding unnecessary eliding (showing as many amounts as possible within
32 characters). (Stephen Morgan)
- Command line help for --no-elide now mentions that it also disables eliding of
multicommodity amounts.
- Query terms containing quotes (eg to match account names containing quotes)
now work properly. (#1368, Stephen Morgan)
- cli, journal: Date range parsing is more robust, fixing failing/incorrect cases such as: (Stephen Morgan)
- a hyphenated range with just years (`2017-2018`)
- a hyphenated date with no day in a hyphenated range (`2017-07-2018`)
- a dotted date with no day in a dotted range (`2017.07..2018.02`)
- Debug output is prettier (eg, in colour), using pretty-simple instead of pretty-show.
- csv, timedot, timeclock files now respect command line --alias options,
like journal files. (#859)
- Market price lookup for value reports is now more robust, fixing several bugs
(and debug output is more informative).
There has been a slight change in functionality: when chaining prices,
we now prefer chains of all "forward" prices, even if longer, with chains
involving reverse prices being the last resort.
(#1402)
## commands
- add: number style (eg thousands separators) no longer disturbs the value
that is offered as default. (#1378)
- bal: --invert now affects -S/--sort-amount, reversing the order. (#1283, #1379) (Stephen Morgan)
- bal: --budget reports no longer insert an extra space inside the brackets. (Stephen Morgan)
- bal, is, bs --change:
Valued multiperiod balance change reports now show changes of value,
rather than the value of changes. (#1353, Stephen Morgan)
- bal: improve budget, MultiBalanceReport debug output
Comply with debug levels policy, clarify some labels.
- bal: support CSV output for --budget reports (#1155)
- check: A new command which consolidating the various check-* commands.
It runs the default, strict, or specified checks and produces
no output and a zero exit code if all is well.
- check-dates: this command is deprecated and will be removed
in next release; use "hledger check ordereddates" instead.
- check-dupes: this command is deprecated and will be removed
in next release; use "hledger check uniqueleafnames" instead.
- import: The journal's commodity styles (declared or inferred) are now applied
to imported amounts, overriding their original number format.
- roi: TWR now handles same-day pnl changes and cashflows,
calculation failure messages have been improved, and
the documentation includes more detail and examples.
(#1398) (Dmitry Astapov)
## journal format
- The journal's commodity styles are now applied to forecasted transactions. (#1371)
- journal, csv: commodity style is now inferred from the first amount, as documented,
not the last. This was "working wrongly" since hledger 1.12..
- A zero market price no longer causes "Ratio has zero denominator" error
in valued reports. (#1373)
## csv format
- The new `decimal-mark` rule allows reliable number parsing
when CSV numbers contain digit group marks (eg thousands separators).
- The CSV reader's verbose "assignment" debug output is now at level 9.
-------------------------------------------------------------------
Tue Sep 8 02:00:34 UTC 2020 - psimons@suse.com

View File

@ -19,7 +19,7 @@
%global pkg_name hledger
%bcond_with tests
Name: %{pkg_name}
Version: 1.19.1
Version: 1.20.1
Release: 0
Summary: Command-line interface for the hledger accounting system
License: GPL-3.0-or-later
@ -48,7 +48,6 @@ BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-rpm-macros
@ -67,6 +66,7 @@ BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-utility-ht-devel
BuildRequires: ghc-wizards-devel
ExcludeArch: %{ix86}
%description
The command-line interface for the hledger accounting system. Its basic