Skip to content

Commit

Permalink
Update to resourcet-1.1.11
Browse files Browse the repository at this point in the history
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
  • Loading branch information
depressed-pho committed Jan 1, 2020
1 parent 0d0eb6a commit 2c59329
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 40 deletions.
7 changes: 4 additions & 3 deletions devel/hs-resourcet/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
Expand All @@ -13,6 +13,7 @@ LICENSE= modified-bsd
.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"
28 changes: 0 additions & 28 deletions devel/hs-resourcet/PLIST

This file was deleted.

9 changes: 5 additions & 4 deletions devel/hs-resourcet/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# $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"
.include "../../devel/hs-lifted-base/buildlink3.mk"
.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
11 changes: 6 additions & 5 deletions devel/hs-resourcet/distinfo
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions devel/hs-resourcet/patches/patch-resourcet.cabal
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2c59329

Please sign in to comment.