pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dd8a4058e93
branches:  trunk
changeset: 393148:6dd8a4058e93
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Mar 13 11:19:15 2019 +0000

description:
Added devel/ocaml-ppx_expect, a cram-like testing framework for OCaml.

diffstat:

 devel/ocaml-ppx_expect/DESCR         |    4 +
 devel/ocaml-ppx_expect/Makefile      |   30 ++++++
 devel/ocaml-ppx_expect/PLIST         |  161 +++++++++++++++++++++++++++++++++++
 devel/ocaml-ppx_expect/buildlink3.mk |   13 ++
 devel/ocaml-ppx_expect/distinfo      |    6 +
 5 files changed, 214 insertions(+), 0 deletions(-)

diffs (234 lines):

diff -r cf1541d164cb -r 6dd8a4058e93 devel/ocaml-ppx_expect/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_expect/DESCR      Wed Mar 13 11:19:15 2019 +0000
@@ -0,0 +1,4 @@
+Expect-test is a framework for writing tests in OCaml, similar to Cram.
+Expect-tests mimic the existing inline tests framework. The body of an
+expect-test can contain output-generating code, interleaved with %expect
+extension expressions to denote the expected output.
diff -r cf1541d164cb -r 6dd8a4058e93 devel/ocaml-ppx_expect/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_expect/Makefile   Wed Mar 13 11:19:15 2019 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 11:19:15 jaapb Exp $
+
+GITHUB_PROJECT=        ppx_expect
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-0.12.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/ppx_expect/
+COMMENT=       Cram-like framework for OCaml
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_assert/buildlink3.mk"
+.include "../../devel/ocaml-ppx_compare/buildlink3.mk"
+.include "../../devel/ocaml-ppx_custom_printf/buildlink3.mk"
+.include "../../devel/ocaml-ppx_fields_conv/buildlink3.mk"
+.include "../../devel/ocaml-ppx_inline_test/buildlink3.mk"
+.include "../../devel/ocaml-ppx_here/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
+.include "../../devel/ocaml-ppx_variants_conv/buildlink3.mk"
+.include "../../devel/ocaml-ppxlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cf1541d164cb -r 6dd8a4058e93 devel/ocaml-ppx_expect/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_expect/PLIST      Wed Mar 13 11:19:15 2019 +0000
@@ -0,0 +1,161 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:19:15 jaapb Exp $
+${OCAML_SITELIB}/ppx_expect/META
+${OCAML_SITELIB}/ppx_expect/collector/check_backtraces.ml
+${OCAML_SITELIB}/ppx_expect/collector/check_backtraces.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.a
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cma
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cmi
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cmt
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.cmxs
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.ml
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector.mli
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__.cmi
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__.cmx
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__.ml
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__Check_backtraces.cmi
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__Check_backtraces.cmt
+${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__Check_backtraces.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/collector/expect_test_collector__Check_backtraces.cmx
+${OCAML_SITELIB}/ppx_expect/collector/libexpect_test_collector_stubs.a
+${OCAML_SITELIB}/ppx_expect/collector/runtime.js
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common.a
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common.cma
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common.cmi
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common.cmxs
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common.ml
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Expectation.cmi
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Expectation.cmt
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Expectation.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Expectation.cmx
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__File.cmi
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__File.cmt
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__File.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common__File.cmx
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Std.cmi
+${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Std.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/common/expect_test_common__Std.cmx
+${OCAML_SITELIB}/ppx_expect/common/expectation.ml
+${OCAML_SITELIB}/ppx_expect/common/expectation.mli
+${OCAML_SITELIB}/ppx_expect/common/file.ml
+${OCAML_SITELIB}/ppx_expect/common/file.mli
+${OCAML_SITELIB}/ppx_expect/common/std.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/config/expect_test_config.a
+${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cma
+${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cmi
+${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cmt
+${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/config/expect_test_config.cmxs
+${OCAML_SITELIB}/ppx_expect/config/expect_test_config.ml
+${OCAML_SITELIB}/ppx_expect/config/expect_test_config.mli
+${OCAML_SITELIB}/ppx_expect/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.a
+${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cma
+${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cmi
+${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cmt
+${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.cmxs
+${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.ml
+${OCAML_SITELIB}/ppx_expect/evaluator/ppx_expect_evaluator.mli
+${OCAML_SITELIB}/ppx_expect/expect_extension.ml
+${OCAML_SITELIB}/ppx_expect/expect_extension.mli
+${OCAML_SITELIB}/ppx_expect/lifter.ml
+${OCAML_SITELIB}/ppx_expect/main.ml
+${OCAML_SITELIB}/ppx_expect/main.mli
+${OCAML_SITELIB}/ppx_expect/matcher/choose_tag.ml
+${OCAML_SITELIB}/ppx_expect/matcher/choose_tag.mli
+${OCAML_SITELIB}/ppx_expect/matcher/cst.ml
+${OCAML_SITELIB}/ppx_expect/matcher/cst.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.a
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.cma
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.cmxs
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher.ml
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Choose_tag.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Choose_tag.cmt
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Choose_tag.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Choose_tag.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Cst.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Cst.cmt
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Cst.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Cst.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Fmt.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Fmt.cmt
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Fmt.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Fmt.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Import.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Import.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Import.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Lexer.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Lexer.cmt
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Lexer.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Lexer.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Matcher.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Matcher.cmt
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Matcher.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Matcher.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Reconcile.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Reconcile.cmt
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Reconcile.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Reconcile.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Std.cmi
+${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Std.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/matcher/expect_test_matcher__Std.cmx
+${OCAML_SITELIB}/ppx_expect/matcher/fmt.ml
+${OCAML_SITELIB}/ppx_expect/matcher/fmt.mli
+${OCAML_SITELIB}/ppx_expect/matcher/import.ml
+${OCAML_SITELIB}/ppx_expect/matcher/lexer.ml
+${OCAML_SITELIB}/ppx_expect/matcher/lexer.mli
+${OCAML_SITELIB}/ppx_expect/matcher/matcher.ml
+${OCAML_SITELIB}/ppx_expect/matcher/matcher.mli
+${OCAML_SITELIB}/ppx_expect/matcher/reconcile.ml
+${OCAML_SITELIB}/ppx_expect/matcher/reconcile.mli
+${OCAML_SITELIB}/ppx_expect/matcher/std.ml
+${OCAML_SITELIB}/ppx_expect/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.a
+${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cma
+${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cmi
+${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cmt
+${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.cmxs
+${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.ml
+${OCAML_SITELIB}/ppx_expect/payload/ppx_expect_payload.mli
+${OCAML_SITELIB}/ppx_expect/ppx.exe
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect.a
+${OCAML_SITELIB}/ppx_expect/ppx_expect.cma
+${OCAML_SITELIB}/ppx_expect/ppx_expect.cmi
+${OCAML_SITELIB}/ppx_expect/ppx_expect.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect.cmxs
+${OCAML_SITELIB}/ppx_expect/ppx_expect.ml
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Expect_extension.cmi
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Expect_extension.cmt
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Expect_extension.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect__Expect_extension.cmx
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Lifter.cmi
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Lifter.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect__Lifter.cmx
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Main.cmi
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Main.cmt
+${OCAML_SITELIB}/ppx_expect/ppx_expect__Main.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_expect/ppx_expect__Main.cmx
+${OCAML_SITELIB}/stublibs/dllexpect_test_collector_stubs.so
+share/doc/ppx_expect/CHANGES.md
+share/doc/ppx_expect/LICENSE.md
+share/doc/ppx_expect/README.org
diff -r cf1541d164cb -r 6dd8a4058e93 devel/ocaml-ppx_expect/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_expect/buildlink3.mk      Wed Mar 13 11:19:15 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:19:15 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_expect
+
+.if !defined(OCAML_PPX_EXPECT_BUILDLINK3_MK)
+OCAML_PPX_EXPECT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_expect+=       ocaml-ppx_expect>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_expect?= ../../devel/ocaml-ppx_expect
+
+.endif # OCAML_PPX_EXPECT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_expect
diff -r cf1541d164cb -r 6dd8a4058e93 devel/ocaml-ppx_expect/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_expect/distinfo   Wed Mar 13 11:19:15 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 11:19:15 jaapb Exp $
+
+SHA1 (ppx_expect-0.12.0.tar.gz) = 320c8529d950808e87dabfd45dd73585c6e8d5e7
+RMD160 (ppx_expect-0.12.0.tar.gz) = 7ea935e31610f8b4ebe98bb5bd138f7d929b7b6a
+SHA512 (ppx_expect-0.12.0.tar.gz) = f5b290a6569d834ae1e884afc558a2c5cf5ccd965488d25fcdcca3496fe89d9c685797d6584824befb86ed6d82db3dc14e6109f746ba162d843967c5874f4d36
+Size (ppx_expect-0.12.0.tar.gz) = 39708 bytes



Home | Main Index | Thread Index | Old Index