Skip to content

Commit

Permalink
Update to mwc-random-0.14.0.0
Browse files Browse the repository at this point in the history
Changes in 0.14.0.0
* Low level functions for acquiring random data for initialization of
  PRGN state is moved to System.Random.MWC.SeedSource module
* Ensure that carry is always correct when restoring PRNG state from
  seed. Only affects users who create 258 element seed manually. (#63,
  #65)

Changes in 0.13.6.0
* tablePoisson now can handle λ>1923, see #59 for details. That
  required intoduction of dependency on math-functions.

Changes in 0.13.5.0
* logCategorical added

Changes in 0.13.4.0
* withSystemRandom uses RtlGenRandom for seeding generator on windows
  • Loading branch information
depressed-pho committed Jan 2, 2020
1 parent eb41700 commit 21abba0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 35 deletions.
5 changes: 3 additions & 2 deletions math/hs-mwc-random/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# $NetBSD: Makefile,v 1.4 2015/12/13 14:10:14 szptvlfn Exp $
# $NetBSD: Makefile,v 1.5 2020/01/02 11:34:29 pho Exp $

DISTNAME= mwc-random-0.13.3.2
DISTNAME= mwc-random-0.14.0.0
CATEGORIES= math

MAINTAINER= [email protected]
COMMENT= Fast, high quality pseudo random number generation
LICENSE= modified-bsd

.include "../../mk/haskell.mk"
.include "../../math/hs-math-functions/buildlink3.mk"
.include "../../devel/hs-primitive/buildlink3.mk"
.include "../../devel/hs-vector/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
25 changes: 0 additions & 25 deletions math/hs-mwc-random/PLIST

This file was deleted.

7 changes: 4 additions & 3 deletions math/hs-mwc-random/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.5 2015/12/13 14:10:14 szptvlfn Exp $
# $NetBSD: buildlink3.mk,v 1.6 2020/01/02 11:34:29 pho Exp $

BUILDLINK_TREE+= hs-mwc-random

.if !defined(HS_MWC_RANDOM_BUILDLINK3_MK)
HS_MWC_RANDOM_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-mwc-random+= hs-mwc-random>=0.13.3
BUILDLINK_ABI_DEPENDS.hs-mwc-random+= hs-mwc-random>=0.13.3.2
BUILDLINK_API_DEPENDS.hs-mwc-random+= hs-mwc-random>=0.14.0
BUILDLINK_ABI_DEPENDS.hs-mwc-random+= hs-mwc-random>=0.14.0.0
BUILDLINK_PKGSRCDIR.hs-mwc-random?= ../../math/hs-mwc-random

.include "../../math/hs-math-functions/buildlink3.mk"
.include "../../devel/hs-primitive/buildlink3.mk"
.include "../../devel/hs-vector/buildlink3.mk"
.endif # HS_MWC_RANDOM_BUILDLINK3_MK
Expand Down
10 changes: 5 additions & 5 deletions math/hs-mwc-random/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.3 2015/12/13 14:10:14 szptvlfn Exp $
$NetBSD: distinfo,v 1.4 2020/01/02 11:34:29 pho Exp $

SHA1 (mwc-random-0.13.3.2.tar.gz) = fa60a31bab7da60c6ef3cba31923be8b84863d6c
RMD160 (mwc-random-0.13.3.2.tar.gz) = 47e59c625442c969c6fde45e06abb42ac6b3886a
SHA512 (mwc-random-0.13.3.2.tar.gz) = 67a4f99bba5884cc59d5bd521f89b1b9c0b1d473d1f157a23857e45d4759f30b6e868fd5a9e444c8563345b2dd465256fdeee97e6a68d51b00e4bbbcd8bb200f
Size (mwc-random-0.13.3.2.tar.gz) = 22290 bytes
SHA1 (mwc-random-0.14.0.0.tar.gz) = 139ab36e4be49bffa9cf7c9e363bb1aec50c5928
RMD160 (mwc-random-0.14.0.0.tar.gz) = 7aca90c6f486eea72f50973031d11180e7e6405b
SHA512 (mwc-random-0.14.0.0.tar.gz) = bb262d6f4a37d91e4c0667ec5140894ed36bf3ef4b90e487f4d689a6bc4eddd09dcdc3c8b75013124908ca1642e990c3e074fb728acc1b36f63b3db66528301d
Size (mwc-random-0.14.0.0.tar.gz) = 19674 bytes

0 comments on commit 21abba0

Please sign in to comment.