pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-stm-chans



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 23 16:15:22 UTC 2022

Added Files:
        pkgsrc/devel/hs-stm-chans: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-stm-chans/DESCR \
    pkgsrc/devel/hs-stm-chans/Makefile pkgsrc/devel/hs-stm-chans/PLIST \
    pkgsrc/devel/hs-stm-chans/buildlink3.mk \
    pkgsrc/devel/hs-stm-chans/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-stm-chans/DESCR
diff -u /dev/null pkgsrc/devel/hs-stm-chans/DESCR:1.1
--- /dev/null   Wed Feb 23 16:15:22 2022
+++ pkgsrc/devel/hs-stm-chans/DESCR     Wed Feb 23 16:15:22 2022
@@ -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.
Index: pkgsrc/devel/hs-stm-chans/Makefile
diff -u /dev/null pkgsrc/devel/hs-stm-chans/Makefile:1.1
--- /dev/null   Wed Feb 23 16:15:22 2022
+++ pkgsrc/devel/hs-stm-chans/Makefile  Wed Feb 23 16:15:22 2022
@@ -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"
Index: pkgsrc/devel/hs-stm-chans/PLIST
diff -u /dev/null pkgsrc/devel/hs-stm-chans/PLIST:1.1
--- /dev/null   Wed Feb 23 16:15:22 2022
+++ pkgsrc/devel/hs-stm-chans/PLIST     Wed Feb 23 16:15:22 2022
@@ -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
Index: pkgsrc/devel/hs-stm-chans/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-stm-chans/buildlink3.mk:1.1
--- /dev/null   Wed Feb 23 16:15:22 2022
+++ pkgsrc/devel/hs-stm-chans/buildlink3.mk     Wed Feb 23 16:15:22 2022
@@ -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
Index: pkgsrc/devel/hs-stm-chans/distinfo
diff -u /dev/null pkgsrc/devel/hs-stm-chans/distinfo:1.1
--- /dev/null   Wed Feb 23 16:15:22 2022
+++ pkgsrc/devel/hs-stm-chans/distinfo  Wed Feb 23 16:15:22 2022
@@ -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