summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-02 11:34:29 +0000
committerpho <pho@pkgsrc.org>2020-01-02 11:34:29 +0000
commitef3557cbcbe7d68fdaa87fc0c9c3ab08b3781bb2 (patch)
tree4a6b77b04482f4b9f24ef54d11923759da8a92fb /math
parent5eebb2c8c947f5e41daddfc72c77496b8abb6ac5 (diff)
downloadpkgsrc-ef3557cbcbe7d68fdaa87fc0c9c3ab08b3781bb2.tar.gz
Update to mwc-random-0.14.0.0
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
Diffstat (limited to 'math')
-rw-r--r--math/hs-mwc-random/Makefile5
-rw-r--r--math/hs-mwc-random/PLIST25
-rw-r--r--math/hs-mwc-random/buildlink3.mk7
-rw-r--r--math/hs-mwc-random/distinfo10
4 files changed, 12 insertions, 35 deletions
diff --git a/math/hs-mwc-random/Makefile b/math/hs-mwc-random/Makefile
index 545887b2069..a887aad99ab 100644
--- a/math/hs-mwc-random/Makefile
+++ b/math/hs-mwc-random/Makefile
@@ -1,6 +1,6 @@
-# $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= szptvlfn@NetBSD.org
@@ -8,6 +8,7 @@ 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"
diff --git a/math/hs-mwc-random/PLIST b/math/hs-mwc-random/PLIST
deleted file mode 100644
index 44cc0d2ae5f..00000000000
--- a/math/hs-mwc-random/PLIST
+++ /dev/null
@@ -1,25 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/08/14 21:57:25 szptvlfn Exp $
-lib/mwc-random-${PKGVERSION}/${HASKELL_VERSION}/HSmwc-random-${PKGVERSION}.o
-lib/mwc-random-${PKGVERSION}/${HASKELL_VERSION}/System/Random/MWC.hi
-lib/mwc-random-${PKGVERSION}/${HASKELL_VERSION}/System/Random/MWC/CondensedTable.hi
-lib/mwc-random-${PKGVERSION}/${HASKELL_VERSION}/System/Random/MWC/Distributions.hi
-lib/mwc-random-${PKGVERSION}/${HASKELL_VERSION}/libHSmwc-random-${PKGVERSION}.a
-lib/mwc-random-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/mwc-random-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/System-Random-MWC-CondensedTable.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/System-Random-MWC-Distributions.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/System-Random-MWC.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/mini_System-Random-MWC-CondensedTable.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/mini_System-Random-MWC-Distributions.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/mini_System-Random-MWC.html
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/mwc-random.haddock
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/mwc-random-${PKGVERSION}/html/synopsis.png
diff --git a/math/hs-mwc-random/buildlink3.mk b/math/hs-mwc-random/buildlink3.mk
index e2bd13a7557..57382d56b73 100644
--- a/math/hs-mwc-random/buildlink3.mk
+++ b/math/hs-mwc-random/buildlink3.mk
@@ -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
diff --git a/math/hs-mwc-random/distinfo b/math/hs-mwc-random/distinfo
index 08a0ba90701..7ade83e83df 100644
--- a/math/hs-mwc-random/distinfo
+++ b/math/hs-mwc-random/distinfo
@@ -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