pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/hs-integer-conversion



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Oct 28 14:33:14 UTC 2023

Added Files:
        pkgsrc/math/hs-integer-conversion: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
math/hs-integer-conversion: import hs-integer-conversion-0.1.0.1

The naive foldl' (acc d -> acc * 10 + d) 0 is expensive (quadratic!) for
large Integers. This package provides sub-quadratic implementation.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/hs-integer-conversion/DESCR \
    pkgsrc/math/hs-integer-conversion/Makefile \
    pkgsrc/math/hs-integer-conversion/PLIST \
    pkgsrc/math/hs-integer-conversion/buildlink3.mk \
    pkgsrc/math/hs-integer-conversion/distinfo

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

Added files:

Index: pkgsrc/math/hs-integer-conversion/DESCR
diff -u /dev/null pkgsrc/math/hs-integer-conversion/DESCR:1.1
--- /dev/null   Sat Oct 28 14:33:14 2023
+++ pkgsrc/math/hs-integer-conversion/DESCR     Sat Oct 28 14:33:14 2023
@@ -0,0 +1,2 @@
+The naive foldl' (acc d -> acc * 10 + d) 0 is expensive (quadratic!) for
+large Integers. This package provides sub-quadratic implementation.
Index: pkgsrc/math/hs-integer-conversion/Makefile
diff -u /dev/null pkgsrc/math/hs-integer-conversion/Makefile:1.1
--- /dev/null   Sat Oct 28 14:33:14 2023
+++ pkgsrc/math/hs-integer-conversion/Makefile  Sat Oct 28 14:33:14 2023
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2023/10/28 14:33:14 pho Exp $
+
+DISTNAME=      integer-conversion-0.1.0.1
+CATEGORIES=    math converters
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Conversion from strings to Integer
+LICENSE=       modified-bsd
+
+HASKELL_UNRESTRICT_DEPENDENCIES+=      \
+       bytestring \
+       primitive
+
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/hs-integer-conversion/PLIST
diff -u /dev/null pkgsrc/math/hs-integer-conversion/PLIST:1.1
--- /dev/null   Sat Oct 28 14:33:14 2023
+++ pkgsrc/math/hs-integer-conversion/PLIST     Sat Oct 28 14:33:14 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/28 14:33:14 pho Exp $
+lib/integer-conversion-${PKGVERSION}/${HS_VERSION}/package-description
+lib/integer-conversion-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Integer/Conversion.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Integer/Conversion.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Data/Integer/Conversion.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/Data-Integer-Conversion.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/integer-conversion.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/integer-conversion-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/math/hs-integer-conversion/buildlink3.mk
diff -u /dev/null pkgsrc/math/hs-integer-conversion/buildlink3.mk:1.1
--- /dev/null   Sat Oct 28 14:33:14 2023
+++ pkgsrc/math/hs-integer-conversion/buildlink3.mk     Sat Oct 28 14:33:14 2023
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/28 14:33:14 pho Exp $
+
+BUILDLINK_TREE+=       hs-integer-conversion
+
+.if !defined(HS_INTEGER_CONVERSION_BUILDLINK3_MK)
+HS_INTEGER_CONVERSION_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-integer-conversion+=  hs-integer-conversion>=0.1.0
+BUILDLINK_ABI_DEPENDS.hs-integer-conversion+=  hs-integer-conversion>=0.1.0.1
+BUILDLINK_PKGSRCDIR.hs-integer-conversion?=    ../../math/hs-integer-conversion
+
+.include "../../devel/hs-primitive/buildlink3.mk"
+.endif # HS_INTEGER_CONVERSION_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-integer-conversion
Index: pkgsrc/math/hs-integer-conversion/distinfo
diff -u /dev/null pkgsrc/math/hs-integer-conversion/distinfo:1.1
--- /dev/null   Sat Oct 28 14:33:14 2023
+++ pkgsrc/math/hs-integer-conversion/distinfo  Sat Oct 28 14:33:14 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/28 14:33:14 pho Exp $
+
+BLAKE2s (integer-conversion-0.1.0.1.tar.gz) = 53a43537e87d3bcb8b71d2f734b69d07b91d9a652bedf4e0b2ae3c3983409335
+SHA512 (integer-conversion-0.1.0.1.tar.gz) = 86ca35230fb0c2f75e65fc3bf944c7aa04886106e5fab6c392bfa64435eb37dc7083270ba2f84a2313a2ff28cce0e1d7f3d72701ce39bbf82938a8a9cbd566e4
+Size (integer-conversion-0.1.0.1.tar.gz) = 6166 bytes



Home | Main Index | Thread Index | Old Index