pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-primitive



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Apr 23 04:58:10 UTC 2021

Modified Files:
        pkgsrc/devel/hs-primitive: Makefile PLIST buildlink3.mk distinfo
Added Files:
        pkgsrc/devel/hs-primitive/patches: patch-primitive.cabal

Log Message:
Update to primitive-0.7.1.0

Changes in version 0.7.1.0
* Introduce convenience class MonadPrim and MonadPrimBase.
* Add PrimMonad and PrimBase instances for Lazy.ST (GHC >=
  8.2). thanks to Avi Dessauer (@Avi-D-coder) for this first
  contribution
* Add freezeByteArray and freezePrimArray.
* Add compareByteArrays.
* Add shrinkMutableByteArray.
* Add Eq instances for MutableByteArray and MutablePrimArray. by
  Andrew Martin
* Add functions for manipulating pinned Prim Arrays by Andrew Martin
* Add copyPtrToMutableByteArray.
* Add NFData instances for ByteArray, MutableByteArray, PrimArray and
  MutablePrimArray. by Callan McGill
* Add shrinkSmallMutableArray.
* Add clonePrimArray and cloneMutablePrimArray.
* Add cloneMutableByteArray and cloneByteArray.
* Add Prim instances for WordPtr and IntPtr.
* Add NFData instances for Array and SmallArray. by Callan McGill
* Add copyByteArrayToPtr and copyMutableByteArrayToPtr.
* Export arrayFromList and arrayFromListN.

Changes in version 0.7.0.1
* Allow building with GHC 8.12. Thanks Ryan GL Scott for this and
  every compat patch over time.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/hs-primitive/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-primitive/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/hs-primitive/buildlink3.mk
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/hs-primitive/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-primitive/patches/patch-primitive.cabal

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

Modified files:

Index: pkgsrc/devel/hs-primitive/Makefile
diff -u pkgsrc/devel/hs-primitive/Makefile:1.8 pkgsrc/devel/hs-primitive/Makefile:1.9
--- pkgsrc/devel/hs-primitive/Makefile:1.8      Thu Feb 18 15:07:27 2021
+++ pkgsrc/devel/hs-primitive/Makefile  Fri Apr 23 04:58:10 2021
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2021/02/18 15:07:27 mef Exp $
+# $NetBSD: Makefile,v 1.9 2021/04/23 04:58:10 pho Exp $
 
-DISTNAME=      primitive-0.7.0.0
+DISTNAME=      primitive-0.7.1.0
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Primitive memory-related operations
 LICENSE=       modified-bsd
 
-BUILDLINK_API_DEPENDS.ghc+=    ghc<8.10
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/hs-primitive/PLIST
diff -u pkgsrc/devel/hs-primitive/PLIST:1.3 pkgsrc/devel/hs-primitive/PLIST:1.4
--- pkgsrc/devel/hs-primitive/PLIST:1.3 Mon May 11 17:52:05 2020
+++ pkgsrc/devel/hs-primitive/PLIST     Fri Apr 23 04:58:10 2021
@@ -1,84 +1,84 @@
-@comment $NetBSD: PLIST,v 1.3 2020/05/11 17:52:05 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
+@comment $NetBSD: PLIST,v 1.4 2021/04/23 04:58:10 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
-${HS_IMPL}/Control/Monad/Primitive.dyn_hi
-${HS_IMPL}/Control/Monad/Primitive.hi
-${HS_IMPL}/Control/Monad/Primitive.p_hi
-${HS_IMPL}/Data/Primitive.dyn_hi
-${HS_IMPL}/Data/Primitive.hi
-${HS_IMPL}/Data/Primitive.p_hi
-${HS_IMPL}/Data/Primitive/Array.dyn_hi
-${HS_IMPL}/Data/Primitive/Array.hi
-${HS_IMPL}/Data/Primitive/Array.p_hi
-${HS_IMPL}/Data/Primitive/ByteArray.dyn_hi
-${HS_IMPL}/Data/Primitive/ByteArray.hi
-${HS_IMPL}/Data/Primitive/ByteArray.p_hi
-${HS_IMPL}/Data/Primitive/Internal/Compat.dyn_hi
-${HS_IMPL}/Data/Primitive/Internal/Compat.hi
-${HS_IMPL}/Data/Primitive/Internal/Compat.p_hi
-${HS_IMPL}/Data/Primitive/Internal/Operations.dyn_hi
-${HS_IMPL}/Data/Primitive/Internal/Operations.hi
-${HS_IMPL}/Data/Primitive/Internal/Operations.p_hi
-${HS_IMPL}/Data/Primitive/MVar.dyn_hi
-${HS_IMPL}/Data/Primitive/MVar.hi
-${HS_IMPL}/Data/Primitive/MVar.p_hi
-${HS_IMPL}/Data/Primitive/MachDeps.dyn_hi
-${HS_IMPL}/Data/Primitive/MachDeps.hi
-${HS_IMPL}/Data/Primitive/MachDeps.p_hi
-${HS_IMPL}/Data/Primitive/MutVar.dyn_hi
-${HS_IMPL}/Data/Primitive/MutVar.hi
-${HS_IMPL}/Data/Primitive/MutVar.p_hi
-${HS_IMPL}/Data/Primitive/PrimArray.dyn_hi
-${HS_IMPL}/Data/Primitive/PrimArray.hi
-${HS_IMPL}/Data/Primitive/PrimArray.p_hi
-${HS_IMPL}/Data/Primitive/Ptr.dyn_hi
-${HS_IMPL}/Data/Primitive/Ptr.hi
-${HS_IMPL}/Data/Primitive/Ptr.p_hi
-${HS_IMPL}/Data/Primitive/SmallArray.dyn_hi
-${HS_IMPL}/Data/Primitive/SmallArray.hi
-${HS_IMPL}/Data/Primitive/SmallArray.p_hi
-${HS_IMPL}/Data/Primitive/Types.dyn_hi
-${HS_IMPL}/Data/Primitive/Types.hi
-${HS_IMPL}/Data/Primitive/Types.p_hi
-${HS_IMPL}/include/primitive-memops.h
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/Control-Monad-Primitive.html
-${HS_DOCS}/html/Data-Primitive-Array.html
-${HS_DOCS}/html/Data-Primitive-ByteArray.html
-${HS_DOCS}/html/Data-Primitive-MVar.html
-${HS_DOCS}/html/Data-Primitive-MachDeps.html
-${HS_DOCS}/html/Data-Primitive-MutVar.html
-${HS_DOCS}/html/Data-Primitive-PrimArray.html
-${HS_DOCS}/html/Data-Primitive-Ptr.html
-${HS_DOCS}/html/Data-Primitive-SmallArray.html
-${HS_DOCS}/html/Data-Primitive-Types.html
-${HS_DOCS}/html/Data-Primitive.html
-${HS_DOCS}/html/doc-index-A.html
-${HS_DOCS}/html/doc-index-All.html
-${HS_DOCS}/html/doc-index-B.html
-${HS_DOCS}/html/doc-index-C.html
-${HS_DOCS}/html/doc-index-D.html
-${HS_DOCS}/html/doc-index-E.html
-${HS_DOCS}/html/doc-index-F.html
-${HS_DOCS}/html/doc-index-G.html
-${HS_DOCS}/html/doc-index-I.html
-${HS_DOCS}/html/doc-index-L.html
-${HS_DOCS}/html/doc-index-M.html
-${HS_DOCS}/html/doc-index-N.html
-${HS_DOCS}/html/doc-index-P.html
-${HS_DOCS}/html/doc-index-R.html
-${HS_DOCS}/html/doc-index-S.html
-${HS_DOCS}/html/doc-index-T.html
-${HS_DOCS}/html/doc-index-U.html
-${HS_DOCS}/html/doc-index-W.html
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/primitive.haddock
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Primitive.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Primitive.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Primitive.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Array.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Array.hi
+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
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MVar.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MVar.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MVar.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MachDeps.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MachDeps.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MachDeps.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MutVar.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MutVar.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/MutVar.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/PrimArray.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/PrimArray.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/PrimArray.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Ptr.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Ptr.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Ptr.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/SmallArray.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/SmallArray.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/SmallArray.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/include/primitive-memops.h
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Control-Monad-Primitive.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-Array.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-ByteArray.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-MVar.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-MachDeps.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-MutVar.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-PrimArray.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-Ptr.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-SmallArray.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive-Types.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/Data-Primitive.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-A.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-All.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-B.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-C.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-D.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-E.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-F.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-G.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-I.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-L.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-M.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-N.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-P.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-R.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-S.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-T.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-U.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index-W.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/primitive.haddock
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/primitive-${PKGVERSION}/html/synopsis.png

Index: pkgsrc/devel/hs-primitive/buildlink3.mk
diff -u pkgsrc/devel/hs-primitive/buildlink3.mk:1.7 pkgsrc/devel/hs-primitive/buildlink3.mk:1.8
--- pkgsrc/devel/hs-primitive/buildlink3.mk:1.7 Sat Jan 11 08:00:14 2020
+++ pkgsrc/devel/hs-primitive/buildlink3.mk     Fri Apr 23 04:58:10 2021
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.7 2020/01/11 08:00:14 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2021/04/23 04:58:10 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.0
-BUILDLINK_ABI_DEPENDS.hs-primitive+=   hs-primitive>=0.7.0.0
+BUILDLINK_API_DEPENDS.hs-primitive+=   hs-primitive>=0.7.1
+BUILDLINK_ABI_DEPENDS.hs-primitive+=   hs-primitive>=0.7.1.0
 BUILDLINK_PKGSRCDIR.hs-primitive?=     ../../devel/hs-primitive
 .endif # HS_PRIMITIVE_BUILDLINK3_MK
 

Index: pkgsrc/devel/hs-primitive/distinfo
diff -u pkgsrc/devel/hs-primitive/distinfo:1.6 pkgsrc/devel/hs-primitive/distinfo:1.7
--- pkgsrc/devel/hs-primitive/distinfo:1.6      Sat Jan 11 08:00:14 2020
+++ pkgsrc/devel/hs-primitive/distinfo  Fri Apr 23 04:58:10 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/01/11 08:00:14 pho Exp $
+$NetBSD: distinfo,v 1.7 2021/04/23 04:58:10 pho Exp $
 
-SHA1 (primitive-0.7.0.0.tar.gz) = 46c84d2e4a732093d9205c00f956be09bebacc17
-RMD160 (primitive-0.7.0.0.tar.gz) = a27d9abb6af8f7a2c446c0d65e9629d6a8199ad3
-SHA512 (primitive-0.7.0.0.tar.gz) = 710c8f7b26bb57644a6a1b4c9c4a5967b6724f2bd75928f0d6943e0685a1cf44788ea875210758d55e27fe03773631f2541ac9f5c6b74ca47fe3dcb5c82c09c1
-Size (primitive-0.7.0.0.tar.gz) = 66014 bytes
+SHA1 (primitive-0.7.1.0.tar.gz) = b1d36673018ec4e148ac3a861053246caa610098
+RMD160 (primitive-0.7.1.0.tar.gz) = 9bc7240932f7987c041f523d1fcb9dade74f876b
+SHA512 (primitive-0.7.1.0.tar.gz) = 8ade11d0b2221cfdf042da0263b5b5367a7ca2a9b9e1141844e4a65bb0467df879c92cd3515440d715b59345860c1ec3cb3efd7a3d702269ea15e18692586367
+Size (primitive-0.7.1.0.tar.gz) = 52184 bytes
+SHA1 (patch-primitive.cabal) = 5f47485cfa72835fd9075dc6472aad85863b9462

Added files:

Index: pkgsrc/devel/hs-primitive/patches/patch-primitive.cabal
diff -u /dev/null pkgsrc/devel/hs-primitive/patches/patch-primitive.cabal:1.1
--- /dev/null   Fri Apr 23 04:58:10 2021
+++ pkgsrc/devel/hs-primitive/patches/patch-primitive.cabal     Fri Apr 23 04:58:10 2021
@@ -0,0 +1,15 @@
+$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)



Home | Main Index | Thread Index | Old Index