Thu Feb 24 01:01:42 2022 UTC ()
devel/hs-retry: import hs-retry-0.9.1.0

This package exposes combinators that can wrap arbitrary monadic
actions. They run the action and potentially retry running it with some
configurable delay for a configurable number of times. The purpose is to
make it easier to work with IO and especially network IO actions that often
experience temporary failure and warrant retrying of the original
action. For example, a database query may time out for a while, in which
case we should hang back for a bit and retry the query instead of simply
raising an exception.


(pho)
diff -r0 -r1.1 pkgsrc/devel/hs-retry/DESCR
diff -r0 -r1.1 pkgsrc/devel/hs-retry/Makefile
diff -r0 -r1.1 pkgsrc/devel/hs-retry/PLIST
diff -r0 -r1.1 pkgsrc/devel/hs-retry/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/hs-retry/distinfo

File Added: pkgsrc/devel/hs-retry/DESCR
This package exposes combinators that can wrap arbitrary monadic
actions. They run the action and potentially retry running it with some
configurable delay for a configurable number of times. The purpose is to
make it easier to work with IO and especially network IO actions that often
experience temporary failure and warrant retrying of the original
action. For example, a database query may time out for a while, in which
case we should hang back for a bit and retry the query instead of simply
raising an exception.

File Added: pkgsrc/devel/hs-retry/Makefile
# $NetBSD: Makefile,v 1.1 2022/02/24 01:01:42 pho Exp $

DISTNAME=	retry-0.9.1.0
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Retry combinators for monadic actions that may fail
LICENSE=	modified-bsd

.include "../../devel/hs-random/buildlink3.mk"
.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/hs-retry/PLIST
@comment $NetBSD: PLIST,v 1.1 2022/02/24 01:01:42 pho Exp $
lib/retry-${PKGVERSION}/${HS_VERSION}/package-description
lib/retry-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
lib/${HS_PLATFORM}/${HS_PKGID}/Control/Retry.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Control/Retry.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Control/Retry.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/LICENSE
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/Control-Retry.html
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/doc-index.html
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/haddock-bundle.min.js
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/index.html
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/linuwial.css
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/meta.json
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/quick-jump.css
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/retry.haddock
share/doc/${HS_PLATFORM}/retry-${PKGVERSION}/html/synopsis.png

File Added: pkgsrc/devel/hs-retry/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 01:01:42 pho Exp $

BUILDLINK_TREE+=	hs-retry

.if !defined(HS_RETRY_BUILDLINK3_MK)
HS_RETRY_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-retry+=	hs-retry>=0.9.1
BUILDLINK_ABI_DEPENDS.hs-retry+=	hs-retry>=0.9.1.0
BUILDLINK_PKGSRCDIR.hs-retry?=		../../devel/hs-retry

.include "../../devel/hs-random/buildlink3.mk"
.endif	# HS_RETRY_BUILDLINK3_MK

BUILDLINK_TREE+=	-hs-retry

File Added: pkgsrc/devel/hs-retry/distinfo
$NetBSD: distinfo,v 1.1 2022/02/24 01:01:42 pho Exp $

BLAKE2s (retry-0.9.1.0.tar.gz) = 379a07486cb5b9b3d557921ff02a6257be2a5e18334746338bf67c6dab125c4b
SHA512 (retry-0.9.1.0.tar.gz) = 6bf145f3ca6a619439b24b4c1420f97a910e91d8b93811f68ee28d6fbac6a6c5ac18974827e77ddebe2d4182d3c6ad67f2c54b7be7f6ede5700c81873fe2ff78
Size (retry-0.9.1.0.tar.gz) = 16919 bytes