pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-mtl Update to mtl-2.2.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5673a5119d3a
branches:  trunk
changeset: 406997:5673a5119d3a
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 01 02:55:02 2020 +0000

description:
Update to mtl-2.2.2

* Control.Monad.Identity now re-exports Control.Monad.Trans.Identity
* Fix a bug in which Control.Monad.State.Class.modify' was not as
  strict in the new state as its counterparts in transformers
* Add a MonadError () Maybe instance
* Add liftEither :: MonadError e m => Either e a -> m a to
  Control.Monad.Except{.Class}
* Add a MonadWriter w ((,) w) instance (when built against base-4.9 or
  later)

diffstat:

 devel/hs-mtl/Makefile      |    6 +-
 devel/hs-mtl/PLIST         |  105 ---------------------------------------------
 devel/hs-mtl/buildlink3.mk |    8 +--
 devel/hs-mtl/distinfo      |   10 ++--
 4 files changed, 10 insertions(+), 119 deletions(-)

diffs (165 lines):

diff -r 8afd27e50b40 -r 5673a5119d3a devel/hs-mtl/Makefile
--- a/devel/hs-mtl/Makefile     Wed Jan 01 02:51:06 2020 +0000
+++ b/devel/hs-mtl/Makefile     Wed Jan 01 02:55:02 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 02:55:02 pho Exp $
 
-DISTNAME=      mtl-2.2.1
-PKGREVISION=   1
+DISTNAME=      mtl-2.2.2
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
@@ -9,5 +8,4 @@
 LICENSE=       modified-bsd
 
 .include "../../mk/haskell.mk"
-.include "../../devel/hs-transformers/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8afd27e50b40 -r 5673a5119d3a devel/hs-mtl/PLIST
--- a/devel/hs-mtl/PLIST        Wed Jan 01 02:51:06 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2014/07/15 21:01:04 szptvlfn Exp $
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Cont.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Cont/Class.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Error.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Error/Class.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Except.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Identity.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/List.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/RWS.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/RWS/Class.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/RWS/Lazy.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/RWS/Strict.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Reader.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Reader/Class.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/State.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/State/Class.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/State/Lazy.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/State/Strict.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Trans.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Writer.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Writer/Class.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Writer/Lazy.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Writer/Strict.hi
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/HSmtl-${PKGVERSION}.o
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/libHSmtl-${PKGVERSION}.a
-lib/mtl-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/mtl-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Cont-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Cont.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Error-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Error.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Except.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Identity.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-List.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-RWS-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-RWS-Lazy.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-RWS-Strict.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-RWS.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Reader-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Reader.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-State-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-State-Lazy.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-State-Strict.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-State.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Trans.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Writer-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Writer-Lazy.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Writer-Strict.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/Control-Monad-Writer.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-60.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-61.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-62.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-A.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-All.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-C.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-D.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-E.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-F.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-G.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-I.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-J.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-L.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-M.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-N.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-P.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-R.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-S.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-T.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-U.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-V.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-W.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index-Z.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Cont-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Cont.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Error-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Error.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Except.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Identity.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-List.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-RWS-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-RWS-Lazy.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-RWS-Strict.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-RWS.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Reader-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Reader.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-State-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-State-Lazy.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-State-Strict.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-State.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Trans.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Writer-Class.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Writer-Lazy.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Writer-Strict.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mini_Control-Monad-Writer.html
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/mtl.haddock
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/mtl-${PKGVERSION}/html/synopsis.png
diff -r 8afd27e50b40 -r 5673a5119d3a devel/hs-mtl/buildlink3.mk
--- a/devel/hs-mtl/buildlink3.mk        Wed Jan 01 02:51:06 2020 +0000
+++ b/devel/hs-mtl/buildlink3.mk        Wed Jan 01 02:55:02 2020 +0000
@@ -1,15 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.4 2014/11/23 12:52:32 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2020/01/01 02:55:02 pho Exp $
 
 BUILDLINK_TREE+=       hs-mtl
 
 .if !defined(HS_MTL_BUILDLINK3_MK)
 HS_MTL_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-mtl+= hs-mtl>=2.2.1
-BUILDLINK_ABI_DEPENDS.hs-mtl+= hs-mtl>=2.2.1nb1
+BUILDLINK_API_DEPENDS.hs-mtl+= hs-mtl>=2.2.2
+BUILDLINK_ABI_DEPENDS.hs-mtl+= hs-mtl>=2.2.2
 BUILDLINK_PKGSRCDIR.hs-mtl?=   ../../devel/hs-mtl
-
-.include "../../devel/hs-transformers/buildlink3.mk"
 .endif # HS_MTL_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-mtl
diff -r 8afd27e50b40 -r 5673a5119d3a devel/hs-mtl/distinfo
--- a/devel/hs-mtl/distinfo     Wed Jan 01 02:51:06 2020 +0000
+++ b/devel/hs-mtl/distinfo     Wed Jan 01 02:55:02 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:33 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/01/01 02:55:02 pho Exp $
 
-SHA1 (mtl-2.2.1.tar.gz) = c244f8ec3a871404373ad1a0873c198b5610ef29
-RMD160 (mtl-2.2.1.tar.gz) = 61f2af56029c85c40a66a04cbd8ff1b97e0f90d9
-SHA512 (mtl-2.2.1.tar.gz) = 5c31626b15551ee1757ad701b8e5552202bb6fe1dbd002039e3b78c6d01108a5c50f565c4993d165a00eb564d9d72fb8d2aae891b6242f0ca8cb11f7b95c5c6b
-Size (mtl-2.2.1.tar.gz) = 15391 bytes
+SHA1 (mtl-2.2.2.tar.gz) = fd1715c2f6e955f414392d374030b748c474fb36
+RMD160 (mtl-2.2.2.tar.gz) = dc0359ce7de9018c4d68370e9b7af830c53009a4
+SHA512 (mtl-2.2.2.tar.gz) = 25aa48f53d9b1da04bb82d9eefff2e5f797a54bc0b22d6465fcef3bee8da0a459e714f4daf69669cc28a8fef5d638d8f9b1407dad2260d67d5a63e1cc324fe7c
+Size (mtl-2.2.2.tar.gz) = 16966 bytes



Home | Main Index | Thread Index | Old Index