From 2779b3c9d13bc65c8cb8d6028bd3717b36b6343e050ccab06681e6f1b90236ab Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 27 May 2024 13:00:26 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.8.x package:hledger-ui revision:14, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/hledger-ui?expand=0&rev=58 --- hledger-ui.cabal | 123 +++++++++++++++++++++++++++++++++++++++++++++ hledger-ui.changes | 6 +++ hledger-ui.spec | 2 + 3 files changed, 131 insertions(+) create mode 100644 hledger-ui.cabal diff --git a/hledger-ui.cabal b/hledger-ui.cabal new file mode 100644 index 0000000..5487b71 --- /dev/null +++ b/hledger-ui.cabal @@ -0,0 +1,123 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.36.0. +-- +-- see: https://github.com/sol/hpack + +name: hledger-ui +version: 1.33.1 +x-revision: 1 +synopsis: Terminal interface for the hledger accounting system +description: A simple 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.10.7, GHC==9.0.2, GHC==9.2.8, GHC==9.4.5, GHC==9.6.2 +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 + +library + exposed-modules: + Hledger.UI + Hledger.UI.Main + Hledger.UI.Theme + Hledger.UI.UIOptions + other-modules: + Hledger.UI.AccountsScreen + Hledger.UI.BalancesheetScreen + Hledger.UI.CashScreen + Hledger.UI.Editor + Hledger.UI.ErrorScreen + Hledger.UI.IncomestatementScreen + Hledger.UI.MenuScreen + Hledger.UI.RegisterScreen + Hledger.UI.TransactionScreen + Hledger.UI.UIScreens + Hledger.UI.UIState + Hledger.UI.UITypes + Hledger.UI.UIUtils + Paths_hledger_ui + hs-source-dirs: + ./ + ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind + cpp-options: -DVERSION="1.33.1" -DVERSION="1.33.1" + build-depends: + ansi-terminal >=0.9 + , async + , base >=4.15 && <4.20 + , brick >=2.1.1 && <2.4 + , cmdargs >=0.8 + , containers >=0.5.9 + , data-default + , directory + , doclayout >=0.3 && <0.5 + , extra >=1.6.3 + , filepath + , fsnotify ==0.4.* + , hledger >=1.33.1 && <1.34 + , hledger-lib >=1.33.1 && <1.34 + , megaparsec >=7.0.0 && <9.7 + , microlens >=0.4 + , microlens-platform >=0.2.3.1 + , mtl >=2.2.1 + , process >=1.2 + , safe >=0.3.20 + , split >=0.1 + , text >=1.2.4.1 + , text-zipper >=0.4 + , time >=1.5 + , transformers + , vector + , vty >=6.1 && <6.3 + , vty-crossplatform >=0.4.0.0 && <0.5.0.0 + default-language: Haskell2010 + if os(windows) + build-depends: + vty-windows >=0.2.0.1 && <0.3.0.0 + else + build-depends: + unix + +executable hledger-ui + main-is: hledger-ui.hs + other-modules: + Paths_hledger_ui + hs-source-dirs: + app + ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind + cpp-options: -DVERSION="1.33.1" + build-depends: + base >=4.15 && <4.20 + , hledger-ui + default-language: Haskell2010 + if flag(threaded) + ghc-options: -threaded -with-rtsopts=-T diff --git a/hledger-ui.changes b/hledger-ui.changes index c02e9c7..93c3e8e 100644 --- a/hledger-ui.changes +++ b/hledger-ui.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 18 02:04:43 UTC 2024 - Peter Simons + +- Update hledger-ui to version 1.33.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Thu May 2 11:03:20 UTC 2024 - Peter Simons diff --git a/hledger-ui.spec b/hledger-ui.spec index e5e32c4..22f40aa 100644 --- a/hledger-ui.spec +++ b/hledger-ui.spec @@ -25,6 +25,7 @@ Summary: 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: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-ansi-terminal-devel @@ -133,6 +134,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup +cp -p %{SOURCE1} %{name}.cabal %build %ghc_lib_build