pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-witherable devel/hs-witherable: import hs-wit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/89544106a546
branches: trunk
changeset: 373595:89544106a546
user: pho <pho%pkgsrc.org@localhost>
date: Sat Feb 12 05:28:34 2022 +0000
description:
devel/hs-witherable: import hs-witherable-0.4.2
A stronger variant of traverse which can remove elements and generalised
mapMaybe, catMaybes, filter.
diffstat:
devel/hs-witherable/DESCR | 2 +
devel/hs-witherable/Makefile | 17 ++++++++++++++++
devel/hs-witherable/PLIST | 23 ++++++++++++++++++++++
devel/hs-witherable/buildlink3.mk | 20 +++++++++++++++++++
devel/hs-witherable/distinfo | 6 +++++
devel/hs-witherable/patches/patch-witherable.cabal | 15 ++++++++++++++
6 files changed, 83 insertions(+), 0 deletions(-)
diffs (107 lines):
diff -r 5c1696892a6b -r 89544106a546 devel/hs-witherable/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-witherable/DESCR Sat Feb 12 05:28:34 2022 +0000
@@ -0,0 +1,2 @@
+A stronger variant of traverse which can remove elements and generalised
+mapMaybe, catMaybes, filter.
diff -r 5c1696892a6b -r 89544106a546 devel/hs-witherable/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-witherable/Makefile Sat Feb 12 05:28:34 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/02/12 05:28:34 pho Exp $
+
+DISTNAME= witherable-0.4.2
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Filterable traversable
+LICENSE= modified-bsd
+
+.include "../../devel/hs-base-orphans/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-indexed-traversable/buildlink3.mk"
+.include "../../devel/hs-indexed-traversable-instances/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 5c1696892a6b -r 89544106a546 devel/hs-witherable/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-witherable/PLIST Sat Feb 12 05:28:34 2022 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/12 05:28:34 pho Exp $
+lib/witherable-${PKGVERSION}/${HS_VERSION}/package-description
+lib/witherable-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Witherable.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Witherable.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Witherable.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Witherable.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Witherable.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Witherable.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}/witherable-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/Data-Witherable.html
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/Witherable.html
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/witherable-${PKGVERSION}/html/witherable.haddock
diff -r 5c1696892a6b -r 89544106a546 devel/hs-witherable/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-witherable/buildlink3.mk Sat Feb 12 05:28:34 2022 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/12 05:28:34 pho Exp $
+
+BUILDLINK_TREE+= hs-witherable
+
+.if !defined(HS_WITHERABLE_BUILDLINK3_MK)
+HS_WITHERABLE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-witherable+= hs-witherable>=0.4.2
+BUILDLINK_ABI_DEPENDS.hs-witherable+= hs-witherable>=0.4.2
+BUILDLINK_PKGSRCDIR.hs-witherable?= ../../devel/hs-witherable
+
+.include "../../devel/hs-base-orphans/buildlink3.mk"
+.include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-indexed-traversable/buildlink3.mk"
+.include "../../devel/hs-indexed-traversable-instances/buildlink3.mk"
+.include "../../devel/hs-unordered-containers/buildlink3.mk"
+.include "../../devel/hs-vector/buildlink3.mk"
+.endif # HS_WITHERABLE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-witherable
diff -r 5c1696892a6b -r 89544106a546 devel/hs-witherable/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-witherable/distinfo Sat Feb 12 05:28:34 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/02/12 05:28:34 pho Exp $
+
+BLAKE2s (witherable-0.4.2.tar.gz) = 7004a4dfcaab709528a19fd34d21b2083bd857fdcde0174ad56a22fdab8f5e0f
+SHA512 (witherable-0.4.2.tar.gz) = 14ad590e24b93fc25f16fecaf71d6f9f891a903dd76e052d9f6c21b464f0d28df4f019d33ac36086341a6c5bd20833d7b0c2d19543460d1530899c0c25cea852
+Size (witherable-0.4.2.tar.gz) = 11876 bytes
+SHA1 (patch-witherable.cabal) = 6179b906e5e524d20b3e34b38307cbf5d6bed6ee
diff -r 5c1696892a6b -r 89544106a546 devel/hs-witherable/patches/patch-witherable.cabal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-witherable/patches/patch-witherable.cabal Sat Feb 12 05:28:34 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-witherable.cabal,v 1.1 2022/02/12 05:28:34 pho Exp $
+
+Fix build with hashable-1.4
+
+--- witherable.cabal.orig 2001-09-09 01:46:40.000000000 +0000
++++ witherable.cabal
+@@ -26,7 +26,7 @@ library
+ build-depends: base >=4.9 && <5,
+ base-orphans >=0.8.4 && <0.9,
+ containers >=0.5.7.1 && <0.7,
+- hashable >=1.2.7.0 && <1.4,
++ hashable >=1.2.7.0 && <1.5,
+ transformers >=0.5.2.0 && <0.6,
+ unordered-containers >=0.2.12.0 && <0.3,
+ vector >=0.12.2.0 && <0.13,
Home |
Main Index |
Thread Index |
Old Index