pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-primitive-unlifted devel/hs-primitive-unlifte...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c453a145abbb
branches: trunk
changeset: 374074:c453a145abbb
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 16 09:53:15 2022 +0000
description:
devel/hs-primitive-unlifted: import hs-primitive-unlifted-0.1.3.1
Primitive GHC types with unlifted types inside. There used to be a module
named Data.Primitive.UnliftedArray in the primitive library. However, it
turns out that it is impossible to write such an API safely in versions of
GHC before 8.10.1, thanks to some nasty interactions between unsafe
coercions and the foreign function interface. This package also uses a
somewhat different, and more flexible, approach than that module did.
diffstat:
devel/hs-primitive-unlifted/DESCR | 6 ++++++
devel/hs-primitive-unlifted/Makefile | 16 ++++++++++++++++
devel/hs-primitive-unlifted/PLIST | 23 +++++++++++++++++++++++
devel/hs-primitive-unlifted/buildlink3.mk | 16 ++++++++++++++++
devel/hs-primitive-unlifted/distinfo | 5 +++++
5 files changed, 66 insertions(+), 0 deletions(-)
diffs (86 lines):
diff -r 4e202c1c0c31 -r c453a145abbb devel/hs-primitive-unlifted/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-primitive-unlifted/DESCR Wed Feb 16 09:53:15 2022 +0000
@@ -0,0 +1,6 @@
+Primitive GHC types with unlifted types inside. There used to be a module
+named Data.Primitive.UnliftedArray in the primitive library. However, it
+turns out that it is impossible to write such an API safely in versions of
+GHC before 8.10.1, thanks to some nasty interactions between unsafe
+coercions and the foreign function interface. This package also uses a
+somewhat different, and more flexible, approach than that module did.
diff -r 4e202c1c0c31 -r c453a145abbb devel/hs-primitive-unlifted/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-primitive-unlifted/Makefile Wed Feb 16 09:53:15 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:53:15 pho Exp $
+
+# NOTE: Do not update this to 1.0. It does some shady things that are no
+# longer valid on GHC 9. See:
+# https://github.com/haskell-primitive/primitive-unlifted/issues/29
+DISTNAME= primitive-unlifted-0.1.3.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Primitive GHC types with unlifted types inside
+LICENSE= modified-bsd
+
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../textproc/hs-text-short/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4e202c1c0c31 -r c453a145abbb devel/hs-primitive-unlifted/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-primitive-unlifted/PLIST Wed Feb 16 09:53:15 2022 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:53:15 pho Exp $
+lib/primitive-unlifted-${PKGVERSION}/${HS_VERSION}/package-description
+lib/primitive-unlifted-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Unlifted/Array.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Unlifted/Array.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Unlifted/Array.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Unlifted/Class.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Unlifted/Class.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Primitive/Unlifted/Class.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}/primitive-unlifted-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/Data-Primitive-Unlifted-Array.html
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/Data-Primitive-Unlifted-Class.html
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/primitive-unlifted.haddock
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/primitive-unlifted-${PKGVERSION}/html/synopsis.png
diff -r 4e202c1c0c31 -r c453a145abbb devel/hs-primitive-unlifted/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-primitive-unlifted/buildlink3.mk Wed Feb 16 09:53:15 2022 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:53:15 pho Exp $
+
+BUILDLINK_TREE+= hs-primitive-unlifted
+
+.if !defined(HS_PRIMITIVE_UNLIFTED_BUILDLINK3_MK)
+HS_PRIMITIVE_UNLIFTED_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-primitive-unlifted+= hs-primitive-unlifted>=0.1.3
+BUILDLINK_ABI_DEPENDS.hs-primitive-unlifted+= hs-primitive-unlifted>=0.1.3.1
+BUILDLINK_PKGSRCDIR.hs-primitive-unlifted?= ../../devel/hs-primitive-unlifted
+
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../textproc/hs-text-short/buildlink3.mk"
+.endif # HS_PRIMITIVE_UNLIFTED_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-primitive-unlifted
diff -r 4e202c1c0c31 -r c453a145abbb devel/hs-primitive-unlifted/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-primitive-unlifted/distinfo Wed Feb 16 09:53:15 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:53:15 pho Exp $
+
+BLAKE2s (primitive-unlifted-0.1.3.1.tar.gz) = 97c018a935b70a48ff0af6836743ea5da41182d82fd5bcd7da9e0b8bde597cab
+SHA512 (primitive-unlifted-0.1.3.1.tar.gz) = 9e5d9a5c29d684a20fd87c8812b4263abd7a5a9cdece707400e32cbc8709b3d26df016502ffee6487df98c6590f2d96d5a4c5886cdd516272939ac6b5362ef9e
+Size (primitive-unlifted-0.1.3.1.tar.gz) = 7486 bytes
Home |
Main Index |
Thread Index |
Old Index