pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-say
Module Name: pkgsrc
Committed By: pho
Date: Thu Feb 24 01:16:25 UTC 2022
Added Files:
pkgsrc/devel/hs-say: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
devel/hs-say: import hs-say-0.1.0.1
Send textual messages to a Handle in a thread-friendly way.
The motivation for this package is described in a blog post on Haskell's
Missing Concurrency Basics
(http://www.snoyman.com/blog/2016/11/haskells-missing-concurrency-basics). The
simple explanation is, when writing a line of textual data to a Handle -
such as sending some messages t o ther terminal - we'd like to have the
following properties:
* Properly handle character encoding settings on the Handle
* For reasonably sized messages, ensure that the entire message is written
in one chunk to avoid interleaving data with other threads
* This includes the trailing newline character
* Avoid unnecessary memory allocations and copies
* Minimize locking
* Provide a simple API
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-say/DESCR pkgsrc/devel/hs-say/Makefile \
pkgsrc/devel/hs-say/PLIST pkgsrc/devel/hs-say/buildlink3.mk \
pkgsrc/devel/hs-say/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-say/DESCR
diff -u /dev/null pkgsrc/devel/hs-say/DESCR:1.1
--- /dev/null Thu Feb 24 01:16:25 2022
+++ pkgsrc/devel/hs-say/DESCR Thu Feb 24 01:16:25 2022
@@ -0,0 +1,16 @@
+Send textual messages to a Handle in a thread-friendly way.
+
+The motivation for this package is described in a blog post on Haskell's
+Missing Concurrency Basics
+(http://www.snoyman.com/blog/2016/11/haskells-missing-concurrency-basics). The
+simple explanation is, when writing a line of textual data to a Handle -
+such as sending some messages t o ther terminal - we'd like to have the
+following properties:
+
+* Properly handle character encoding settings on the Handle
+* For reasonably sized messages, ensure that the entire message is written
+ in one chunk to avoid interleaving data with other threads
+ * This includes the trailing newline character
+* Avoid unnecessary memory allocations and copies
+* Minimize locking
+* Provide a simple API
Index: pkgsrc/devel/hs-say/Makefile
diff -u /dev/null pkgsrc/devel/hs-say/Makefile:1.1
--- /dev/null Thu Feb 24 01:16:25 2022
+++ pkgsrc/devel/hs-say/Makefile Thu Feb 24 01:16:25 2022
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/24 01:16:25 pho Exp $
+
+DISTNAME= say-0.1.0.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Send textual messages to a Handle in a thread-friendly way
+LICENSE= mit
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-say/PLIST
diff -u /dev/null pkgsrc/devel/hs-say/PLIST:1.1
--- /dev/null Thu Feb 24 01:16:25 2022
+++ pkgsrc/devel/hs-say/PLIST Thu Feb 24 01:16:25 2022
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/24 01:16:25 pho Exp $
+lib/say-${PKGVERSION}/${HS_VERSION}/package-description
+lib/say-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_say.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_say.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Paths_say.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Say.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Say.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Say.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}/say-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/Say.html
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/say.haddock
+share/doc/${HS_PLATFORM}/say-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/devel/hs-say/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-say/buildlink3.mk:1.1
--- /dev/null Thu Feb 24 01:16:25 2022
+++ pkgsrc/devel/hs-say/buildlink3.mk Thu Feb 24 01:16:25 2022
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/24 01:16:25 pho Exp $
+
+BUILDLINK_TREE+= hs-say
+
+.if !defined(HS_SAY_BUILDLINK3_MK)
+HS_SAY_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-say+= hs-say>=0.1.0
+BUILDLINK_ABI_DEPENDS.hs-say+= hs-say>=0.1.0.1
+BUILDLINK_PKGSRCDIR.hs-say?= ../../devel/hs-say
+.endif # HS_SAY_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-say
Index: pkgsrc/devel/hs-say/distinfo
diff -u /dev/null pkgsrc/devel/hs-say/distinfo:1.1
--- /dev/null Thu Feb 24 01:16:25 2022
+++ pkgsrc/devel/hs-say/distinfo Thu Feb 24 01:16:25 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/24 01:16:25 pho Exp $
+
+BLAKE2s (say-0.1.0.1.tar.gz) = 19204063c2eba9cfcce6f8949e0e7baa4e10932617f4f8673736066a2bf4dc4c
+SHA512 (say-0.1.0.1.tar.gz) = 3de9f6b473a3b4403624c3f6aeac3703a5e8b6cfae82578f7a49a81defa9fa64295cd315664d02fbab70646694d34415d638b5b52424d167d44e93b34a917604
+Size (say-0.1.0.1.tar.gz) = 5931 bytes
Home |
Main Index |
Thread Index |
Old Index