From 258a8e11aa8a8b9bd9a3dc719926a80692c5b2973798768df66b83b990a17dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 7 Oct 2021 13:20:01 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:hledger-ui revision:27, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/hledger-ui?expand=0&rev=27 --- hledger-ui-1.22.2.tar.gz | 3 -- hledger-ui-1.23.tar.gz | 3 ++ hledger-ui.cabal | 102 +++++++++++++++++++++++++++++++++++++++ hledger-ui.changes | 15 ++++++ hledger-ui.spec | 4 +- 5 files changed, 123 insertions(+), 4 deletions(-) delete mode 100644 hledger-ui-1.22.2.tar.gz create mode 100644 hledger-ui-1.23.tar.gz create mode 100644 hledger-ui.cabal diff --git a/hledger-ui-1.22.2.tar.gz b/hledger-ui-1.22.2.tar.gz deleted file mode 100644 index 49fa300..0000000 --- a/hledger-ui-1.22.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c93c9da258a6c5e87a8b0ca0354a964582cfd3fd0cd8946057dfb4171a1aa1e -size 65713 diff --git a/hledger-ui-1.23.tar.gz b/hledger-ui-1.23.tar.gz new file mode 100644 index 0000000..1355bdf --- /dev/null +++ b/hledger-ui-1.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3a3bd1d91fe1145414be62c828a8510fbd6a0c26c4a0c115adb4ec4c25b89a13 +size 66277 diff --git a/hledger-ui.cabal b/hledger-ui.cabal new file mode 100644 index 0000000..7e8eb86 --- /dev/null +++ b/hledger-ui.cabal @@ -0,0 +1,102 @@ +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-ui +version: 1.23 +x-revision: 1 +synopsis: Curses-style terminal interface for the hledger accounting system +description: A simple curses-style terminal user interface for the hledger accounting system. + It can be a more convenient way to browse your accounts than the CLI. + This package currently does not support Microsoft Windows, except in WSL. + . + 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, Console +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 + hledger-ui.1 + hledger-ui.txt + hledger-ui.info + +source-repository head + type: git + location: https://github.com/simonmichael/hledger + +flag threaded + description: Build with support for multithreaded execution + manual: False + default: True + +executable hledger-ui + main-is: hledger-ui.hs + other-modules: + Hledger.UI + Hledger.UI.AccountsScreen + Hledger.UI.Editor + Hledger.UI.ErrorScreen + Hledger.UI.Main + Hledger.UI.RegisterScreen + Hledger.UI.Theme + Hledger.UI.TransactionScreen + Hledger.UI.UIOptions + Hledger.UI.UIState + Hledger.UI.UITypes + Hledger.UI.UIUtils + Paths_hledger_ui + 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 + cpp-options: -DVERSION="1.23" + build-depends: + ansi-terminal >=0.9 + , async + , base >=4.11 && <4.16 + , base-compat-batteries >=0.10.1 && <0.12 + , brick >=0.23 + , cmdargs >=0.8 + , containers >=0.5.9 + , data-default + , directory + , extra >=1.6.3 + , filepath + , fsnotify >=0.2.1.2 && <0.4 + , hledger ==1.23.* + , hledger-lib ==1.23.* + , megaparsec >=7.0.0 && <9.3 + , microlens >=0.4 + , microlens-platform >=0.2.3.1 + , process >=1.2 + , safe >=0.2 + , split >=0.1 + , text >=1.2 + , text-zipper >=0.4 + , time >=1.5 + , transformers + , unix + , vector + , vty >=5.15 + if os(windows) + buildable: False + else + buildable: True + if flag(threaded) + ghc-options: -threaded + default-language: Haskell2010 diff --git a/hledger-ui.changes b/hledger-ui.changes index 1fe12d7..74d0a1e 100644 --- a/hledger-ui.changes +++ b/hledger-ui.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Oct 7 07:57:11 UTC 2021 - psimons@suse.com + +- Update hledger-ui to version 1.23 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Wed Sep 22 08:52:12 UTC 2021 - psimons@suse.com + +- Update hledger-ui 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-ui-1.23/src/CHANGES.md + ------------------------------------------------------------------- Tue Sep 7 18:42:23 UTC 2021 - Ondřej Súkup diff --git a/hledger-ui.spec b/hledger-ui.spec index 02a084b..9e7a2fb 100644 --- a/hledger-ui.spec +++ b/hledger-ui.spec @@ -17,12 +17,13 @@ Name: hledger-ui -Version: 1.22.2 +Version: 1.23 Release: 0 Summary: Curses-style terminal interface for the hledger accounting system License: GPL-3.0-or-later 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-ansi-terminal-devel BuildRequires: ghc-async-devel @@ -66,6 +67,7 @@ Read more at: . %prep %autosetup +cp -p %{SOURCE1} %{name}.cabal cabal-tweak-dep-ver 'base-compat-batteries' '<0.12' '<0.13' %build