pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_variants_conv Added devel/ocaml-ppx_va...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/534cf08885e6
branches:  trunk
changeset: 393139:534cf08885e6
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Mar 13 11:03:16 2019 +0000

description:
Added devel/ocaml-ppx_variants_conv, ppx rewriter for variant types

diffstat:

 devel/ocaml-ppx_variants_conv/DESCR         |   3 +++
 devel/ocaml-ppx_variants_conv/Makefile      |  23 +++++++++++++++++++++++
 devel/ocaml-ppx_variants_conv/PLIST         |  17 +++++++++++++++++
 devel/ocaml-ppx_variants_conv/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-ppx_variants_conv/distinfo      |   6 ++++++
 5 files changed, 62 insertions(+), 0 deletions(-)

diffs (82 lines):

diff -r da12e75a0ee6 -r 534cf08885e6 devel/ocaml-ppx_variants_conv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_variants_conv/DESCR       Wed Mar 13 11:03:16 2019 +0000
@@ -0,0 +1,3 @@
+ppx_variants_conv is a ppx rewriter that can be used to define first class
+values representing variant constructors, and additional routines to fold,
+iterate and map over all constructors of a variant type.
diff -r da12e75a0ee6 -r 534cf08885e6 devel/ocaml-ppx_variants_conv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_variants_conv/Makefile    Wed Mar 13 11:03:16 2019 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 11:03:16 jaapb Exp $
+
+GITHUB_PROJECT=        ppx_variants_conv
+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_variants_conv/
+COMMENT=       Generation of accessor and iteration functions for OCaml variant types
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-variantslib/buildlink3.mk"
+.include "../../devel/ocaml-ppxlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r da12e75a0ee6 -r 534cf08885e6 devel/ocaml-ppx_variants_conv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_variants_conv/PLIST       Wed Mar 13 11:03:16 2019 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:03:16 jaapb Exp $
+${OCAML_SITELIB}/ppx_variants_conv/META
+${OCAML_SITELIB}/ppx_variants_conv/dune-package
+${OCAML_SITELIB}/ppx_variants_conv/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.a
+${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cma
+${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmi
+${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmt
+${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.cmxs
+${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.ml
+${OCAML_SITELIB}/ppx_variants_conv/ppx_variants_conv.mli
+share/doc/ppx_variants_conv/CHANGES.md
+share/doc/ppx_variants_conv/LICENSE.md
+share/doc/ppx_variants_conv/README.md
diff -r da12e75a0ee6 -r 534cf08885e6 devel/ocaml-ppx_variants_conv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_variants_conv/buildlink3.mk       Wed Mar 13 11:03:16 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:03:16 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_variants_conv
+
+.if !defined(OCAML_PPX_VARIANTS_CONV_BUILDLINK3_MK)
+OCAML_PPX_VARIANTS_CONV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_variants_conv+=        ocaml-ppx_variants_conv>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_variants_conv?=  ../../devel/ocaml-ppx_variants_conv
+
+.endif # OCAML_PPX_VARIANTS_CONV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_variants_conv
diff -r da12e75a0ee6 -r 534cf08885e6 devel/ocaml-ppx_variants_conv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_variants_conv/distinfo    Wed Mar 13 11:03:16 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 11:03:16 jaapb Exp $
+
+SHA1 (ppx_variants_conv-0.12.0.tar.gz) = 6ce1987af2c31109f3d85822c647eac66a95655b
+RMD160 (ppx_variants_conv-0.12.0.tar.gz) = 095adf3452ca9784d98757046af49969e843cb85
+SHA512 (ppx_variants_conv-0.12.0.tar.gz) = 4ec3f91bc18699b6825d7a4942c92786cabdfe44a67e14ef14329cbaa3b7b2ee7076b26acfd322f8048fe49f5f9ae029d194b181b2f1b00643fb0c4fc5f4b40d
+Size (ppx_variants_conv-0.12.0.tar.gz) = 9351 bytes



Home | Main Index | Thread Index | Old Index