pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-stm-chans devel/hs-stm-chans: import hs-stm-c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76b352a04a61
branches:  trunk
changeset: 374515:76b352a04a61
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 23 16:15:22 2022 +0000

description:
devel/hs-stm-chans: import hs-stm-chans-3.0.0.6

This package offers a collection of channel types, similar to
Control.Concurrent.STM.{TChan,TQueue} but with additional features. In
particular we offer the following data types:

Control.Concurrent.STM.TBChan:
    Bounded FIFO channels. When the channel is full, writers will
    block/retry. This ensures that the writers do not get too far ahead of
    the readers, which helps to make sure that memory and cpu resources are
    used responsibly.

Control.Concurrent.STM.TMChan:
    Closeable FIFO channels.

Control.Concurrent.STM.TMQueue:
    Closeable FIFO queues. Like TChan (Maybe a) but with a monotonicity
    guarantee that once Nothing is returned all future reads will be
    Nothing as well.

Control.Concurrent.STM.TBMChan:
    Bounded Closeable FIFO channels.

Control.Concurrent.STM.TBMQueue:
    Bounded Closeable FIFO queues. Combines the capabilities of TBChan and
    TMChan.

diffstat:

 devel/hs-stm-chans/DESCR         |  24 ++++++++++++++++++++++++
 devel/hs-stm-chans/Makefile      |  11 +++++++++++
 devel/hs-stm-chans/PLIST         |  35 +++++++++++++++++++++++++++++++++++
 devel/hs-stm-chans/buildlink3.mk |  13 +++++++++++++
 devel/hs-stm-chans/distinfo      |   5 +++++
 5 files changed, 88 insertions(+), 0 deletions(-)

diffs (108 lines):

diff -r 880f149851c1 -r 76b352a04a61 devel/hs-stm-chans/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-stm-chans/DESCR  Wed Feb 23 16:15:22 2022 +0000
@@ -0,0 +1,24 @@
+This package offers a collection of channel types, similar to
+Control.Concurrent.STM.{TChan,TQueue} but with additional features. In
+particular we offer the following data types:
+
+Control.Concurrent.STM.TBChan:
+    Bounded FIFO channels. When the channel is full, writers will
+    block/retry. This ensures that the writers do not get too far ahead of
+    the readers, which helps to make sure that memory and cpu resources are
+    used responsibly.
+
+Control.Concurrent.STM.TMChan:
+    Closeable FIFO channels.
+
+Control.Concurrent.STM.TMQueue:
+    Closeable FIFO queues. Like TChan (Maybe a) but with a monotonicity
+    guarantee that once Nothing is returned all future reads will be
+    Nothing as well.
+
+Control.Concurrent.STM.TBMChan:
+    Bounded Closeable FIFO channels.
+
+Control.Concurrent.STM.TBMQueue:
+    Bounded Closeable FIFO queues. Combines the capabilities of TBChan and
+    TMChan.
diff -r 880f149851c1 -r 76b352a04a61 devel/hs-stm-chans/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-stm-chans/Makefile       Wed Feb 23 16:15:22 2022 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:15:22 pho Exp $
+
+DISTNAME=      stm-chans-3.0.0.6
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Additional types of channels for STM
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 880f149851c1 -r 76b352a04a61 devel/hs-stm-chans/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-stm-chans/PLIST  Wed Feb 23 16:15:22 2022 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:15:22 pho Exp $
+lib/stm-chans-${PKGVERSION}/${HS_VERSION}/package-description
+lib/stm-chans-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBChan.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBChan.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBChan.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBMChan.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBMChan.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBMChan.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBMQueue.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBMQueue.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TBMQueue.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TMChan.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TMChan.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TMChan.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TMQueue.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TMQueue.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Concurrent/STM/TMQueue.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}/stm-chans-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/Control-Concurrent-STM-TBChan.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/Control-Concurrent-STM-TBMChan.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/Control-Concurrent-STM-TBMQueue.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/Control-Concurrent-STM-TMChan.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/Control-Concurrent-STM-TMQueue.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/stm-chans.haddock
+share/doc/${HS_PLATFORM}/stm-chans-${PKGVERSION}/html/synopsis.png
diff -r 880f149851c1 -r 76b352a04a61 devel/hs-stm-chans/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-stm-chans/buildlink3.mk  Wed Feb 23 16:15:22 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:15:22 pho Exp $
+
+BUILDLINK_TREE+=       hs-stm-chans
+
+.if !defined(HS_STM_CHANS_BUILDLINK3_MK)
+HS_STM_CHANS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-stm-chans+=   hs-stm-chans>=3.0.0
+BUILDLINK_ABI_DEPENDS.hs-stm-chans+=   hs-stm-chans>=3.0.0.6
+BUILDLINK_PKGSRCDIR.hs-stm-chans?=     ../../devel/hs-stm-chans
+.endif # HS_STM_CHANS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-stm-chans
diff -r 880f149851c1 -r 76b352a04a61 devel/hs-stm-chans/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-stm-chans/distinfo       Wed Feb 23 16:15:22 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:15:22 pho Exp $
+
+BLAKE2s (stm-chans-3.0.0.6.tar.gz) = ca5bc2d43cb36b2f3858ad02341bf7961c2b7392a4638fce8da08699cc994141
+SHA512 (stm-chans-3.0.0.6.tar.gz) = da8f914f15c31c3c02b3e41cb01017fc8208fa47f24b5a9d90b92b17cc95c13a32b5cc14bd687a773276cd6e88c3ff80d4094b5899160abdd936df70618b122f
+Size (stm-chans-3.0.0.6.tar.gz) = 9680 bytes



Home | Main Index | Thread Index | Old Index