pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_fields_conv Added devel/ocaml-ppx_fiel...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69b9a9d3e5ae
branches:  trunk
changeset: 331093:69b9a9d3e5ae
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 12 18:18:40 2019 +0000

description:
Added devel/ocaml-ppx_fields_conv, a function generator for OCaml records

diffstat:

 devel/ocaml-ppx_fields_conv/DESCR         |   4 ++++
 devel/ocaml-ppx_fields_conv/Makefile      |  21 +++++++++++++++++++++
 devel/ocaml-ppx_fields_conv/PLIST         |  17 +++++++++++++++++
 devel/ocaml-ppx_fields_conv/buildlink3.mk |  14 ++++++++++++++
 devel/ocaml-ppx_fields_conv/distinfo      |   6 ++++++
 5 files changed, 62 insertions(+), 0 deletions(-)

diffs (82 lines):

diff -r 80e114986d64 -r 69b9a9d3e5ae devel/ocaml-ppx_fields_conv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_fields_conv/DESCR Tue Mar 12 18:18:40 2019 +0000
@@ -0,0 +1,4 @@
+ppx_fields_conv is a ppx rewriter that can be used to define first class values
+representing record fields, and additional routines, to get and set record
+fields, iterate and fold over all fields of a record and create new record
+values.
diff -r 80e114986d64 -r 69b9a9d3e5ae devel/ocaml-ppx_fields_conv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_fields_conv/Makefile      Tue Mar 12 18:18:40 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 18:18:40 jaapb Exp $
+
+GITHUB_PROJECT=        ppx_fields_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_fields_conv/
+COMMENT=       Generation of access and iteration functions for OCaml records
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE=        yes
+
+.include "../../devel/ocaml-fieldslib/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 80e114986d64 -r 69b9a9d3e5ae devel/ocaml-ppx_fields_conv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_fields_conv/PLIST Tue Mar 12 18:18:40 2019 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:18:40 jaapb Exp $
+${OCAML_SITELIB}/ppx_fields_conv/META
+${OCAML_SITELIB}/ppx_fields_conv/dune-package
+${OCAML_SITELIB}/ppx_fields_conv/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.a
+${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cma
+${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cmi
+${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cmt
+${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.cmxs
+${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.ml
+${OCAML_SITELIB}/ppx_fields_conv/ppx_fields_conv.mli
+share/doc/ppx_fields_conv/CHANGES.md
+share/doc/ppx_fields_conv/LICENSE.md
+share/doc/ppx_fields_conv/README.md
diff -r 80e114986d64 -r 69b9a9d3e5ae devel/ocaml-ppx_fields_conv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_fields_conv/buildlink3.mk Tue Mar 12 18:18:40 2019 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:18:40 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_fields_conv
+
+.if !defined(OCAML_PPX_FIELDS_CONV_BUILDLINK3_MK)
+OCAML_PPX_FIELDS_CONV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_fields_conv+=  ocaml-ppx_fields_conv>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_fields_conv?=    ../../devel/ocaml-ppx_fields_conv
+
+.include "../../devel/ocaml-fieldslib/buildlink3.mk"
+.endif # OCAML_PPX_FIELDS_CONV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_fields_conv
diff -r 80e114986d64 -r 69b9a9d3e5ae devel/ocaml-ppx_fields_conv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_fields_conv/distinfo      Tue Mar 12 18:18:40 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 18:18:40 jaapb Exp $
+
+SHA1 (ppx_fields_conv-0.12.0.tar.gz) = 091fa3095491e1fb55b0263d721208ab9d013ad1
+RMD160 (ppx_fields_conv-0.12.0.tar.gz) = 389437d92cb75c8fe0d8a42967a4bc5f105f6fd4
+SHA512 (ppx_fields_conv-0.12.0.tar.gz) = 6edbf67be1135d4b98251957127ec9976bdac01fdf72186e6abfb8be3e899a0a5e9354342f7352f87331019ead84ca9bfbab9c624d22c8035304e2c0eff3624f
+Size (ppx_fields_conv-0.12.0.tar.gz) = 13678 bytes



Home | Main Index | Thread Index | Old Index