pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-splittable_random Added devel/ocaml-splitt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6365a7a92619
branches:  trunk
changeset: 320898:6365a7a92619
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Mar 12 18:55:23 2019 +0000

description:
Added devel/ocaml-splittable_random, a splittable RNG for OCaml

diffstat:

 devel/ocaml-splittable_random/DESCR         |   8 ++++++++
 devel/ocaml-splittable_random/Makefile      |  25 +++++++++++++++++++++++++
 devel/ocaml-splittable_random/PLIST         |  17 +++++++++++++++++
 devel/ocaml-splittable_random/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-splittable_random/distinfo      |   6 ++++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r b987dbfba8e0 -r 6365a7a92619 devel/ocaml-splittable_random/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-splittable_random/DESCR       Tue Mar 12 18:55:23 2019 +0000
@@ -0,0 +1,8 @@
+PRNG that can be split into independent streams
+
+A splittable pseudo-random number generator (SPRNG) functions like a PRNG in
+that it can be used as a stream of random values; it can also be "split" to
+produce a second, independent stream of random values.
+
+This library implements a splittable pseudo-random number generator that
+sacrifices cryptographic-quality randomness in favor of performance.
diff -r b987dbfba8e0 -r 6365a7a92619 devel/ocaml-splittable_random/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-splittable_random/Makefile    Tue Mar 12 18:55:23 2019 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2019/03/12 18:55:23 jaapb Exp $
+
+GITHUB_PROJECT=        splittable_random
+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/splittable_random/
+COMMENT=       PRNG that can be split into independent streams
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_assert/buildlink3.mk"
+.include "../../devel/ocaml-ppx_bench/buildlink3.mk"
+.include "../../devel/ocaml-ppx_inline_test/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_message/buildlink3.mk"
+
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b987dbfba8e0 -r 6365a7a92619 devel/ocaml-splittable_random/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-splittable_random/PLIST       Tue Mar 12 18:55:23 2019 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/12 18:55:23 jaapb Exp $
+${OCAML_SITELIB}/splittable_random/META
+${OCAML_SITELIB}/splittable_random/dune-package
+${OCAML_SITELIB}/splittable_random/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/splittable_random/splittable_random.a
+${OCAML_SITELIB}/splittable_random/splittable_random.cma
+${OCAML_SITELIB}/splittable_random/splittable_random.cmi
+${OCAML_SITELIB}/splittable_random/splittable_random.cmt
+${OCAML_SITELIB}/splittable_random/splittable_random.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/splittable_random/splittable_random.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/splittable_random/splittable_random.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/splittable_random/splittable_random.cmxs
+${OCAML_SITELIB}/splittable_random/splittable_random.ml
+${OCAML_SITELIB}/splittable_random/splittable_random.mli
+share/doc/splittable_random/CHANGES.md
+share/doc/splittable_random/LICENSE.md
+share/doc/splittable_random/README.md
diff -r b987dbfba8e0 -r 6365a7a92619 devel/ocaml-splittable_random/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-splittable_random/buildlink3.mk       Tue Mar 12 18:55:23 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/12 18:55:23 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-splittable_random
+
+.if !defined(OCAML_SPLITTABLE_RANDOM_BUILDLINK3_MK)
+OCAML_SPLITTABLE_RANDOM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-splittable_random+=        ocaml-splittable_random>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-splittable_random?=  ../../devel/ocaml-splittable_random
+
+.endif # OCAML_SPLITTABLE_RANDOM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-splittable_random
diff -r b987dbfba8e0 -r 6365a7a92619 devel/ocaml-splittable_random/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-splittable_random/distinfo    Tue Mar 12 18:55:23 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/12 18:55:23 jaapb Exp $
+
+SHA1 (splittable_random-0.12.0.tar.gz) = b002cbb1bfe8e5fdb50ddf7de4984c02a9be888f
+RMD160 (splittable_random-0.12.0.tar.gz) = 2cd5afe99a8f1e06d53e7554100abfdfef571b78
+SHA512 (splittable_random-0.12.0.tar.gz) = 47f2db600fed68e18b744f1e11ad166c8a12a3f23e1cfae52f59f7f727d4813ffada91d752aa28c91c84d62d3c5ea134c6338136bd9214950d30e4ceb2c8797a
+Size (splittable_random-0.12.0.tar.gz) = 9943 bytes



Home | Main Index | Thread Index | Old Index