Added devel/ocaml-splittable_random, a splittable RNG for OCaml
This commit is contained in:
parent
2b943dac83
commit
99030dbb41
5 changed files with 69 additions and 0 deletions
8
devel/ocaml-splittable_random/DESCR
Normal file
8
devel/ocaml-splittable_random/DESCR
Normal file
|
@ -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.
|
25
devel/ocaml-splittable_random/Makefile
Normal file
25
devel/ocaml-splittable_random/Makefile
Normal file
|
@ -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
|
||||
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"
|
17
devel/ocaml-splittable_random/PLIST
Normal file
17
devel/ocaml-splittable_random/PLIST
Normal file
|
@ -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
|
13
devel/ocaml-splittable_random/buildlink3.mk
Normal file
13
devel/ocaml-splittable_random/buildlink3.mk
Normal file
|
@ -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
|
6
devel/ocaml-splittable_random/distinfo
Normal file
6
devel/ocaml-splittable_random/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue