Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 922EE84FC8 for ; Sat, 28 Oct 2023 14:33:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id yZZCJoy-IOfW for ; Sat, 28 Oct 2023 14:33:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id AE43D84CD9 for ; Sat, 28 Oct 2023 14:33:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A223CFADC; Sat, 28 Oct 2023 14:33:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1698503594117990" MIME-Version: 1.0 Date: Sat, 28 Oct 2023 14:33:14 +0000 From: "Masatake Daimon" Subject: CVS commit: pkgsrc/math/hs-integer-conversion To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: pho@netbsd.org X-Mailer: log_accum Message-Id: <20231028143314.A223CFADC@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1698503594117990 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1698503594117990 Content-Disposition: inline Content-Length: 4435 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1698503594117990--