pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_custom_printf Added devel/ocaml-ppx_cu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef4145c2824e
branches:  trunk
changeset: 393132:ef4145c2824e
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Mar 13 10:40:28 2019 +0000

description:
Added devel/ocaml-ppx_custom_printf, user-defined string conversions

diffstat:

 devel/ocaml-ppx_custom_printf/DESCR         |   5 +++++
 devel/ocaml-ppx_custom_printf/Makefile      |  23 +++++++++++++++++++++++
 devel/ocaml-ppx_custom_printf/PLIST         |  26 ++++++++++++++++++++++++++
 devel/ocaml-ppx_custom_printf/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-ppx_custom_printf/distinfo      |   6 ++++++
 5 files changed, 73 insertions(+), 0 deletions(-)

diffs (93 lines):

diff -r ba8f3a1cfb81 -r ef4145c2824e devel/ocaml-ppx_custom_printf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_custom_printf/DESCR       Wed Mar 13 10:40:28 2019 +0000
@@ -0,0 +1,5 @@
+ppx_custom_printf is a ppx rewriter that allows the use of user-defined string
+conversion functions in format strings (that is, strings passed to printf,
+sprintf, etc.).
+
+No new syntax is introduced.
diff -r ba8f3a1cfb81 -r ef4145c2824e devel/ocaml-ppx_custom_printf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_custom_printf/Makefile    Wed Mar 13 10:40:28 2019 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 10:40:28 jaapb Exp $
+
+GITHUB_PROJECT=        ppx_custom_printf
+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_custom_printf/
+COMMENT=       Printf-style format-strings for user-defined string conversion
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
+.include "../../devel/ocaml-ppxlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ba8f3a1cfb81 -r ef4145c2824e devel/ocaml-ppx_custom_printf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_custom_printf/PLIST       Wed Mar 13 10:40:28 2019 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 10:40:28 jaapb Exp $
+${OCAML_SITELIB}/ppx_custom_printf/META
+${OCAML_SITELIB}/ppx_custom_printf/dune-package
+${OCAML_SITELIB}/ppx_custom_printf/format_lifter.ml
+${OCAML_SITELIB}/ppx_custom_printf/opam
+${OCAML_SITELIB}/ppx_custom_printf/ppx.exe
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.a
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cma
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmi
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmt
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.cmxs
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.ml
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf.mli
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.cmi
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.cmx
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__.ml
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__Format_lifter.cmi
+${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__Format_lifter.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_custom_printf/ppx_custom_printf__Format_lifter.cmx
+share/doc/ppx_custom_printf/CHANGES.md
+share/doc/ppx_custom_printf/LICENSE.md
+share/doc/ppx_custom_printf/README.md
diff -r ba8f3a1cfb81 -r ef4145c2824e devel/ocaml-ppx_custom_printf/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_custom_printf/buildlink3.mk       Wed Mar 13 10:40:28 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 10:40:28 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_custom_printf
+
+.if !defined(OCAML_PPX_CUSTOM_PRINTF_BUILDLINK3_MK)
+OCAML_PPX_CUSTOM_PRINTF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_custom_printf+=        ocaml-ppx_custom_printf>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_custom_printf?=  ../../devel/ocaml-ppx_custom_printf
+
+.endif # OCAML_PPX_CUSTOM_PRINTF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_custom_printf
diff -r ba8f3a1cfb81 -r ef4145c2824e devel/ocaml-ppx_custom_printf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_custom_printf/distinfo    Wed Mar 13 10:40:28 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 10:40:28 jaapb Exp $
+
+SHA1 (ppx_custom_printf-0.12.0.tar.gz) = e0e7d57fc74dc3d7117fd37360ca942f13d9a3d4
+RMD160 (ppx_custom_printf-0.12.0.tar.gz) = 006647f5b75071652bf40b30eb8f641efa6c82ac
+SHA512 (ppx_custom_printf-0.12.0.tar.gz) = fac2580360276c84344c9a611c0f0211a3c7f0341e09eaae9c55ea7adb0d0d30ed2729892e5da4672b1b3283316d7a30d5373ca4bda429f2f23594a41c5c689a
+Size (ppx_custom_printf-0.12.0.tar.gz) = 9296 bytes



Home | Main Index | Thread Index | Old Index