pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hs-exceptions Update to exceptions-0.10.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/573ac61fbd7b
branches:  trunk
changeset: 407020:573ac61fbd7b
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 01 04:23:34 2020 +0000

description:
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

diffstat:

 devel/hs-exceptions/Makefile      |   8 ++++----
 devel/hs-exceptions/PLIST         |  22 ----------------------
 devel/hs-exceptions/buildlink3.mk |   9 +++++----
 devel/hs-exceptions/distinfo      |  10 +++++-----
 4 files changed, 14 insertions(+), 35 deletions(-)

diffs (87 lines):

diff -r 4aee9ad995ea -r 573ac61fbd7b devel/hs-exceptions/Makefile
--- a/devel/hs-exceptions/Makefile      Wed Jan 01 03:50:08 2020 +0000
+++ b/devel/hs-exceptions/Makefile      Wed Jan 01 04:23:34 2020 +0000
@@ -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@localhost
@@ -10,5 +9,6 @@
 
 .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 -r 4aee9ad995ea -r 573ac61fbd7b devel/hs-exceptions/PLIST
--- a/devel/hs-exceptions/PLIST Wed Jan 01 03:50:08 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 4aee9ad995ea -r 573ac61fbd7b devel/hs-exceptions/buildlink3.mk
--- a/devel/hs-exceptions/buildlink3.mk Wed Jan 01 03:50:08 2020 +0000
+++ b/devel/hs-exceptions/buildlink3.mk Wed Jan 01 04:23:34 2020 +0000
@@ -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 -r 4aee9ad995ea -r 573ac61fbd7b devel/hs-exceptions/distinfo
--- a/devel/hs-exceptions/distinfo      Wed Jan 01 03:50:08 2020 +0000
+++ b/devel/hs-exceptions/distinfo      Wed Jan 01 04:23:34 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index