pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hs-validation-selective



Module Name:    pkgsrc
Committed By:   pho
Date:           Sun May  5 08:16:17 UTC 2024

Added Files:
        pkgsrc/devel/hs-validation-selective: DESCR Makefile PLIST
            buildlink3.mk distinfo

Log Message:
devel/hs-validation-selective: import hs-validation-selective-0.2.0.0

Lightweight pure data validation based on Applicative and Selective
functors.

validation-selective is built around the following data type:

    data Validation e a
        = Failure e
        | Success a

This data type is similar to Either but allows accumulating all errors
instead of short-circuiting on the first one.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/hs-validation-selective/DESCR \
    pkgsrc/devel/hs-validation-selective/Makefile \
    pkgsrc/devel/hs-validation-selective/PLIST \
    pkgsrc/devel/hs-validation-selective/buildlink3.mk \
    pkgsrc/devel/hs-validation-selective/distinfo

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-validation-selective/DESCR
diff -u /dev/null pkgsrc/devel/hs-validation-selective/DESCR:1.1
--- /dev/null   Sun May  5 08:16:17 2024
+++ pkgsrc/devel/hs-validation-selective/DESCR  Sun May  5 08:16:16 2024
@@ -0,0 +1,11 @@
+Lightweight pure data validation based on Applicative and Selective
+functors.
+
+validation-selective is built around the following data type:
+
+    data Validation e a
+        = Failure e
+        | Success a
+
+This data type is similar to Either but allows accumulating all errors
+instead of short-circuiting on the first one.
Index: pkgsrc/devel/hs-validation-selective/Makefile
diff -u /dev/null pkgsrc/devel/hs-validation-selective/Makefile:1.1
--- /dev/null   Sun May  5 08:16:17 2024
+++ pkgsrc/devel/hs-validation-selective/Makefile       Sun May  5 08:16:16 2024
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2024/05/05 08:16:16 pho Exp $
+
+DISTNAME=      validation-selective-0.2.0.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Lighweight pure data validation
+LICENSE=       mpl-2.0
+
+HASKELL_UNRESTRICT_DEPENDENCIES+=      \
+       base    \
+       deepseq \
+       selective
+
+.include "../../devel/hs-selective/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hs-validation-selective/PLIST
diff -u /dev/null pkgsrc/devel/hs-validation-selective/PLIST:1.1
--- /dev/null   Sun May  5 08:16:17 2024
+++ pkgsrc/devel/hs-validation-selective/PLIST  Sun May  5 08:16:16 2024
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/05 08:16:16 pho Exp $
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Validation.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Validation.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Validation.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Validation/Combinators.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Validation/Combinators.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Validation/Combinators.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+lib/validation-selective-${PKGVERSION}/${HS_VERSION}/package-description
+lib/validation-selective-${PKGVERSION}/${HS_VERSION}/package-id
+share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/CHANGELOG.md
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/README.md
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/Validation-Combinators.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/Validation.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/synopsis.png
+${PLIST.doc}share/doc/${HS_PLATFORM}/validation-selective-${PKGVERSION}/html/validation-selective.haddock
Index: pkgsrc/devel/hs-validation-selective/buildlink3.mk
diff -u /dev/null pkgsrc/devel/hs-validation-selective/buildlink3.mk:1.1
--- /dev/null   Sun May  5 08:16:17 2024
+++ pkgsrc/devel/hs-validation-selective/buildlink3.mk  Sun May  5 08:16:16 2024
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/05/05 08:16:16 pho Exp $
+
+BUILDLINK_TREE+=       hs-validation-selective
+
+.if !defined(HS_VALIDATION_SELECTIVE_BUILDLINK3_MK)
+HS_VALIDATION_SELECTIVE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-validation-selective+=        hs-validation-selective>=0.2.0
+BUILDLINK_ABI_DEPENDS.hs-validation-selective+=        hs-validation-selective>=0.2.0.0
+BUILDLINK_PKGSRCDIR.hs-validation-selective?=  ../../devel/hs-validation-selective
+
+.include "../../devel/hs-selective/buildlink3.mk"
+.endif # HS_VALIDATION_SELECTIVE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-validation-selective
Index: pkgsrc/devel/hs-validation-selective/distinfo
diff -u /dev/null pkgsrc/devel/hs-validation-selective/distinfo:1.1
--- /dev/null   Sun May  5 08:16:17 2024
+++ pkgsrc/devel/hs-validation-selective/distinfo       Sun May  5 08:16:16 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/05/05 08:16:16 pho Exp $
+
+BLAKE2s (validation-selective-0.2.0.0.tar.gz) = 6d160c4edc2eb0bc2ea8bbfea2c3012fe7306c6498054eb1df0ae99a8a136c44
+SHA512 (validation-selective-0.2.0.0.tar.gz) = 3ae95cf549ff7f19aa9b652df0258d02e5c608cf17f11893f6fcf5d92656586e96a336f714c0d367f679ce4b2dc14e052e64b2ee9aa1cda21c00bb8a51ea3cbc
+Size (validation-selective-0.2.0.0.tar.gz) = 22397 bytes



Home | Main Index | Thread Index | Old Index