pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-foldl
Module Name: pkgsrc
Committed By: pho
Date: Wed Feb 16 09:45:28 UTC 2022
Added Files:
pkgsrc/devel/hs-foldl: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/devel/hs-foldl/patches: patch-foldl.cabal
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-foldl/DESCR \
pkgsrc/devel/hs-foldl/Makefile pkgsrc/devel/hs-foldl/PLIST \
pkgsrc/devel/hs-foldl/buildlink3.mk pkgsrc/devel/hs-foldl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-foldl/patches/patch-foldl.cabal
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-foldl/DESCR
diff -u /dev/null pkgsrc/devel/hs-foldl/DESCR:1.1
--- /dev/null Wed Feb 16 09:45:28 2022
+++ pkgsrc/devel/hs-foldl/DESCR Wed Feb 16 09:45:28 2022
@@ -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.
Index: pkgsrc/devel/hs-foldl/Makefile
diff -u /dev/null pkgsrc/devel/hs-foldl/Makefile:1.1
--- /dev/null Wed Feb 16 09:45:28 2022
+++ pkgsrc/devel/hs-foldl/Makefile Wed Feb 16 09:45:28 2022
@@ -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"
Index: pkgsrc/devel/hs-foldl/PLIST
diff -u /dev/null pkgsrc/devel/hs-foldl/PLIST:1.1
--- /dev/null Wed Feb 16 09:45:28 2022
+++ pkgsrc/devel/hs-foldl/PLIST Wed Feb 16 09:45:28 2022
@@ -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
Index: pkgsrc/devel/hs-foldl/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-foldl/buildlink3.mk:1.1
--- /dev/null Wed Feb 16 09:45:28 2022
+++ pkgsrc/devel/hs-foldl/buildlink3.mk Wed Feb 16 09:45:28 2022
@@ -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
Index: pkgsrc/devel/hs-foldl/distinfo
diff -u /dev/null pkgsrc/devel/hs-foldl/distinfo:1.1
--- /dev/null Wed Feb 16 09:45:28 2022
+++ pkgsrc/devel/hs-foldl/distinfo Wed Feb 16 09:45:28 2022
@@ -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
Index: pkgsrc/devel/hs-foldl/patches/patch-foldl.cabal
diff -u /dev/null pkgsrc/devel/hs-foldl/patches/patch-foldl.cabal:1.1
--- /dev/null Wed Feb 16 09:45:28 2022
+++ pkgsrc/devel/hs-foldl/patches/patch-foldl.cabal Wed Feb 16 09:45:28 2022
@@ -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