forked from pool/ghc-hledger-lib
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hledger-lib revision:32, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hledger-lib?expand=0&rev=29
This commit is contained in:
parent
38d55fdb9d
commit
946dec5484
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 7 07:57:05 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update hledger-lib to version 1.23 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 22 08:51:26 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update hledger-lib to version 1.23.
|
||||||
|
Upstream's change log file format is strange (too much unmodified
|
||||||
|
text at at the top). The automatic updater cannot extract the
|
||||||
|
relevant additions. You can find the file at:
|
||||||
|
http://hackage.haskell.org/package/hledger-lib-1.23/src/CHANGES.md
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 7 08:28:49 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Tue Sep 7 08:28:49 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -19,12 +19,13 @@
|
|||||||
%global pkg_name hledger-lib
|
%global pkg_name hledger-lib
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.22.2
|
Version: 1.23
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A reusable library providing the core functionality of hledger
|
Summary: A reusable library providing the core functionality of hledger
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-Decimal-devel
|
BuildRequires: ghc-Decimal-devel
|
||||||
BuildRequires: ghc-Glob-devel
|
BuildRequires: ghc-Glob-devel
|
||||||
@ -47,8 +48,9 @@ BuildRequires: ghc-file-embed-devel
|
|||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-hashtables-devel
|
BuildRequires: ghc-hashtables-devel
|
||||||
BuildRequires: ghc-megaparsec-devel
|
BuildRequires: ghc-megaparsec-devel
|
||||||
|
BuildRequires: ghc-microlens-devel
|
||||||
|
BuildRequires: ghc-microlens-th-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-old-time-devel
|
|
||||||
BuildRequires: ghc-parser-combinators-devel
|
BuildRequires: ghc-parser-combinators-devel
|
||||||
BuildRequires: ghc-pretty-simple-devel
|
BuildRequires: ghc-pretty-simple-devel
|
||||||
BuildRequires: ghc-regex-tdfa-devel
|
BuildRequires: ghc-regex-tdfa-devel
|
||||||
@ -93,6 +95,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
cabal-tweak-dep-ver 'base-compat-batteries' '<0.12' '<0.13'
|
cabal-tweak-dep-ver 'base-compat-batteries' '<0.12' '<0.13'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b4c54f11e7efdc0fcb01050300f02899c8a96dc88061821fc5984aecbb796877
|
|
||||||
size 252612
|
|
3
hledger-lib-1.23.tar.gz
Normal file
3
hledger-lib-1.23.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2c54ed631a23ef05531327b93d334d5303edf9831b598b71f60bab4b5c5257a0
|
||||||
|
size 260121
|
242
hledger-lib.cabal
Normal file
242
hledger-lib.cabal
Normal file
@ -0,0 +1,242 @@
|
|||||||
|
cabal-version: 1.12
|
||||||
|
|
||||||
|
-- This file has been generated from package.yaml by hpack version 0.34.4.
|
||||||
|
--
|
||||||
|
-- see: https://github.com/sol/hpack
|
||||||
|
|
||||||
|
name: hledger-lib
|
||||||
|
version: 1.23
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: A reusable library providing the core functionality of hledger
|
||||||
|
description: A reusable library containing hledger's core functionality.
|
||||||
|
This is used by most hledger* packages so that they support the same
|
||||||
|
common file formats, command line options, reports etc.
|
||||||
|
.
|
||||||
|
hledger is a robust, cross-platform set of tools for tracking money,
|
||||||
|
time, or any other commodity, using double-entry accounting and a
|
||||||
|
simple, editable file format, with command-line, terminal and web
|
||||||
|
interfaces. It is a Haskell rewrite of Ledger, and one of the leading
|
||||||
|
implementations of Plain Text Accounting. Read more at:
|
||||||
|
<https://hledger.org>
|
||||||
|
category: Finance
|
||||||
|
stability: stable
|
||||||
|
homepage: http://hledger.org
|
||||||
|
bug-reports: http://bugs.hledger.org
|
||||||
|
author: Simon Michael <simon@joyful.com>
|
||||||
|
maintainer: Simon Michael <simon@joyful.com>
|
||||||
|
license: GPL-3
|
||||||
|
license-file: LICENSE
|
||||||
|
build-type: Simple
|
||||||
|
tested-with:
|
||||||
|
GHC==8.6.5, GHC==8.8.4, GHC==8.10.4, GHC==9.0.1
|
||||||
|
extra-source-files:
|
||||||
|
CHANGES.md
|
||||||
|
README.md
|
||||||
|
test/unittest.hs
|
||||||
|
test/doctests.hs
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/simonmichael/hledger
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
Hledger
|
||||||
|
Hledger.Data
|
||||||
|
Hledger.Data.Account
|
||||||
|
Hledger.Data.AccountName
|
||||||
|
Hledger.Data.Amount
|
||||||
|
Hledger.Data.Balancing
|
||||||
|
Hledger.Data.Dates
|
||||||
|
Hledger.Read.InputOptions
|
||||||
|
Hledger.Data.Journal
|
||||||
|
Hledger.Data.Json
|
||||||
|
Hledger.Data.Ledger
|
||||||
|
Hledger.Data.Period
|
||||||
|
Hledger.Data.PeriodicTransaction
|
||||||
|
Hledger.Data.StringFormat
|
||||||
|
Hledger.Data.Posting
|
||||||
|
Hledger.Data.RawOptions
|
||||||
|
Hledger.Data.Timeclock
|
||||||
|
Hledger.Data.Transaction
|
||||||
|
Hledger.Data.TransactionModifier
|
||||||
|
Hledger.Data.Types
|
||||||
|
Hledger.Data.Valuation
|
||||||
|
Hledger.Query
|
||||||
|
Hledger.Read
|
||||||
|
Hledger.Read.Common
|
||||||
|
Hledger.Read.CsvReader
|
||||||
|
Hledger.Read.JournalReader
|
||||||
|
Hledger.Read.TimedotReader
|
||||||
|
Hledger.Read.TimeclockReader
|
||||||
|
Hledger.Reports
|
||||||
|
Hledger.Reports.ReportOptions
|
||||||
|
Hledger.Reports.ReportTypes
|
||||||
|
Hledger.Reports.AccountTransactionsReport
|
||||||
|
Hledger.Reports.BalanceReport
|
||||||
|
Hledger.Reports.BudgetReport
|
||||||
|
Hledger.Reports.EntriesReport
|
||||||
|
Hledger.Reports.MultiBalanceReport
|
||||||
|
Hledger.Reports.PostingsReport
|
||||||
|
Hledger.Utils
|
||||||
|
Hledger.Utils.Debug
|
||||||
|
Hledger.Utils.Parse
|
||||||
|
Hledger.Utils.Regex
|
||||||
|
Hledger.Utils.String
|
||||||
|
Hledger.Utils.Test
|
||||||
|
Hledger.Utils.Text
|
||||||
|
Text.Tabular.AsciiWide
|
||||||
|
other-modules:
|
||||||
|
Text.Megaparsec.Custom
|
||||||
|
Text.WideString
|
||||||
|
Paths_hledger_lib
|
||||||
|
hs-source-dirs:
|
||||||
|
./
|
||||||
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
||||||
|
build-depends:
|
||||||
|
Decimal >=0.5.1
|
||||||
|
, Glob >=0.9
|
||||||
|
, aeson >=1
|
||||||
|
, aeson-pretty
|
||||||
|
, ansi-terminal >=0.9
|
||||||
|
, array
|
||||||
|
, base >=4.11 && <4.16
|
||||||
|
, base-compat-batteries >=0.10.1 && <0.12
|
||||||
|
, blaze-markup >=0.5.1
|
||||||
|
, bytestring
|
||||||
|
, call-stack
|
||||||
|
, cassava
|
||||||
|
, cassava-megaparsec
|
||||||
|
, cmdargs >=0.10
|
||||||
|
, containers >=0.5.9
|
||||||
|
, data-default >=0.5
|
||||||
|
, directory
|
||||||
|
, extra >=1.6.3
|
||||||
|
, file-embed >=0.0.10
|
||||||
|
, filepath
|
||||||
|
, hashtables >=1.2.3.1
|
||||||
|
, megaparsec >=7.0.0 && <9.3
|
||||||
|
, microlens >=0.4
|
||||||
|
, microlens-th >=0.4
|
||||||
|
, mtl >=2.2.1
|
||||||
|
, parser-combinators >=0.4.0
|
||||||
|
, pretty-simple >4 && <5
|
||||||
|
, regex-tdfa
|
||||||
|
, safe >=0.2
|
||||||
|
, tabular >=0.2
|
||||||
|
, tasty >=1.2.3
|
||||||
|
, tasty-hunit >=0.10.0.2
|
||||||
|
, template-haskell
|
||||||
|
, text >=1.2
|
||||||
|
, time >=1.5
|
||||||
|
, timeit
|
||||||
|
, transformers >=0.2
|
||||||
|
, uglymemo
|
||||||
|
, unordered-containers >=0.2
|
||||||
|
, utf8-string >=0.3.5
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite doctest
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: doctests.hs
|
||||||
|
hs-source-dirs:
|
||||||
|
./
|
||||||
|
test
|
||||||
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
||||||
|
build-depends:
|
||||||
|
Decimal >=0.5.1
|
||||||
|
, Glob >=0.7
|
||||||
|
, aeson >=1
|
||||||
|
, aeson-pretty
|
||||||
|
, ansi-terminal >=0.9
|
||||||
|
, array
|
||||||
|
, base >=4.11 && <4.16
|
||||||
|
, base-compat-batteries >=0.10.1 && <0.12
|
||||||
|
, blaze-markup >=0.5.1
|
||||||
|
, bytestring
|
||||||
|
, call-stack
|
||||||
|
, cassava
|
||||||
|
, cassava-megaparsec
|
||||||
|
, cmdargs >=0.10
|
||||||
|
, containers >=0.5.9
|
||||||
|
, data-default >=0.5
|
||||||
|
, directory
|
||||||
|
, doctest >=0.18.1
|
||||||
|
, extra >=1.6.3
|
||||||
|
, file-embed >=0.0.10
|
||||||
|
, filepath
|
||||||
|
, hashtables >=1.2.3.1
|
||||||
|
, megaparsec >=7.0.0 && <9.3
|
||||||
|
, microlens >=0.4
|
||||||
|
, microlens-th >=0.4
|
||||||
|
, mtl >=2.2.1
|
||||||
|
, parser-combinators >=0.4.0
|
||||||
|
, pretty-simple >4 && <5
|
||||||
|
, regex-tdfa
|
||||||
|
, safe >=0.2
|
||||||
|
, tabular >=0.2
|
||||||
|
, tasty >=1.2.3
|
||||||
|
, tasty-hunit >=0.10.0.2
|
||||||
|
, template-haskell
|
||||||
|
, text >=1.2
|
||||||
|
, time >=1.5
|
||||||
|
, timeit
|
||||||
|
, transformers >=0.2
|
||||||
|
, uglymemo
|
||||||
|
, unordered-containers >=0.2
|
||||||
|
, utf8-string >=0.3.5
|
||||||
|
if impl(ghc >= 9.0)
|
||||||
|
buildable: False
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite unittest
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: unittest.hs
|
||||||
|
hs-source-dirs:
|
||||||
|
./
|
||||||
|
test
|
||||||
|
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans
|
||||||
|
build-depends:
|
||||||
|
Decimal >=0.5.1
|
||||||
|
, Glob >=0.9
|
||||||
|
, aeson >=1
|
||||||
|
, aeson-pretty
|
||||||
|
, ansi-terminal >=0.9
|
||||||
|
, array
|
||||||
|
, base >=4.11 && <4.16
|
||||||
|
, base-compat-batteries >=0.10.1 && <0.12
|
||||||
|
, blaze-markup >=0.5.1
|
||||||
|
, bytestring
|
||||||
|
, call-stack
|
||||||
|
, cassava
|
||||||
|
, cassava-megaparsec
|
||||||
|
, cmdargs >=0.10
|
||||||
|
, containers >=0.5.9
|
||||||
|
, data-default >=0.5
|
||||||
|
, directory
|
||||||
|
, extra >=1.6.3
|
||||||
|
, file-embed >=0.0.10
|
||||||
|
, filepath
|
||||||
|
, hashtables >=1.2.3.1
|
||||||
|
, hledger-lib
|
||||||
|
, megaparsec >=7.0.0 && <9.3
|
||||||
|
, microlens >=0.4
|
||||||
|
, microlens-th >=0.4
|
||||||
|
, mtl >=2.2.1
|
||||||
|
, parser-combinators >=0.4.0
|
||||||
|
, pretty-simple >4 && <5
|
||||||
|
, regex-tdfa
|
||||||
|
, safe >=0.2
|
||||||
|
, tabular >=0.2
|
||||||
|
, tasty >=1.2.3
|
||||||
|
, tasty-hunit >=0.10.0.2
|
||||||
|
, template-haskell
|
||||||
|
, text >=1.2
|
||||||
|
, time >=1.5
|
||||||
|
, timeit
|
||||||
|
, transformers >=0.2
|
||||||
|
, uglymemo
|
||||||
|
, unordered-containers >=0.2
|
||||||
|
, utf8-string >=0.3.5
|
||||||
|
buildable: True
|
||||||
|
default-language: Haskell2010
|
Loading…
x
Reference in New Issue
Block a user