From 946dec54845eb15f3d9c1bb3557f8d3fbcbf51e9c58adf0505f712b54550b0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 7 Oct 2021 13:19:59 +0000 Subject: [PATCH] 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 --- ghc-hledger-lib.changes | 15 +++ ghc-hledger-lib.spec | 7 +- hledger-lib-1.22.2.tar.gz | 3 - hledger-lib-1.23.tar.gz | 3 + hledger-lib.cabal | 242 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 265 insertions(+), 5 deletions(-) delete mode 100644 hledger-lib-1.22.2.tar.gz create mode 100644 hledger-lib-1.23.tar.gz create mode 100644 hledger-lib.cabal diff --git a/ghc-hledger-lib.changes b/ghc-hledger-lib.changes index fa6f09e..ea2c663 100644 --- a/ghc-hledger-lib.changes +++ b/ghc-hledger-lib.changes @@ -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 diff --git a/ghc-hledger-lib.spec b/ghc-hledger-lib.spec index 96eca12..dc3cfb4 100644 --- a/ghc-hledger-lib.spec +++ b/ghc-hledger-lib.spec @@ -19,12 +19,13 @@ %global pkg_name hledger-lib %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.22.2 +Version: 1.23 Release: 0 Summary: A reusable library providing the core functionality of hledger License: GPL-3.0-or-later URL: https://hackage.haskell.org/package/%{pkg_name} 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-Decimal-devel BuildRequires: ghc-Glob-devel @@ -47,8 +48,9 @@ BuildRequires: ghc-file-embed-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-hashtables-devel BuildRequires: ghc-megaparsec-devel +BuildRequires: ghc-microlens-devel +BuildRequires: ghc-microlens-th-devel BuildRequires: ghc-mtl-devel -BuildRequires: ghc-old-time-devel BuildRequires: ghc-parser-combinators-devel BuildRequires: ghc-pretty-simple-devel BuildRequires: ghc-regex-tdfa-devel @@ -93,6 +95,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal cabal-tweak-dep-ver 'base-compat-batteries' '<0.12' '<0.13' %build diff --git a/hledger-lib-1.22.2.tar.gz b/hledger-lib-1.22.2.tar.gz deleted file mode 100644 index 01d8997..0000000 --- a/hledger-lib-1.22.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4c54f11e7efdc0fcb01050300f02899c8a96dc88061821fc5984aecbb796877 -size 252612 diff --git a/hledger-lib-1.23.tar.gz b/hledger-lib-1.23.tar.gz new file mode 100644 index 0000000..2cf45ae --- /dev/null +++ b/hledger-lib-1.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c54ed631a23ef05531327b93d334d5303edf9831b598b71f60bab4b5c5257a0 +size 260121 diff --git a/hledger-lib.cabal b/hledger-lib.cabal new file mode 100644 index 0000000..d5cc00b --- /dev/null +++ b/hledger-lib.cabal @@ -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: + +category: Finance +stability: stable +homepage: http://hledger.org +bug-reports: http://bugs.hledger.org +author: Simon Michael +maintainer: Simon Michael +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