pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/finance/hledger
Module Name: pkgsrc
Committed By: pho
Date: Sat Apr 24 11:12:10 UTC 2021
Modified Files:
pkgsrc/finance/hledger: Makefile distinfo
Added Files:
pkgsrc/finance/hledger/patches: patch-app_hledger-cli.hs
patch-hledger.cabal
Removed Files:
pkgsrc/finance/hledger: common.mk
Log Message:
Update to hledger-1.21
The change log is too long to paste here. See
http://hackage.haskell.org/package/hledger-1.21/changelog
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/finance/hledger/Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/finance/hledger/common.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/hledger/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/finance/hledger/patches/patch-app_hledger-cli.hs \
pkgsrc/finance/hledger/patches/patch-hledger.cabal
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/finance/hledger/Makefile
diff -u pkgsrc/finance/hledger/Makefile:1.2 pkgsrc/finance/hledger/Makefile:1.3
--- pkgsrc/finance/hledger/Makefile:1.2 Mon Mar 30 17:52:39 2020
+++ pkgsrc/finance/hledger/Makefile Sat Apr 24 11:12:09 2021
@@ -1,26 +1,41 @@
-# $NetBSD: Makefile,v 1.2 2020/03/30 17:52:39 riastradh Exp $
+# $NetBSD: Makefile,v 1.3 2021/04/24 11:12:09 pho Exp $
-.include "../../finance/hledger/common.mk"
-
-HASKELL_PKG_NAME= hledger
-CATEGORIES= finance
+DISTNAME= hledger-1.21
+PKGNAME= ${DISTNAME}
+CATEGORIES= finance
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/simonmichael/hledger/
COMMENT= Plain-text accounting tool
LICENSE= gnu-gpl-v3
-USE_LANGUAGES= # none
-
-.include "../../devel/hs-utility-ht/buildlink3.mk"
-.include "../../devel/hs-wizards/buildlink3.mk"
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../devel/hs-base-compat-batteries/buildlink3.mk"
+.include "../../devel/hs-cmdargs/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../finance/hs-Decimal/buildlink3.mk"
+.include "../../textproc/hs-Diff/buildlink3.mk"
+.include "../../misc/hs-extra/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
.include "../../finance/hledger-lib/buildlink3.mk"
+.include "../../textproc/hs-lucid/buildlink3.mk"
.include "../../math/hs-math-functions/buildlink3.mk"
-.include "../../mk/haskell.mk"
+.include "../../textproc/hs-megaparsec/buildlink3.mk"
+.include "../../time/hs-old-time/buildlink3.mk"
+.include "../../textproc/hs-regex-tdfa/buildlink3.mk"
+.include "../../devel/hs-safe/buildlink3.mk"
+.include "../../textproc/hs-shakespeare/buildlink3.mk"
+.include "../../devel/hs-split/buildlink3.mk"
+.include "../../devel/hs-tabular/buildlink3.mk"
+.include "../../devel/hs-tasty/buildlink3.mk"
.include "../../sysutils/hs-temporary/buildlink3.mk"
+.include "../../devel/hs-timeit/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../devel/hs-utility-ht/buildlink3.mk"
+.include "../../devel/hs-wizards/buildlink3.mk"
+.include "../../mk/haskell.mk"
.include "../../textproc/hs-Diff/buildlink3.mk"
-.include "../../textproc/hs-lucid/buildlink3.mk"
-.include "../../textproc/hs-shakespeare/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# XXX Kludge: We need to run this in a UTF-8 locale; otherwise GHC is
Index: pkgsrc/finance/hledger/distinfo
diff -u pkgsrc/finance/hledger/distinfo:1.1 pkgsrc/finance/hledger/distinfo:1.2
--- pkgsrc/finance/hledger/distinfo:1.1 Mon Mar 30 16:52:48 2020
+++ pkgsrc/finance/hledger/distinfo Sat Apr 24 11:12:09 2021
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.1 2020/03/30 16:52:48 riastradh Exp $
+$NetBSD: distinfo,v 1.2 2021/04/24 11:12:09 pho Exp $
-SHA1 (hledger-1.17.1.1.tar.gz) = c293bf7ef81d3423c13a2c8598d665d6214d5154
-RMD160 (hledger-1.17.1.1.tar.gz) = 6dbd8f4c43cc897830413acd9a7894d96683018d
-SHA512 (hledger-1.17.1.1.tar.gz) = 3d1d34a307ca4687c7740a591047c7e4cda2b8e779e675696cc8cdca3cb669f71f4e15a3c30cbef9ec0784d853b2103f14797e84ea7f2c3002134ab9c50bb3e5
-Size (hledger-1.17.1.1.tar.gz) = 1796221 bytes
+SHA1 (hledger-1.21.tar.gz) = 1ebf07f6c7d551b46e5527602dbf4f6705fa66ff
+RMD160 (hledger-1.21.tar.gz) = 3317f14967ddebbd1ed09567cdcf8ccb8c419132
+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
Added files:
Index: pkgsrc/finance/hledger/patches/patch-app_hledger-cli.hs
diff -u /dev/null pkgsrc/finance/hledger/patches/patch-app_hledger-cli.hs:1.1
--- /dev/null Sat Apr 24 11:12:10 2021
+++ pkgsrc/finance/hledger/patches/patch-app_hledger-cli.hs Sat Apr 24 11:12:09 2021
@@ -0,0 +1,15 @@
+$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
Index: pkgsrc/finance/hledger/patches/patch-hledger.cabal
diff -u /dev/null pkgsrc/finance/hledger/patches/patch-hledger.cabal:1.1
--- /dev/null Sat Apr 24 11:12:10 2021
+++ pkgsrc/finance/hledger/patches/patch-hledger.cabal Sat Apr 24 11:12:09 2021
@@ -0,0 +1,42 @@
+$NetBSD: patch-hledger.cabal,v 1.1 2021/04/24 11:12:09 pho Exp $
+
+Fix build with GHC 9.
+
+--- hledger.cabal.orig 2021-03-10 16:29:46.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
+ , bytestring
+ , cmdargs >=0.10
+@@ -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
+ , bytestring
+ , cmdargs >=0.10
+@@ -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
+ , bytestring
+ , cmdargs >=0.10
+@@ -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
+ , bytestring
+ , cmdargs >=0.10
Home |
Main Index |
Thread Index |
Old Index