pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8afc3b2e3937
branches:  trunk
changeset: 365170:8afc3b2e3937
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Jul 11 11:27:00 2017 +0000

description:
Added devel/ocaml-biniou, a library for a new JSON-like (but faster) binary
format.

diffstat:

 devel/ocaml-biniou/DESCR         |   9 ++++++
 devel/ocaml-biniou/Makefile      |  27 ++++++++++++++++++
 devel/ocaml-biniou/PLIST         |  58 ++++++++++++++++++++++++++++++++++++++++
 devel/ocaml-biniou/buildlink3.mk |  13 ++++++++
 devel/ocaml-biniou/distinfo      |   6 ++++
 5 files changed, 113 insertions(+), 0 deletions(-)

diffs (133 lines):

diff -r 9ec3ed94b0db -r 8afc3b2e3937 devel/ocaml-biniou/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-biniou/DESCR  Tue Jul 11 11:27:00 2017 +0000
@@ -0,0 +1,9 @@
+Biniou (pronounced "be new") is a binary data format designed for speed,
+safety, ease of use and backward compatibility as protocols evolve. Biniou is
+vastly equivalent to JSON in terms of functionality but allows implementations
+several times faster (4 times faster than yojson), with 25-35% space savings.
+
+Biniou data can be decoded into human-readable form without knowledge of type
+definitions except for field and variant names which are represented by 31-bit
+hashes. A program named bdump is provided for routine visualization of biniou
+data files.
diff -r 9ec3ed94b0db -r 8afc3b2e3937 devel/ocaml-biniou/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-biniou/Makefile       Tue Jul 11 11:27:00 2017 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+
+GITHUB_PROJECT=        biniou
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-1.0.13
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mjambon/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mjambon/biniou/
+COMMENT=       Extensible binary data format, like JSON but faster
+LICENSE=       modified-bsd
+
+MAKE_JOBS_SAFE=        no
+USE_TOOLS+=    gmake
+BUILD_TARGET=  byte doc META
+OCAML_USE_FINDLIB=     yes
+
+.include "../../mk/ocaml.mk"
+
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+BUILD_TARGET+= opt
+.endif
+
+.include "../../textproc/ocaml-easy-format/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9ec3ed94b0db -r 8afc3b2e3937 devel/ocaml-biniou/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-biniou/PLIST  Tue Jul 11 11:27:00 2017 +0000
@@ -0,0 +1,58 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+${OCAML_SITELIB}/biniou/META
+${OCAML_SITELIB}/biniou/bi_dump.cmo
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_dump.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_dump.o
+${OCAML_SITELIB}/biniou/bi_inbuf.annot
+${OCAML_SITELIB}/biniou/bi_inbuf.cmi
+${OCAML_SITELIB}/biniou/bi_inbuf.cmo
+${OCAML_SITELIB}/biniou/bi_inbuf.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_inbuf.cmx
+${OCAML_SITELIB}/biniou/bi_inbuf.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_inbuf.o
+${OCAML_SITELIB}/biniou/bi_io.annot
+${OCAML_SITELIB}/biniou/bi_io.cmi
+${OCAML_SITELIB}/biniou/bi_io.cmo
+${OCAML_SITELIB}/biniou/bi_io.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_io.cmx
+${OCAML_SITELIB}/biniou/bi_io.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_io.o
+${OCAML_SITELIB}/biniou/bi_outbuf.annot
+${OCAML_SITELIB}/biniou/bi_outbuf.cmi
+${OCAML_SITELIB}/biniou/bi_outbuf.cmo
+${OCAML_SITELIB}/biniou/bi_outbuf.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_outbuf.cmx
+${OCAML_SITELIB}/biniou/bi_outbuf.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_outbuf.o
+${OCAML_SITELIB}/biniou/bi_share.annot
+${OCAML_SITELIB}/biniou/bi_share.cmi
+${OCAML_SITELIB}/biniou/bi_share.cmo
+${OCAML_SITELIB}/biniou/bi_share.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_share.cmx
+${OCAML_SITELIB}/biniou/bi_share.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_share.o
+${OCAML_SITELIB}/biniou/bi_stream.annot
+${OCAML_SITELIB}/biniou/bi_stream.cmi
+${OCAML_SITELIB}/biniou/bi_stream.cmo
+${OCAML_SITELIB}/biniou/bi_stream.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_stream.cmx
+${OCAML_SITELIB}/biniou/bi_stream.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_stream.o
+${OCAML_SITELIB}/biniou/bi_util.annot
+${OCAML_SITELIB}/biniou/bi_util.cmi
+${OCAML_SITELIB}/biniou/bi_util.cmo
+${OCAML_SITELIB}/biniou/bi_util.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_util.cmx
+${OCAML_SITELIB}/biniou/bi_util.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_util.o
+${OCAML_SITELIB}/biniou/bi_vint.annot
+${OCAML_SITELIB}/biniou/bi_vint.cmi
+${OCAML_SITELIB}/biniou/bi_vint.cmo
+${OCAML_SITELIB}/biniou/bi_vint.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_vint.cmx
+${OCAML_SITELIB}/biniou/bi_vint.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/bi_vint.o
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/biniou.a
+${OCAML_SITELIB}/biniou/biniou.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/biniou.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/biniou/biniou.cmxs
diff -r 9ec3ed94b0db -r 8afc3b2e3937 devel/ocaml-biniou/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-biniou/buildlink3.mk  Tue Jul 11 11:27:00 2017 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-biniou
+
+.if !defined(OCAML_BINIOU_BUILDLINK3_MK)
+OCAML_BINIOU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-biniou+=   ocaml-biniou>=1.0.13
+BUILDLINK_PKGSRCDIR.ocaml-biniou?=     ../../devel/ocaml-biniou
+
+.endif # OCAML_BINIOU_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-biniou
diff -r 9ec3ed94b0db -r 8afc3b2e3937 devel/ocaml-biniou/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-biniou/distinfo       Tue Jul 11 11:27:00 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/11 11:27:00 jaapb Exp $
+
+SHA1 (biniou-1.0.13.tar.gz) = 87d62aeb15437f7ba26654b774b3106f374aad3c
+RMD160 (biniou-1.0.13.tar.gz) = 7b3306894c3407190acb707d53078ebd7118e82d
+SHA512 (biniou-1.0.13.tar.gz) = 2fe109e83260f546181dd26ea175d2c4f63d0f6604c6d26fa44ee31925ba1fdaac0139a436cd0271a31294de9cd8ea65f8dde0981403c652d31de721ef696788
+Size (biniou-1.0.13.tar.gz) = 24327 bytes



Home | Main Index | Thread Index | Old Index