pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-primitive-unlifted



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Feb 16 09:53:15 UTC 2022

Added Files:
        pkgsrc/devel/hs-primitive-unlifted: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-primitive-unlifted/DESCR \
    pkgsrc/devel/hs-primitive-unlifted/Makefile \
    pkgsrc/devel/hs-primitive-unlifted/PLIST \
    pkgsrc/devel/hs-primitive-unlifted/buildlink3.mk \
    pkgsrc/devel/hs-primitive-unlifted/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-primitive-unlifted/DESCR
diff -u /dev/null pkgsrc/devel/hs-primitive-unlifted/DESCR:1.1
--- /dev/null   Wed Feb 16 09:53:15 2022
+++ pkgsrc/devel/hs-primitive-unlifted/DESCR    Wed Feb 16 09:53:15 2022
@@ -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.
Index: pkgsrc/devel/hs-primitive-unlifted/Makefile
diff -u /dev/null pkgsrc/devel/hs-primitive-unlifted/Makefile:1.1
--- /dev/null   Wed Feb 16 09:53:15 2022
+++ pkgsrc/devel/hs-primitive-unlifted/Makefile Wed Feb 16 09:53:15 2022
@@ -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"
Index: pkgsrc/devel/hs-primitive-unlifted/PLIST
diff -u /dev/null pkgsrc/devel/hs-primitive-unlifted/PLIST:1.1
--- /dev/null   Wed Feb 16 09:53:15 2022
+++ pkgsrc/devel/hs-primitive-unlifted/PLIST    Wed Feb 16 09:53:15 2022
@@ -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
Index: pkgsrc/devel/hs-primitive-unlifted/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-primitive-unlifted/buildlink3.mk:1.1
--- /dev/null   Wed Feb 16 09:53:15 2022
+++ pkgsrc/devel/hs-primitive-unlifted/buildlink3.mk    Wed Feb 16 09:53:15 2022
@@ -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
Index: pkgsrc/devel/hs-primitive-unlifted/distinfo
diff -u /dev/null pkgsrc/devel/hs-primitive-unlifted/distinfo:1.1
--- /dev/null   Wed Feb 16 09:53:15 2022
+++ pkgsrc/devel/hs-primitive-unlifted/distinfo Wed Feb 16 09:53:15 2022
@@ -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