pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/hledger Update to hledger-1.24.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/5146654d39aa
branches: trunk
changeset: 373663:5146654d39aa
user: pho <pho%pkgsrc.org@localhost>
date: Sat Feb 12 07:59:09 2022 +0000
description:
Update to hledger-1.24.1
The list of changes since 1.21 is too long to paste here:
https://hackage.haskell.org/package/hledger-1.24.1/changelog
diffstat:
finance/hledger/Makefile | 11 ++++++--
finance/hledger/PLIST | 4 ++-
finance/hledger/distinfo | 11 ++++----
finance/hledger/patches/patch-app_hledger-cli.hs | 15 ------------
finance/hledger/patches/patch-hledger.cabal | 30 ++++++++++++------------
5 files changed, 31 insertions(+), 40 deletions(-)
diffs (154 lines):
diff -r be42ba0d0c25 -r 5146654d39aa finance/hledger/Makefile
--- a/finance/hledger/Makefile Sat Feb 12 07:52:46 2022 +0000
+++ b/finance/hledger/Makefile Sat Feb 12 07:59:09 2022 +0000
@@ -1,14 +1,18 @@
-# $NetBSD: Makefile,v 1.6 2022/01/18 02:48:16 pho Exp $
+# $NetBSD: Makefile,v 1.7 2022/02/12 07:59:09 pho Exp $
-DISTNAME= hledger-1.21
+DISTNAME= hledger-1.24.1
PKGNAME= ${DISTNAME}
-PKGREVISION= 2
CATEGORIES= finance
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Plain-text accounting tool
LICENSE= gnu-gpl-v3
+INSTALLATION_DIRS+= share/bash-completion/completions
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/shell-completion/hledger-completion.bash \
+ ${DESTDIR}${PREFIX}/share/bash-completion/completions/hledger
+
.include "../../converters/hs-aeson/buildlink3.mk"
.include "../../devel/hs-ansi-terminal/buildlink3.mk"
.include "../../devel/hs-base-compat-batteries/buildlink3.mk"
@@ -17,6 +21,7 @@
.include "../../finance/hs-Decimal/buildlink3.mk"
.include "../../textproc/hs-Diff/buildlink3.mk"
.include "../../misc/hs-extra/buildlink3.mk"
+.include "../../devel/hs-githash/buildlink3.mk"
.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../finance/hledger-lib/buildlink3.mk"
.include "../../textproc/hs-lucid/buildlink3.mk"
diff -r be42ba0d0c25 -r 5146654d39aa finance/hledger/PLIST
--- a/finance/hledger/PLIST Sat Feb 12 07:52:46 2022 +0000
+++ b/finance/hledger/PLIST Sat Feb 12 07:59:09 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/04/24 11:14:51 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/02/12 07:59:09 pho Exp $
bin/hledger
lib/${PKGNAME}/${HS_VERSION}/package-description
lib/${PKGNAME}/${HS_VERSION}/package-id
@@ -128,6 +128,7 @@
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/bash-completion/completions/hledger
share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE
share/doc/${HS_PLATFORM}/${PKGNAME}/html/Hledger-Cli-Anon.html
share/doc/${HS_PLATFORM}/${PKGNAME}/html/Hledger-Cli-CliOptions.html
@@ -170,6 +171,7 @@
share/doc/${HS_PLATFORM}/${PKGNAME}/html/Hledger-Cli-Version.html
share/doc/${HS_PLATFORM}/${PKGNAME}/html/Hledger-Cli.html
share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-64.html
+share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-95.html
share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-A.html
share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-All.html
share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-B.html
diff -r be42ba0d0c25 -r 5146654d39aa finance/hledger/distinfo
--- a/finance/hledger/distinfo Sat Feb 12 07:52:46 2022 +0000
+++ b/finance/hledger/distinfo Sat Feb 12 07:59:09 2022 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:26:01 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/12 07:59:09 pho Exp $
-BLAKE2s (hledger-1.21.tar.gz) = 8960db93ae2b786d09e7144c0e838bb280044536ec6b3ec12129139cd814f921
-SHA512 (hledger-1.21.tar.gz) = 4ae5e9dc0160759f85b5c9d9ae4d4faeb2a63a41dd5376e658ac6fa13ff2b72b5e808ed0d52ed50d83e9bade3ce8839c23aabbbf6baccf236b579b07898dd3ba
-Size (hledger-1.21.tar.gz) = 850008 bytes
-SHA1 (patch-app_hledger-cli.hs) = 068998f7e14360f5da13e9abf568f387ec83de16
-SHA1 (patch-hledger.cabal) = 5b4053ca7fec98b27d787decde37ff536a02ef79
+BLAKE2s (hledger-1.24.1.tar.gz) = eca20efac7f4b071ada8fc8b8573e63a97d4a25dc02d7ab1ab676db9b6a00dc4
+SHA512 (hledger-1.24.1.tar.gz) = 0941258f7c6f699967261eaf9e20c1f81f6694b8f559ac1e729f37cff64dce3b787447f69c222115437318e8ccd6c4273e52befa41b3419f8fb4cc131c7fcdf7
+Size (hledger-1.24.1.tar.gz) = 924363 bytes
+SHA1 (patch-hledger.cabal) = 02a9fe87d4750d19a48b4b3f8e6d5e3fdaa4de82
diff -r be42ba0d0c25 -r 5146654d39aa finance/hledger/patches/patch-app_hledger-cli.hs
--- a/finance/hledger/patches/patch-app_hledger-cli.hs Sat Feb 12 07:52:46 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-app_hledger-cli.hs,v 1.1 2021/04/24 11:12:09 pho Exp $
-
-GHC 9 fails to build a Main module whose 'main' is merely imported
-from somewhere else. Possibly a compiler bug?
-
---- app/hledger-cli.hs.orig 2021-04-24 11:06:54.613572938 +0000
-+++ app/hledger-cli.hs
-@@ -3,4 +3,6 @@
-
- module Main (main)
- where
--import Hledger.Cli.Main (main)
-+import qualified Hledger.Cli.Main as M
-+
-+main = M.main
diff -r be42ba0d0c25 -r 5146654d39aa finance/hledger/patches/patch-hledger.cabal
--- a/finance/hledger/patches/patch-hledger.cabal Sat Feb 12 07:52:46 2022 +0000
+++ b/finance/hledger/patches/patch-hledger.cabal Sat Feb 12 07:59:09 2022 +0000
@@ -1,42 +1,42 @@
-$NetBSD: patch-hledger.cabal,v 1.1 2021/04/24 11:12:09 pho Exp $
+$NetBSD: patch-hledger.cabal,v 1.2 2022/02/12 07:59:09 pho Exp $
-Fix build with GHC 9.
+Fix build with GHC 9.2
---- hledger.cabal.orig 2021-03-10 16:29:46.000000000 +0000
+--- hledger.cabal.orig 2021-12-02 03:16:14.000000000 +0000
+++ hledger.cabal
@@ -142,7 +142,7 @@ library
, Diff
, aeson >=1
, ansi-terminal >=0.9
-- , base >=4.9 && <4.15
-+ , base >=4.9 && <5
- , base-compat-batteries >=0.10.1 && <0.12
+- , base >=4.11 && <4.16
++ , base >=4.11 && <5
, bytestring
, cmdargs >=0.10
+ , containers >=0.5.9
@@ -192,7 +192,7 @@ executable hledger
Decimal >=0.5.1
, aeson >=1
, ansi-terminal >=0.9
-- , base >=4.9 && <4.15
-+ , base >=4.9 && <5
- , base-compat-batteries >=0.10.1 && <0.12
+- , base >=4.11 && <4.16
++ , base >=4.11 && <5
, bytestring
, cmdargs >=0.10
+ , containers >=0.5.9
@@ -242,7 +242,7 @@ test-suite unittest
Decimal >=0.5.1
, aeson >=1
, ansi-terminal >=0.9
-- , base >=4.9 && <4.15
-+ , base >=4.9 && <5
- , base-compat-batteries >=0.10.1 && <0.12
+- , base >=4.11 && <4.16
++ , base >=4.11 && <5
, bytestring
, cmdargs >=0.10
+ , containers >=0.5.9
@@ -289,7 +289,7 @@ benchmark bench
Decimal >=0.5.1
, aeson >=1
, ansi-terminal >=0.9
-- , base >=4.9 && <4.15
-+ , base >=4.9 && <5
- , base-compat-batteries >=0.10.1 && <0.12
+- , base >=4.11 && <4.16
++ , base >=4.11 && <5
, bytestring
, cmdargs >=0.10
+ , containers >=0.5.9
Home |
Main Index |
Thread Index |
Old Index