pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-foldl devel/hs-foldl: import hs-foldl-1.4.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fab980f38616
branches:  trunk
changeset: 374062:fab980f38616
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 09:45:28 2022 +0000

description:
devel/hs-foldl: import hs-foldl-1.4.12

This library provides strict left folds that stream in constant memory, and
you can combine folds using Applicative style to derive new folds. Derived
folds still traverse the container just once and are often as efficient as
hand-written folds.

diffstat:

 devel/hs-foldl/DESCR                     |   4 ++
 devel/hs-foldl/Makefile                  |  20 ++++++++++++++
 devel/hs-foldl/PLIST                     |  43 ++++++++++++++++++++++++++++++++
 devel/hs-foldl/buildlink3.mk             |  23 +++++++++++++++++
 devel/hs-foldl/distinfo                  |   6 ++++
 devel/hs-foldl/patches/patch-foldl.cabal |  15 +++++++++++
 6 files changed, 111 insertions(+), 0 deletions(-)

diffs (135 lines):

diff -r 5f76379a9ee0 -r fab980f38616 devel/hs-foldl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-foldl/DESCR      Wed Feb 16 09:45:28 2022 +0000
@@ -0,0 +1,4 @@
+This library provides strict left folds that stream in constant memory, and
+you can combine folds using Applicative style to derive new folds. Derived
+folds still traverse the container just once and are often as efficient as
+hand-written folds.
diff -r 5f76379a9ee0 -r fab980f38616 devel/hs-foldl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-foldl/Makefile   Wed Feb 16 09:45:28 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 09:45:28 pho Exp $
+
+DISTNAME=      foldl-1.4.12
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Composable, streaming, and efficient left folds
+LICENSE=       modified-bsd
+
+.include "../../math/hs-comonad/buildlink3.mk"
+.include "../../math/hs-contravariant/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../math/hs-profunctors/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../math/hs-semigroupoids/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5f76379a9ee0 -r fab980f38616 devel/hs-foldl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-foldl/PLIST      Wed Feb 16 09:45:28 2022 +0000
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 09:45:28 pho Exp $
+lib/foldl-${PKGVERSION}/${HS_VERSION}/package-description
+lib/foldl-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/ByteString.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/ByteString.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/ByteString.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Internal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Optics.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Optics.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Optics.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Text.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Text.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Text.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Util/MVector.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Util/MVector.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Util/MVector.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Util/Vector.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Util/Vector.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Foldl/Util/Vector.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Scanl.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Scanl.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Scanl.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/Control-Foldl-ByteString.html
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/Control-Foldl-Text.html
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/Control-Foldl.html
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/Control-Scanl.html
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/foldl.haddock
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/foldl-${PKGVERSION}/html/synopsis.png
diff -r 5f76379a9ee0 -r fab980f38616 devel/hs-foldl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-foldl/buildlink3.mk      Wed Feb 16 09:45:28 2022 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 09:45:28 pho Exp $
+
+BUILDLINK_TREE+=       hs-foldl
+
+.if !defined(HS_FOLDL_BUILDLINK3_MK)
+HS_FOLDL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-foldl+=       hs-foldl>=1.4.12
+BUILDLINK_ABI_DEPENDS.hs-foldl+=       hs-foldl>=1.4.12
+BUILDLINK_PKGSRCDIR.hs-foldl?=         ../../devel/hs-foldl
+
+.include "../../math/hs-comonad/buildlink3.mk"
+.include "../../math/hs-contravariant/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../math/hs-profunctors/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../math/hs-semigroupoids/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.endif # HS_FOLDL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-foldl
diff -r 5f76379a9ee0 -r fab980f38616 devel/hs-foldl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-foldl/distinfo   Wed Feb 16 09:45:28 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 09:45:28 pho Exp $
+
+BLAKE2s (foldl-1.4.12.tar.gz) = 05187a29e4e5cd8c4ea0a99fc9a0759229afe22368c132549bdec5ceb93dfcb8
+SHA512 (foldl-1.4.12.tar.gz) = 6b345b59c52039e914ea703ab88a08a8bba0a18bea91fcf4cf379ce678e5a97044f563c7b285cb656a764068756b4fae8321308e86813f86d04c462e9889e6e0
+Size (foldl-1.4.12.tar.gz) = 23210 bytes
+SHA1 (patch-foldl.cabal) = 8f88941c36599a75a2b2a65ba2e7e3253232004f
diff -r 5f76379a9ee0 -r fab980f38616 devel/hs-foldl/patches/patch-foldl.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-foldl/patches/patch-foldl.cabal  Wed Feb 16 09:45:28 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-foldl.cabal,v 1.1 2022/02/16 09:45:28 pho Exp $
+
+Fix build with hashable-1.4
+
+--- foldl.cabal.orig   2001-09-09 01:46:40.000000000 +0000
++++ foldl.cabal
+@@ -33,7 +33,7 @@ Library
+         vector       >= 0.7      && < 0.13,
+         containers   >= 0.5.0.0  && < 0.7 ,
+         unordered-containers        < 0.3 ,
+-        hashable                    < 1.4 ,
++        hashable                          ,
+         contravariant               < 1.6 ,
+         profunctors                 < 5.7 ,
+         semigroupoids >= 1.0     && < 5.4 ,



Home | Main Index | Thread Index | Old Index