pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-rresult Added devel/ocaml-rresult, a resul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de7f3903f1eb
branches:  trunk
changeset: 331074:de7f3903f1eb
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 12 17:49:59 2019 +0000

description:
Added devel/ocaml-rresult, a result value combinator library

diffstat:

 devel/ocaml-rresult/DESCR         |   4 ++++
 devel/ocaml-rresult/Makefile      |  22 ++++++++++++++++++++++
 devel/ocaml-rresult/PLIST         |  20 ++++++++++++++++++++
 devel/ocaml-rresult/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-rresult/distinfo      |   6 ++++++
 5 files changed, 65 insertions(+), 0 deletions(-)

diffs (85 lines):

diff -r ed49581b6b68 -r de7f3903f1eb devel/ocaml-rresult/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-rresult/DESCR Tue Mar 12 17:49:59 2019 +0000
@@ -0,0 +1,4 @@
+Rresult is an OCaml module for handling computation results and errors in an
+explicit and declarative manner, without resorting to exceptions. It defines
+combinators to operate on the result type available from OCaml 4.03 in the
+standard library.
diff -r ed49581b6b68 -r de7f3903f1eb devel/ocaml-rresult/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-rresult/Makefile      Tue Mar 12 17:49:59 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 17:49:59 jaapb Exp $
+
+DISTNAME=      rresult-0.6.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  https://erratique.ch/software/rresult/releases/
+EXTRACT_SUFX=  .tbz
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://erratique.ch/software/rresult/
+COMMENT=       Declarative handling of results and errors in OCaml
+LICENSE=       isc
+
+USE_LANGUAGES= # none
+
+OCAML_USE_TOPKG=       yes
+OCAML_USE_OPAM=        yes
+
+.include "../../devel/ocaml-compiler-libs/buildlink3.mk"
+.include "../../devel/ocaml-result/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ed49581b6b68 -r de7f3903f1eb devel/ocaml-rresult/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-rresult/PLIST Tue Mar 12 17:49:59 2019 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 17:49:59 jaapb Exp $
+${OCAML_SITELIB}/rresult/META
+${OCAML_SITELIB}/rresult/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult.a
+${OCAML_SITELIB}/rresult/rresult.cma
+${OCAML_SITELIB}/rresult/rresult.cmi
+${OCAML_SITELIB}/rresult/rresult.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult.cmxs
+${OCAML_SITELIB}/rresult/rresult.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult_top.a
+${OCAML_SITELIB}/rresult/rresult_top.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult_top.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult_top.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/rresult/rresult_top.cmxs
+${OCAML_SITELIB}/rresult/rresult_top_init.ml
+share/doc/rresult/CHANGES.md
+share/doc/rresult/LICENSE.md
+share/doc/rresult/README.md
diff -r ed49581b6b68 -r de7f3903f1eb devel/ocaml-rresult/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-rresult/buildlink3.mk Tue Mar 12 17:49:59 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 17:49:59 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-rresult
+
+.if !defined(OCAML_RRESULT_BUILDLINK3_MK)
+OCAML_RRESULT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-rresult+=  ocaml-rresult>=0.6.0
+BUILDLINK_PKGSRCDIR.ocaml-rresult?=    ../../devel/ocaml-rresult
+
+.endif # OCAML_RRESULT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-rresult
diff -r ed49581b6b68 -r de7f3903f1eb devel/ocaml-rresult/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-rresult/distinfo      Tue Mar 12 17:49:59 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 17:49:59 jaapb Exp $
+
+SHA1 (rresult-0.6.0.tbz) = 26189872ca771c0b0af675152e2465453b498154
+RMD160 (rresult-0.6.0.tbz) = 3a0ed5c72f02de140d67f8512f80d2e373019a5d
+SHA512 (rresult-0.6.0.tbz) = 66cb7acb525c17dde4e7572fa5a0d925466f8e759b90a12d952ca076d25de49404c962e061557f2255112fbf1d731f8da696acd536cbb9433a4b1d9662095c3a
+Size (rresult-0.6.0.tbz) = 7731 bytes



Home | Main Index | Thread Index | Old Index