pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-monoidal-containers devel/hs-monoidal-contain...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1382778e9532
branches: trunk
changeset: 384911:1382778e9532
user: pho <pho%pkgsrc.org@localhost>
date: Wed Sep 07 02:57:02 2022 +0000
description:
devel/hs-monoidal-containers: import hs-monoidal-containers-0.6.2.0
Containers with merging via monoidal accumulation. The Monoid instances
provided by the "containers" and "unordered-containers" packages merge
structures in a left-biased manner instead of using the underlying monoidal
structure of the value.
This package wraps the types provided by these packages, but provides
Monoid instances implemented in terms of the value type's mappend. For
instance, the Monoid Map instance looks like,
instance (Ord k, Semigroup a) => Monoid (MonoidalMap k a)
diffstat:
devel/hs-monoidal-containers/DESCR | 10 ++++++++
devel/hs-monoidal-containers/Makefile | 27 +++++++++++++++++++++++
devel/hs-monoidal-containers/PLIST | 35 ++++++++++++++++++++++++++++++
devel/hs-monoidal-containers/buildlink3.mk | 22 ++++++++++++++++++
devel/hs-monoidal-containers/distinfo | 5 ++++
5 files changed, 99 insertions(+), 0 deletions(-)
diffs (119 lines):
diff -r a4490d7ac211 -r 1382778e9532 devel/hs-monoidal-containers/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-monoidal-containers/DESCR Wed Sep 07 02:57:02 2022 +0000
@@ -0,0 +1,10 @@
+Containers with merging via monoidal accumulation. The Monoid instances
+provided by the "containers" and "unordered-containers" packages merge
+structures in a left-biased manner instead of using the underlying monoidal
+structure of the value.
+
+This package wraps the types provided by these packages, but provides
+Monoid instances implemented in terms of the value type's mappend. For
+instance, the Monoid Map instance looks like,
+
+ instance (Ord k, Semigroup a) => Monoid (MonoidalMap k a)
diff -r a4490d7ac211 -r 1382778e9532 devel/hs-monoidal-containers/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-monoidal-containers/Makefile Wed Sep 07 02:57:02 2022 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2022/09/07 02:57:02 pho Exp $
+
+DISTNAME= monoidal-containers-0.6.2.0
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Containers with monoidal accumulation
+LICENSE= modified-bsd
+
+# Relax version constraints
+SUBST_CLASSES+= cabal
+SUBST_STAGE.cabal= post-extract
+SUBST_FILES.cabal= monoidal-containers.cabal
+SUBST_SED.cabal= -e 's/aeson *>=1.0 *&& <2.1/aeson/'
+SUBST_SED.cabal+= -e 's/base *>=4.7 *&& <4.16/base/'
+SUBST_SED.cabal+= -e 's/lens *>=4.4 *&& <5.2/lens/'
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-lens/buildlink3.mk"
+.include "../../devel/hs-newtype/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-witherable/buildlink3.mk"
+.include "../../devel/hs-semialign/buildlink3.mk"
+.include "../../devel/hs-these/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a4490d7ac211 -r 1382778e9532 devel/hs-monoidal-containers/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-monoidal-containers/PLIST Wed Sep 07 02:57:02 2022 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2022/09/07 02:57:02 pho Exp $
+lib/monoidal-containers-${PKGVERSION}/${HS_VERSION}/package-description
+lib/monoidal-containers-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/HashMap/Monoidal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/HashMap/Monoidal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/HashMap/Monoidal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/IntMap/Monoidal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/IntMap/Monoidal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/IntMap/Monoidal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/IntMap/Monoidal/Strict.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/IntMap/Monoidal/Strict.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/IntMap/Monoidal/Strict.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Map/Monoidal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Map/Monoidal.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Map/Monoidal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Map/Monoidal/Strict.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Map/Monoidal/Strict.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Map/Monoidal/Strict.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}/monoidal-containers-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/Data-HashMap-Monoidal.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/Data-IntMap-Monoidal-Strict.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/Data-IntMap-Monoidal.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/Data-Map-Monoidal-Strict.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/Data-Map-Monoidal.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/monoidal-containers.haddock
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/monoidal-containers-${PKGVERSION}/html/synopsis.png
diff -r a4490d7ac211 -r 1382778e9532 devel/hs-monoidal-containers/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-monoidal-containers/buildlink3.mk Wed Sep 07 02:57:02 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/09/07 02:57:02 pho Exp $
+
+BUILDLINK_TREE+= hs-monoidal-containers
+
+.if !defined(HS_MONOIDAL_CONTAINERS_BUILDLINK3_MK)
+HS_MONOIDAL_CONTAINERS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-monoidal-containers+= hs-monoidal-containers>=0.6.2
+BUILDLINK_ABI_DEPENDS.hs-monoidal-containers+= hs-monoidal-containers>=0.6.2.0
+BUILDLINK_PKGSRCDIR.hs-monoidal-containers?= ../../devel/hs-monoidal-containers
+
+.include "../../converters/hs-aeson/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-lens/buildlink3.mk"
+.include "../../devel/hs-newtype/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-witherable/buildlink3.mk"
+.include "../../devel/hs-semialign/buildlink3.mk"
+.include "../../devel/hs-these/buildlink3.mk"
+.endif # HS_MONOIDAL_CONTAINERS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-monoidal-containers
diff -r a4490d7ac211 -r 1382778e9532 devel/hs-monoidal-containers/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-monoidal-containers/distinfo Wed Sep 07 02:57:02 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/09/07 02:57:02 pho Exp $
+
+BLAKE2s (monoidal-containers-0.6.2.0.tar.gz) = 2482dcb32a6c6ebdbd94d3b853383bbb72a60473d4fd6c30d90af7778f04d556
+SHA512 (monoidal-containers-0.6.2.0.tar.gz) = 4572c628ebc7c7e5b467157772b21f33af716d852280d92aedf35329b84837beb7017b3350248579876f7519db89ee24b5eaebced1a216151e57df751c4fda6c
+Size (monoidal-containers-0.6.2.0.tar.gz) = 12868 bytes
Home |
Main Index |
Thread Index |
Old Index