pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-retry
Module Name: pkgsrc
Committed By: pho
Date: Thu Feb 24 01:01:42 UTC 2022
Added Files:
pkgsrc/devel/hs-retry: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-retry/DESCR \
pkgsrc/devel/hs-retry/Makefile pkgsrc/devel/hs-retry/PLIST \
pkgsrc/devel/hs-retry/buildlink3.mk pkgsrc/devel/hs-retry/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/hs-retry/DESCR
diff -u /dev/null pkgsrc/devel/hs-retry/DESCR:1.1
--- /dev/null Thu Feb 24 01:01:42 2022
+++ pkgsrc/devel/hs-retry/DESCR Thu Feb 24 01:01:42 2022
@@ -0,0 +1,8 @@
+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.
Index: pkgsrc/devel/hs-retry/Makefile
diff -u /dev/null pkgsrc/devel/hs-retry/Makefile:1.1
--- /dev/null Thu Feb 24 01:01:42 2022
+++ pkgsrc/devel/hs-retry/Makefile Thu Feb 24 01:01:42 2022
@@ -0,0 +1,12 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/hs-retry/PLIST
diff -u /dev/null pkgsrc/devel/hs-retry/PLIST:1.1
--- /dev/null Thu Feb 24 01:01:42 2022
+++ pkgsrc/devel/hs-retry/PLIST Thu Feb 24 01:01:42 2022
@@ -0,0 +1,19 @@
+@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
Index: pkgsrc/devel/hs-retry/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-retry/buildlink3.mk:1.1
--- /dev/null Thu Feb 24 01:01:42 2022
+++ pkgsrc/devel/hs-retry/buildlink3.mk Thu Feb 24 01:01:42 2022
@@ -0,0 +1,15 @@
+# $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
Index: pkgsrc/devel/hs-retry/distinfo
diff -u /dev/null pkgsrc/devel/hs-retry/distinfo:1.1
--- /dev/null Thu Feb 24 01:01:42 2022
+++ pkgsrc/devel/hs-retry/distinfo Thu Feb 24 01:01:42 2022
@@ -0,0 +1,5 @@
+$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
Home |
Main Index |
Thread Index |
Old Index