pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-resourcet Update to resourcet-1.1.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2495680e4f9b
branches:  trunk
changeset: 407041:2495680e4f9b
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Jan 01 05:15:20 2020 +0000

description:
Update to resourcet-1.1.11

1.1.11
* runResourceTChecked, which checks if any of the cleanup actions
  threw exceptions and, if so, rethrows them. NOTE This is probably a
  much better choice of function than runResourceT, and in the next
  major version release, will become the new behavior of runResourceT.

1.1.10
* Added MonadUnliftIO instances and UnliftIO.Resource

1.1.9
* Add generalized version of resourceForkIO

1.1.8.1
* Allocation actions should be masked

1.1.8
* Add instance MonadFix ResourceT #281

1.1.7.5
* Inline the tutorial from SoH

1.1.7.4
* Make test suite slightly more robust

1.1.7.3
* Doc tweak

1.1.7.2
* Remove upper bound on transformers #249

1.1.7.1
* transformers-compat 0.5

1.1.7
* Canonicalise Monad instances #237

1.1.6
* Safe/Trustworthy for resourcet #220

1.1.5
* Add pass-through instances for Alternative and MonadPlus #214

1.1.4.1
* Allow older exceptions version again

1.1.4
* Add MonadResource ExceptT instance #198

1.1.3.2
* monad-control-1.0 support #191

diffstat:

 devel/hs-resourcet/Makefile                      |   7 +++--
 devel/hs-resourcet/PLIST                         |  28 ------------------------
 devel/hs-resourcet/buildlink3.mk                 |   9 ++++---
 devel/hs-resourcet/distinfo                      |  11 +++++----
 devel/hs-resourcet/patches/patch-resourcet.cabal |  15 ++++++++++++
 5 files changed, 30 insertions(+), 40 deletions(-)

diffs (118 lines):

diff -r 0a3d14adeb1e -r 2495680e4f9b devel/hs-resourcet/Makefile
--- a/devel/hs-resourcet/Makefile       Wed Jan 01 05:14:22 2020 +0000
+++ b/devel/hs-resourcet/Makefile       Wed Jan 01 05:15:20 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2014/12/11 12:24:45 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.4 2020/01/01 05:15:20 pho Exp $
 
-DISTNAME=      resourcet-1.1.3.1
+DISTNAME=      resourcet-1.1.11
 CATEGORIES=    devel
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost
@@ -13,6 +13,7 @@
 .include "../../devel/hs-mmorph/buildlink3.mk"
 .include "../../devel/hs-monad-control/buildlink3.mk"
 .include "../../devel/hs-mtl/buildlink3.mk"
-.include "../../devel/hs-transformers/buildlink3.mk"
 .include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../devel/hs-unliftio-core/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0a3d14adeb1e -r 2495680e4f9b devel/hs-resourcet/PLIST
--- a/devel/hs-resourcet/PLIST  Wed Jan 01 05:14:22 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/09/12 21:10:09 szptvlfn Exp $
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Trans/Resource.hi
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/Control/Monad/Trans/Resource/Internal.hi
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/Data/Acquire.hi
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/Data/Acquire/Internal.hi
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/HSresourcet-${PKGVERSION}.o
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/libHSresourcet-${PKGVERSION}.a
-lib/resourcet-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/resourcet-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/Control-Monad-Trans-Resource-Internal.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/Control-Monad-Trans-Resource.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/Data-Acquire-Internal.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/Data-Acquire.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/mini_Control-Monad-Trans-Resource-Internal.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/mini_Control-Monad-Trans-Resource.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/mini_Data-Acquire-Internal.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/mini_Data-Acquire.html
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/resourcet.haddock
-${PLIST.doc}share/doc/resourcet-${PKGVERSION}/html/synopsis.png
diff -r 0a3d14adeb1e -r 2495680e4f9b devel/hs-resourcet/buildlink3.mk
--- a/devel/hs-resourcet/buildlink3.mk  Wed Jan 01 05:14:22 2020 +0000
+++ b/devel/hs-resourcet/buildlink3.mk  Wed Jan 01 05:15:20 2020 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.3 2014/12/11 12:24:45 szptvlfn Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2020/01/01 05:15:20 pho Exp $
 
 BUILDLINK_TREE+=       hs-resourcet
 
 .if !defined(HS_RESOURCET_BUILDLINK3_MK)
 HS_RESOURCET_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-resourcet+=   hs-resourcet>=1.1.3
-BUILDLINK_ABI_DEPENDS.hs-resourcet+=   hs-resourcet>=1.1.3.1
+BUILDLINK_API_DEPENDS.hs-resourcet+=   hs-resourcet>=1.1.11
+BUILDLINK_ABI_DEPENDS.hs-resourcet+=   hs-resourcet>=1.1.11
 BUILDLINK_PKGSRCDIR.hs-resourcet?=     ../../devel/hs-resourcet
 
 .include "../../devel/hs-exceptions/buildlink3.mk"
@@ -14,8 +14,9 @@
 .include "../../devel/hs-mmorph/buildlink3.mk"
 .include "../../devel/hs-monad-control/buildlink3.mk"
 .include "../../devel/hs-mtl/buildlink3.mk"
-.include "../../devel/hs-transformers/buildlink3.mk"
 .include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../devel/hs-transformers-compat/buildlink3.mk"
+.include "../../devel/hs-unliftio-core/buildlink3.mk"
 .endif # HS_RESOURCET_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-resourcet
diff -r 0a3d14adeb1e -r 2495680e4f9b devel/hs-resourcet/distinfo
--- a/devel/hs-resourcet/distinfo       Wed Jan 01 05:14:22 2020 +0000
+++ b/devel/hs-resourcet/distinfo       Wed Jan 01 05:15:20 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:33 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/01/01 05:15:20 pho Exp $
 
-SHA1 (resourcet-1.1.3.1.tar.gz) = b06a6f96e2f05791f1153dea9a9434cf41a8bc91
-RMD160 (resourcet-1.1.3.1.tar.gz) = 590b8fc510586fd32c2145233ceb11b3cf751314
-SHA512 (resourcet-1.1.3.1.tar.gz) = e5c677893affe9b0cde8c25f235f68090db0ff8839d0bcb884540971822eac637da52f766233c96ce00b9c75db49b36975faac753e408ca1a7faea061c17ae9d
-Size (resourcet-1.1.3.1.tar.gz) = 11218 bytes
+SHA1 (resourcet-1.1.11.tar.gz) = 97b9f89f42938f5ce94082098ca21957da5b6043
+RMD160 (resourcet-1.1.11.tar.gz) = 2af5d1da23bcad015f0e66ca019ffe8bc6a41449
+SHA512 (resourcet-1.1.11.tar.gz) = 1c7428dae7f6c8cc04c942008d859e54313d32ee972229f817c04a8cef29c38e38c095d42bb953b86b8be0090c8c39cef49854658169da710f1501d8e144d4c7
+Size (resourcet-1.1.11.tar.gz) = 17571 bytes
+SHA1 (patch-resourcet.cabal) = 91938f97ba3bc14cb8328d4443fbb172ebda3d26
diff -r 0a3d14adeb1e -r 2495680e4f9b devel/hs-resourcet/patches/patch-resourcet.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-resourcet/patches/patch-resourcet.cabal  Wed Jan 01 05:15:20 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-resourcet.cabal,v 1.1 2020/01/01 05:15:20 pho Exp $
+
+Relax the upper bound on transformers-compat
+
+--- resourcet.cabal.orig       2018-01-10 03:12:07.000000000 +0000
++++ resourcet.cabal
+@@ -24,7 +24,7 @@ Library
+                      , monad-control            >= 0.3.1        && < 1.1
+                      , containers
+                      , transformers             >= 0.2.2
+-                     , transformers-compat      >= 0.3          && < 0.6
++                     , transformers-compat      >= 0.3          && < 0.7
+                      , mtl                      >= 2.0          && < 2.3
+                      , mmorph
+                      , exceptions               >= 0.5



Home | Main Index | Thread Index | Old Index