Update to primitive-0.7.3.0

Changes in version 0.7.3.0
* Correct implementations of *> for Array and SmallArray.
* Drop support for GHC < 7.10
* Export runByteArray and runPrimArray.
* Export createArray and createSmallArray.
* Export emptyByteArray, emptyPrimArray, emptyArray and emptySmallArray.

Changes in version 0.7.2.0
* Add thawByteArray and thawPrimArray.
* Changed the Show instance of ByteArray, so that all 8-bit words are
  rendered as two digits. For example, display 0x0D instead of 0xD.
This commit is contained in:
pho 2022-02-11 12:58:29 +00:00
parent 8e0bede64b
commit 264a2e80a0
5 changed files with 10 additions and 30 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.11 2022/01/18 02:48:11 pho Exp $
# $NetBSD: Makefile,v 1.12 2022/02/11 12:58:29 pho Exp $
DISTNAME= primitive-0.7.1.0
PKGREVISION= 2
DISTNAME= primitive-0.7.3.0
CATEGORIES= devel
MAINTAINER= pho@cielonegro.org

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2021/04/23 04:58:10 pho Exp $
@comment $NetBSD: PLIST,v 1.5 2022/02/11 12:58:29 pho Exp $
lib/primitive-${PKGVERSION}/${HS_VERSION}/package-description
lib/primitive-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
@ -14,9 +14,6 @@ lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Array.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/ByteArray.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/ByteArray.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/ByteArray.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Internal/Compat.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Internal/Compat.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Internal/Compat.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Internal/Operations.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Internal/Operations.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Internal/Operations.p_hi

View file

@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.10 2022/01/18 02:48:11 pho Exp $
# $NetBSD: buildlink3.mk,v 1.11 2022/02/11 12:58:29 pho Exp $
BUILDLINK_TREE+= hs-primitive
.if !defined(HS_PRIMITIVE_BUILDLINK3_MK)
HS_PRIMITIVE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.hs-primitive+= hs-primitive>=0.7.1
BUILDLINK_ABI_DEPENDS.hs-primitive+= hs-primitive>=0.7.1.0nb2
BUILDLINK_API_DEPENDS.hs-primitive+= hs-primitive>=0.7.3
BUILDLINK_ABI_DEPENDS.hs-primitive+= hs-primitive>=0.7.3.0
BUILDLINK_PKGSRCDIR.hs-primitive?= ../../devel/hs-primitive
.endif # HS_PRIMITIVE_BUILDLINK3_MK

View file

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.9 2021/10/26 10:14:59 nia Exp $
$NetBSD: distinfo,v 1.10 2022/02/11 12:58:29 pho Exp $
BLAKE2s (primitive-0.7.1.0.tar.gz) = 626d3cd0cf66a97e0414e6620ece9b41af179366db353e1cdf7f6331ae7b3cf4
SHA512 (primitive-0.7.1.0.tar.gz) = 8ade11d0b2221cfdf042da0263b5b5367a7ca2a9b9e1141844e4a65bb0467df879c92cd3515440d715b59345860c1ec3cb3efd7a3d702269ea15e18692586367
Size (primitive-0.7.1.0.tar.gz) = 52184 bytes
SHA1 (patch-primitive.cabal) = 5f47485cfa72835fd9075dc6472aad85863b9462
BLAKE2s (primitive-0.7.3.0.tar.gz) = 2c3956be68fe264c511309a0045ee1ab8a90e3ee65995d799cda1b37a234e5b5
SHA512 (primitive-0.7.3.0.tar.gz) = 7fe593c24d990ce113c7dd155479b30a1c74aa9cfd10d2f0903dc185fc00d725b36d340e5eea6f1af7547d47bbde27339c56e2949e7f518674a7306ed8e56342
Size (primitive-0.7.3.0.tar.gz) = 55161 bytes

View file

@ -1,15 +0,0 @@
$NetBSD: patch-primitive.cabal,v 1.1 2021/04/23 04:58:10 pho Exp $
Fix build with GHC 9.
--- primitive.cabal.orig 2001-09-09 01:46:40.000000000 +0000
+++ primitive.cabal
@@ -53,7 +53,7 @@ Library
Data.Primitive.Internal.Compat
Data.Primitive.Internal.Operations
- Build-Depends: base >= 4.5 && < 4.15
+ Build-Depends: base >= 4.5 && < 5
, deepseq >= 1.1 && < 1.5
, transformers >= 0.2 && < 0.6
if !impl(ghc >= 8.0)