summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-01 04:23:34 +0000
committerpho <pho@pkgsrc.org>2020-01-01 04:23:34 +0000
commite7e35ac49581e2f4846876b6b4c5ccab1df05dc6 (patch)
tree27b2a1fb7534196533b5ae7b3bae1af32a0d2fd8
parent2a3cb510be8f9e0837bd52cb4ee21424cb97aafb (diff)
downloadpkgsrc-e7e35ac49581e2f4846876b6b4c5ccab1df05dc6.tar.gz
Update to exceptions-0.10.4
0.10.4 [2019.12.26] * Allow building with template-haskell-2.16.*. * Only depend on transformers-compat on old versions of GHC. 0.10.3 [2019.08.27] * MonadThrow instance for the strict ST monad. 0.10.2 [2019.05.02] * Allow building with base-4.13/template-haskell-2.15. 0.10.1 [2019.03.26] * Define a MonadFail instance for CatchT. * Allow QuickCheck-2.13 in the test suite. 0.10.0 * Fix a regression in 0.9.0 whereby the non-IO effects in bracket's use action were not visible to the release action, and the non-IO effects in the release action were not visible after the bracket call. * The type of generalBracket was changed in order to restore those non-IO effects, so if you are a library author that provides a MonadMask instance, you will need to update your implementation of this method. * Add MonadMask instance for MaybeT * Add onError function whose action also runs on errors which are not exceptions, such as a Nothing or a Left. 0.9.0 * Add generalBracket to the MonadMask typeclass, allowing more valid instances. * Note that functions such as bracket and finally are now based off of generalBracket, so if you are a library author that provides a MonadMask instance, you will need to provide an implementation of this method. * Add MonadMask instances for ExceptT and ErrorT 0.8.3 * MonadCatch and MonadMask instances for Either SomeException 0.8.1 * Support for throwing in the template-haskell Q monad * Support for transformers 0.5 0.8.0.1 * Resolved warnings on GHC 7.10 and with transformers 0.4. 0.8 * Use transformers-compat to allow support for ExceptT even on older transformers versions. 0.7 * stm support
-rw-r--r--devel/hs-exceptions/Makefile8
-rw-r--r--devel/hs-exceptions/PLIST22
-rw-r--r--devel/hs-exceptions/buildlink3.mk9
-rw-r--r--devel/hs-exceptions/distinfo10
4 files changed, 14 insertions, 35 deletions
diff --git a/devel/hs-exceptions/Makefile b/devel/hs-exceptions/Makefile
index 191fb558f15..4231b4b1133 100644
--- a/devel/hs-exceptions/Makefile
+++ b/devel/hs-exceptions/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2014/11/23 12:52:32 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.4 2020/01/01 04:23:34 pho Exp $
-DISTNAME= exceptions-0.6.1
-PKGREVISION= 2
+DISTNAME= exceptions-0.10.4
CATEGORIES= devel
MAINTAINER= szptvlfn@NetBSD.org
@@ -10,5 +9,6 @@ LICENSE= modified-bsd
.include "../../mk/haskell.mk"
.include "../../devel/hs-mtl/buildlink3.mk"
-.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../devel/hs-stm/buildlink3.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hs-exceptions/PLIST b/devel/hs-exceptions/PLIST
deleted file mode 100644
index c3f5e876cb3..00000000000
--- a/devel/hs-exceptions/PLIST
+++ /dev/null
@@ -1,22 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/05/24 22:00:42 szptvlfn Exp $
-lib/exceptions-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Catch.hi
-lib/exceptions-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Catch/Pure.hi
-lib/exceptions-${PKGVERSION}/${HASKELL_VERSION}/HSexceptions-${PKGVERSION}.o
-lib/exceptions-${PKGVERSION}/${HASKELL_VERSION}/libHSexceptions-${PKGVERSION}.a
-lib/exceptions-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/exceptions-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/Control-Monad-Catch-Pure.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/Control-Monad-Catch.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/exceptions.haddock
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/mini_Control-Monad-Catch-Pure.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/mini_Control-Monad-Catch.html
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/exceptions-${PKGVERSION}/html/synopsis.png
diff --git a/devel/hs-exceptions/buildlink3.mk b/devel/hs-exceptions/buildlink3.mk
index 28dc72ec800..32c203716d2 100644
--- a/devel/hs-exceptions/buildlink3.mk
+++ b/devel/hs-exceptions/buildlink3.mk
@@ -1,16 +1,17 @@
-# $NetBSD: buildlink3.mk,v 1.3 2014/11/23 12:52:32 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2020/01/01 04:23:34 pho Exp $
BUILDLINK_TREE+= hs-exceptions
.if !defined(HS_EXCEPTIONS_BUILDLINK3_MK)
HS_EXCEPTIONS_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-exceptions+= hs-exceptions>=0.6.1
-BUILDLINK_ABI_DEPENDS.hs-exceptions+= hs-exceptions>=0.6.1nb2
+BUILDLINK_API_DEPENDS.hs-exceptions+= hs-exceptions>=0.10.4
+BUILDLINK_ABI_DEPENDS.hs-exceptions+= hs-exceptions>=0.10.4
BUILDLINK_PKGSRCDIR.hs-exceptions?= ../../devel/hs-exceptions
.include "../../devel/hs-mtl/buildlink3.mk"
-.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../devel/hs-stm/buildlink3.mk"
+.include "../../devel/hs-fail/buildlink3.mk"
.endif # HS_EXCEPTIONS_BUILDLINK3_MK
BUILDLINK_TREE+= -hs-exceptions
diff --git a/devel/hs-exceptions/distinfo b/devel/hs-exceptions/distinfo
index aade15cc2a8..7bd53c20104 100644
--- a/devel/hs-exceptions/distinfo
+++ b/devel/hs-exceptions/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:27:32 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/01/01 04:23:34 pho Exp $
-SHA1 (exceptions-0.6.1.tar.gz) = b28165332ae633a622cfe49f4df59b826db1f040
-RMD160 (exceptions-0.6.1.tar.gz) = 46e27be5a1f41c48a92ffe7976ce5655313ffd30
-SHA512 (exceptions-0.6.1.tar.gz) = 92413cfa9fccd877303ec4f100c4ac94d3e30df0563600733a940c3a3ee9d4e1e934bd6d09774faed684c8ea9821b8c44cf501cc44fe8c834dd19e2efbed5070
-Size (exceptions-0.6.1.tar.gz) = 11392 bytes
+SHA1 (exceptions-0.10.4.tar.gz) = f0e512c639ba31dcd37875702d718ecd4bf009fe
+RMD160 (exceptions-0.10.4.tar.gz) = bcf1a2ba174d645297b54dcb438b044f4f6424d1
+SHA512 (exceptions-0.10.4.tar.gz) = 3df1edb4abab8e2e2dbd7387809d9768efca36c6840225ce33bee8679a4efdcf86d28beafb54a9a40e512163e4d088f94e788341bf614869bbdbd9d701bca4a2
+Size (exceptions-0.10.4.tar.gz) = 20819 bytes