pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hs-text-short



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan 30 04:39:36 UTC 2025

Modified Files:
        pkgsrc/textproc/hs-text-short: DESCR Makefile buildlink3.mk distinfo

Log Message:
textproc/hs-text-short: update to text-short-0.1.6

## 0.1.6

  * Drop support for GHC prior 8.6.5
  * Support GHC-9.10 (base-4.21)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/hs-text-short/DESCR
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/hs-text-short/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/hs-text-short/buildlink3.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/hs-text-short/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/hs-text-short/DESCR
diff -u pkgsrc/textproc/hs-text-short/DESCR:1.1 pkgsrc/textproc/hs-text-short/DESCR:1.2
--- pkgsrc/textproc/hs-text-short/DESCR:1.1     Mon Mar 30 16:48:43 2020
+++ pkgsrc/textproc/hs-text-short/DESCR Thu Jan 30 04:39:36 2025
@@ -1,3 +1,9 @@
-This package provides the ShortTExt type which is suitable for keeping
-many short strings in memory.  This is similar to how ShortByteString
-relates to ByteString.
+This package provides the ShortText type which is suitable for keeping many
+short strings in memory. This is similiar to how ShortByteString relates
+to ByteString.
+
+The main difference between Text and ShortText is that ShortText doesn't support
+zero-copy slicing (thereby saving 2 words), and, compared to text-1.*, that it
+uses UTF-8 instead of UTF-16 internally. Consequently, the memory footprint of a
+(boxed) ShortText value is 4 words (2 words when unboxed) plus the length of the
+UTF-8 encoded payload.

Index: pkgsrc/textproc/hs-text-short/Makefile
diff -u pkgsrc/textproc/hs-text-short/Makefile:1.14 pkgsrc/textproc/hs-text-short/Makefile:1.15
--- pkgsrc/textproc/hs-text-short/Makefile:1.14 Thu May  9 01:32:48 2024
+++ pkgsrc/textproc/hs-text-short/Makefile      Thu Jan 30 04:39:36 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2024/05/09 01:32:48 pho Exp $
+# $NetBSD: Makefile,v 1.15 2025/01/30 04:39:36 pho Exp $
 
-DISTNAME=      text-short-0.1.5
-PKGREVISION=   6
+DISTNAME=      text-short-0.1.6
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,12 +8,9 @@ COMMENT=       Memory-efficient representation
 LICENSE=       modified-bsd
 
 HASKELL_UNRESTRICT_DEPENDENCIES+=      \
-       base                    \
-       bytestring              \
-       deepseq                 \
-       ghc-prim                \
-       template-haskell        \
-       text
+       base    \
+       hashable        \
+       template-haskell
 
 .include "../../devel/hs-hashable/buildlink3.mk"
 .include "../../mk/haskell.mk"

Index: pkgsrc/textproc/hs-text-short/buildlink3.mk
diff -u pkgsrc/textproc/hs-text-short/buildlink3.mk:1.11 pkgsrc/textproc/hs-text-short/buildlink3.mk:1.12
--- pkgsrc/textproc/hs-text-short/buildlink3.mk:1.11    Thu May  9 01:32:48 2024
+++ pkgsrc/textproc/hs-text-short/buildlink3.mk Thu Jan 30 04:39:36 2025
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.11 2024/05/09 01:32:48 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2025/01/30 04:39:36 pho Exp $
 
 BUILDLINK_TREE+=       hs-text-short
 
 .if !defined(HS_TEXT_SHORT_BUILDLINK3_MK)
 HS_TEXT_SHORT_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-text-short+=  hs-text-short>=0.1.5
-BUILDLINK_ABI_DEPENDS.hs-text-short+=  hs-text-short>=0.1.5nb6
+BUILDLINK_API_DEPENDS.hs-text-short+=  hs-text-short>=0.1.6
+BUILDLINK_ABI_DEPENDS.hs-text-short+=  hs-text-short>=0.1.6
 BUILDLINK_PKGSRCDIR.hs-text-short?=    ../../textproc/hs-text-short
 
 .include "../../devel/hs-hashable/buildlink3.mk"

Index: pkgsrc/textproc/hs-text-short/distinfo
diff -u pkgsrc/textproc/hs-text-short/distinfo:1.6 pkgsrc/textproc/hs-text-short/distinfo:1.7
--- pkgsrc/textproc/hs-text-short/distinfo:1.6  Fri Feb 11 13:08:44 2022
+++ pkgsrc/textproc/hs-text-short/distinfo      Thu Jan 30 04:39:36 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2022/02/11 13:08:44 pho Exp $
+$NetBSD: distinfo,v 1.7 2025/01/30 04:39:36 pho Exp $
 
-BLAKE2s (text-short-0.1.5.tar.gz) = 3e9ade03595f9a425dd70e24e63ed7f7b7dc2ebec4075816519aceb17cfe10aa
-SHA512 (text-short-0.1.5.tar.gz) = 32f09a1abc37ddb3f85921d80629355f68b2e68531f14318907e792a8eeb7d4a258bfcf7d45710dcb67f85fadfbad2bb9ffdac27a912aefc4296dc1818585125
-Size (text-short-0.1.5.tar.gz) = 25113 bytes
+BLAKE2s (text-short-0.1.6.tar.gz) = 4c281bbe81bcf416b86c3000193f5c288053d2fb10d8608a159344cd0ece5a7b
+SHA512 (text-short-0.1.6.tar.gz) = fefc051e7180d9648b262b4f8f7cd2b7459007cf61f4abae431e103257eb7041c8b7ff8892a41740cd767a5145c636c23b66811f9e2e0ecea1df9325a39dc153
+Size (text-short-0.1.6.tar.gz) = 24691 bytes



Home | Main Index | Thread Index | Old Index