pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-sorted-list devel/hs-sorted-list: import hs-s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/57718692731e
branches: trunk
changeset: 374122:57718692731e
user: pho <pho%pkgsrc.org@localhost>
date: Wed Feb 16 10:04:42 2022 +0000
description:
devel/hs-sorted-list: import hs-sorted-list-0.2.1.0
Type-enforced sorted lists and related functions.
These are useful for:
* Constraining the argument of a function to be a sorted list by stating in
your type that the input list is a sorted list.
* Avoiding sorting a list twice.
* Creating a list that is sorted from the moment of its construction, so it
doesn't have to be sorted later.
* Performing list operations keeping the input list sorted.
* Improving those list operations that can be benefited from the ordering
of its elements.
* Creating infinite lists that are sorted!
* And more!
diffstat:
devel/hs-sorted-list/DESCR | 13 +++++++++++++
devel/hs-sorted-list/Makefile | 11 +++++++++++
devel/hs-sorted-list/PLIST | 19 +++++++++++++++++++
devel/hs-sorted-list/buildlink3.mk | 13 +++++++++++++
devel/hs-sorted-list/distinfo | 5 +++++
5 files changed, 61 insertions(+), 0 deletions(-)
diffs (81 lines):
diff -r de35e4bdc9d7 -r 57718692731e devel/hs-sorted-list/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-sorted-list/DESCR Wed Feb 16 10:04:42 2022 +0000
@@ -0,0 +1,13 @@
+Type-enforced sorted lists and related functions.
+
+These are useful for:
+* Constraining the argument of a function to be a sorted list by stating in
+ your type that the input list is a sorted list.
+* Avoiding sorting a list twice.
+* Creating a list that is sorted from the moment of its construction, so it
+ doesn't have to be sorted later.
+* Performing list operations keeping the input list sorted.
+* Improving those list operations that can be benefited from the ordering
+ of its elements.
+* Creating infinite lists that are sorted!
+* And more!
diff -r de35e4bdc9d7 -r 57718692731e devel/hs-sorted-list/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-sorted-list/Makefile Wed Feb 16 10:04:42 2022 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 10:04:42 pho Exp $
+
+DISTNAME= sorted-list-0.2.1.0
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Type-enforced sorted lists and related functions
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r de35e4bdc9d7 -r 57718692731e devel/hs-sorted-list/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-sorted-list/PLIST Wed Feb 16 10:04:42 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 10:04:42 pho Exp $
+lib/sorted-list-${PKGVERSION}/${HS_VERSION}/package-description
+lib/sorted-list-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/SortedList.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/SortedList.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/SortedList.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}/sorted-list-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/Data-SortedList.html
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/sorted-list.haddock
+share/doc/${HS_PLATFORM}/sorted-list-${PKGVERSION}/html/synopsis.png
diff -r de35e4bdc9d7 -r 57718692731e devel/hs-sorted-list/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-sorted-list/buildlink3.mk Wed Feb 16 10:04:42 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 10:04:42 pho Exp $
+
+BUILDLINK_TREE+= hs-sorted-list
+
+.if !defined(HS_SORTED_LIST_BUILDLINK3_MK)
+HS_SORTED_LIST_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-sorted-list+= hs-sorted-list>=0.2.1
+BUILDLINK_ABI_DEPENDS.hs-sorted-list+= hs-sorted-list>=0.2.1.0
+BUILDLINK_PKGSRCDIR.hs-sorted-list?= ../../devel/hs-sorted-list
+.endif # HS_SORTED_LIST_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-sorted-list
diff -r de35e4bdc9d7 -r 57718692731e devel/hs-sorted-list/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hs-sorted-list/distinfo Wed Feb 16 10:04:42 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 10:04:42 pho Exp $
+
+BLAKE2s (sorted-list-0.2.1.0.tar.gz) = a97a6e86e2bac643c4dc0b023f308ec108d9ea3b07ed715b26c00fb9aebe6f36
+SHA512 (sorted-list-0.2.1.0.tar.gz) = f87777a2150a1b7cfee0a79585a62aad8d1c874f173c13628ed69d62f107de4509dc03031cf86c1368b073f16c0b163ce378d3fa5fe24c8cf22ce0105977409f
+Size (sorted-list-0.2.1.0.tar.gz) = 5965 bytes
Home |
Main Index |
Thread Index |
Old Index