pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-monad-control Update to monad-control-1.0.2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc93aa9bb5f0
branches:  trunk
changeset: 407031:dc93aa9bb5f0
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 01 04:51:21 2020 +0000

description:
Update to monad-control-1.0.2.3

1.0.2.3
* Correct spelling mistake. Courtesy of Edward Betts.
* Support transformers-compat-0.6.

1.0.2.2
* Added some good documentation. Courtesy of Franz Thoma.

1.0.2.1
* Refer to Michael Snoyman's excellent tutorial on monad-control.

1.0.2.0
* Improve documentation by including type equalities in the Haddock
  documentation.
* Add helpers to define MonadTransControl for stack of two:
  RunDefault2, defaultLiftWith2, defaultRestoreT2

1.0.1.0
* Added the functions:

  liftThrough
    :: (MonadTransControl t, Monad (t m), Monad m)
    => (m (StT t a) -> m (StT t b)) -- ^
    -> t m a -> t m b

  captureT :: (MonadTransControl t, Monad (t m), Monad m) => t m (StT t ())
  captureM :: MonadBaseControl b m => m (StM m ())

* Added Travis-CI integration

1.0.0.5
* Support transformers-0.5 & ransformers-compat-0.5.*.

1.0.0.4
* Support transformers-compat-0.4.*.

1.0.0.3
* Unconditionally add ExceptT instances using transformers-compat.
  Courtesy of Adam Bergmark.

1.0.0.2
* Add a base >= 4.5 constraint because monad-control only builds on
  GHC >= 7.4.

1.0.0.1
* Use Safe instead of Trustworthy. This requires a dependency on stm.

1.0.0.0
* Switch the associated data types StT and StM to associated type
  synonyms.

  This is an API breaking change. To fix your MonadTransControl or
  MonadBaseControl instances simply remove the StT or StM constructors
  and deconstructors for your monad transformers or monad.

* Add the embed, embed_ and liftBaseOpDiscard functions.

0.3.3.1
* Unconditionally add ExceptT instances using transformers-compat.
  Courtesy of Adam Bergmark.

diffstat:

 devel/hs-monad-control/Makefile      |   8 ++++----
 devel/hs-monad-control/PLIST         |  19 -------------------
 devel/hs-monad-control/buildlink3.mk |   9 +++++----
 devel/hs-monad-control/distinfo      |  10 +++++-----
 4 files changed, 14 insertions(+), 32 deletions(-)

diffs (85 lines):

diff -r be2e9b4297e4 -r dc93aa9bb5f0 devel/hs-monad-control/Makefile
--- a/devel/hs-monad-control/Makefile   Wed Jan 01 04:47:56 2020 +0000
+++ b/devel/hs-monad-control/Makefile   Wed Jan 01 04:51:21 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:51:21 pho Exp $
 
-DISTNAME=      monad-control-0.3.3.0
-PKGREVISION=   2
+DISTNAME=      monad-control-1.0.2.3
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
@@ -9,6 +8,7 @@
 LICENSE=       modified-bsd
 
 .include "../../mk/haskell.mk"
-.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../devel/hs-stm/buildlink3.mk"
 .include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r be2e9b4297e4 -r dc93aa9bb5f0 devel/hs-monad-control/PLIST
--- a/devel/hs-monad-control/PLIST      Wed Jan 01 04:47:56 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/07/30 21:34:26 szptvlfn Exp $
-lib/monad-control-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Trans/Control.hi
-lib/monad-control-${PKGVERSION}/${HASKELL_VERSION}/HSmonad-control-${PKGVERSION}.o
-lib/monad-control-${PKGVERSION}/${HASKELL_VERSION}/libHSmonad-control-${PKGVERSION}.a
-lib/monad-control-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/monad-control-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/Control-Monad-Trans-Control.html
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/mini_Control-Monad-Trans-Control.html
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/monad-control.haddock
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/monad-control-${PKGVERSION}/html/synopsis.png
diff -r be2e9b4297e4 -r dc93aa9bb5f0 devel/hs-monad-control/buildlink3.mk
--- a/devel/hs-monad-control/buildlink3.mk      Wed Jan 01 04:47:56 2020 +0000
+++ b/devel/hs-monad-control/buildlink3.mk      Wed Jan 01 04:51:21 2020 +0000
@@ -1,16 +1,17 @@
-# $NetBSD: buildlink3.mk,v 1.4 2018/01/07 13:04:03 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2020/01/01 04:51:21 pho Exp $
 
 BUILDLINK_TREE+=       hs-monad-control
 
 .if !defined(HS_MONAD_CONTROL_BUILDLINK3_MK)
 HS_MONAD_CONTROL_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-monad-control+=       hs-monad-control>=0.3.3
-BUILDLINK_ABI_DEPENDS.hs-monad-control+=       hs-monad-control>=0.3.3.0nb2
+BUILDLINK_API_DEPENDS.hs-monad-control+=       hs-monad-control>=1.0.2
+BUILDLINK_ABI_DEPENDS.hs-monad-control+=       hs-monad-control>=1.0.2.3
 BUILDLINK_PKGSRCDIR.hs-monad-control?=         ../../devel/hs-monad-control
 
-.include "../../devel/hs-transformers/buildlink3.mk"
+.include "../../devel/hs-stm/buildlink3.mk"
 .include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
 .endif # HS_MONAD_CONTROL_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-monad-control
diff -r be2e9b4297e4 -r dc93aa9bb5f0 devel/hs-monad-control/distinfo
--- a/devel/hs-monad-control/distinfo   Wed Jan 01 04:47:56 2020 +0000
+++ b/devel/hs-monad-control/distinfo   Wed Jan 01 04:51:21 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:27:33 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/01/01 04:51:21 pho Exp $
 
-SHA1 (monad-control-0.3.3.0.tar.gz) = e373d53c8632b9ab03bec889b4193b2b3bdeddfd
-RMD160 (monad-control-0.3.3.0.tar.gz) = 0b985b70c2282c6c2da53e5a0f26135ab8734b6a
-SHA512 (monad-control-0.3.3.0.tar.gz) = 734ca14baea74f9bd6f3603dc84426bd6d79ae23998ffcce5c8b994dfa8d58b8a573e7b0f68f7eaab07163c8806d8d5f95160f0439cc5fbd07b9509c84e4ef8a
-Size (monad-control-0.3.3.0.tar.gz) = 10518 bytes
+SHA1 (monad-control-1.0.2.3.tar.gz) = d6c8903432ce8d5f11f1a9fa10cb190b8459776e
+RMD160 (monad-control-1.0.2.3.tar.gz) = 049e21831ed6af9cdf22c1e005aadf7c8cdaac32
+SHA512 (monad-control-1.0.2.3.tar.gz) = 59837326ec9f25220cb6c7329c91a5806b0ec7412d6af24c0f0d52c4fd93b084e92edd4f5f61a4f9c4248034fa540c23b65d2aacdfca737ece98bb132b8f08d4
+Size (monad-control-1.0.2.3.tar.gz) = 13864 bytes



Home | Main Index | Thread Index | Old Index