pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/hs-mwc-random Update to mwc-random-0.15.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c37ac5d0ff8
branches:  trunk
changeset: 451099:4c37ac5d0ff8
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Apr 24 12:17:06 2021 +0000

description:
Update to mwc-random-0.15.0.1

Changes in 0.15.0.1
* Bug in generation of Int/Word in both uniform and uniformR is
  fixed. (#75)

Changes in 0.15.0.0
* withSystemRandomST and createSystemSeed are added.
* withSystemRandom is deprecated.
* random>=1.2 is dependency of mwc-random.
* Instances for type classes StatefulGen & FrozenGen defined in
  random-1.2 are added for Gen.
* Functions in System.Random.MWC.Distributions and
  System.Random.MWC.CondensedTable now work with arbitrary StatefulGen
* System.Random.MWC.uniformVector now works with arbitrary StatefulGen
  as well and uses in-place initialization instead of generateM. It
  should be faster for anything but IO and ST (those shoud remain
  same).

diffstat:

 math/hs-mwc-random/Makefile      |   5 ++-
 math/hs-mwc-random/PLIST         |  60 ++++++++++++++++++++--------------------
 math/hs-mwc-random/buildlink3.mk |   7 ++--
 math/hs-mwc-random/distinfo      |  10 +++---
 4 files changed, 42 insertions(+), 40 deletions(-)

diffs (123 lines):

diff -r c9329027cfd1 -r 4c37ac5d0ff8 math/hs-mwc-random/Makefile
--- a/math/hs-mwc-random/Makefile       Sat Apr 24 12:13:31 2021 +0000
+++ b/math/hs-mwc-random/Makefile       Sat Apr 24 12:17:06 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/01/02 11:34:29 pho Exp $
+# $NetBSD: Makefile,v 1.6 2021/04/24 12:17:06 pho Exp $
 
-DISTNAME=      mwc-random-0.14.0.0
+DISTNAME=      mwc-random-0.15.0.1
 CATEGORIES=    math
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost
@@ -10,5 +10,6 @@
 .include "../../mk/haskell.mk"
 .include "../../math/hs-math-functions/buildlink3.mk"
 .include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
 .include "../../devel/hs-vector/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c9329027cfd1 -r 4c37ac5d0ff8 math/hs-mwc-random/PLIST
--- a/math/hs-mwc-random/PLIST  Sat Apr 24 12:13:31 2021 +0000
+++ b/math/hs-mwc-random/PLIST  Sat Apr 24 12:17:06 2021 +0000
@@ -1,31 +1,31 @@
-@comment $NetBSD: PLIST,v 1.3 2020/05/13 04:53:16 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
+@comment $NetBSD: PLIST,v 1.4 2021/04/24 12:17:06 pho Exp $
+lib/mwc-random-${PKGVERSION}/${HS_VERSION}/package-description
+lib/mwc-random-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_IMPL}/System/Random/MWC.dyn_hi
-${HS_IMPL}/System/Random/MWC.hi
-${HS_IMPL}/System/Random/MWC.p_hi
-${HS_IMPL}/System/Random/MWC/CondensedTable.dyn_hi
-${HS_IMPL}/System/Random/MWC/CondensedTable.hi
-${HS_IMPL}/System/Random/MWC/CondensedTable.p_hi
-${HS_IMPL}/System/Random/MWC/Distributions.dyn_hi
-${HS_IMPL}/System/Random/MWC/Distributions.hi
-${HS_IMPL}/System/Random/MWC/Distributions.p_hi
-${HS_IMPL}/System/Random/MWC/SeedSource.dyn_hi
-${HS_IMPL}/System/Random/MWC/SeedSource.hi
-${HS_IMPL}/System/Random/MWC/SeedSource.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/System-Random-MWC-CondensedTable.html
-${HS_DOCS}/html/System-Random-MWC-Distributions.html
-${HS_DOCS}/html/System-Random-MWC-SeedSource.html
-${HS_DOCS}/html/System-Random-MWC.html
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/mwc-random.haddock
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/CondensedTable.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/CondensedTable.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/CondensedTable.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/Distributions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/Distributions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/Distributions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/SeedSource.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/SeedSource.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/MWC/SeedSource.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/System-Random-MWC-CondensedTable.html
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/System-Random-MWC-Distributions.html
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/System-Random-MWC-SeedSource.html
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/System-Random-MWC.html
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/mwc-random.haddock
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/mwc-random-${PKGVERSION}/html/synopsis.png
diff -r c9329027cfd1 -r 4c37ac5d0ff8 math/hs-mwc-random/buildlink3.mk
--- a/math/hs-mwc-random/buildlink3.mk  Sat Apr 24 12:13:31 2021 +0000
+++ b/math/hs-mwc-random/buildlink3.mk  Sat Apr 24 12:17:06 2021 +0000
@@ -1,16 +1,17 @@
-# $NetBSD: buildlink3.mk,v 1.6 2020/01/02 11:34:29 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2021/04/24 12:17:06 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.14.0
-BUILDLINK_ABI_DEPENDS.hs-mwc-random+=  hs-mwc-random>=0.14.0.0
+BUILDLINK_API_DEPENDS.hs-mwc-random+=  hs-mwc-random>=0.15.0
+BUILDLINK_ABI_DEPENDS.hs-mwc-random+=  hs-mwc-random>=0.15.0.1
 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-random/buildlink3.mk"
 .include "../../devel/hs-vector/buildlink3.mk"
 .endif # HS_MWC_RANDOM_BUILDLINK3_MK
 
diff -r c9329027cfd1 -r 4c37ac5d0ff8 math/hs-mwc-random/distinfo
--- a/math/hs-mwc-random/distinfo       Sat Apr 24 12:13:31 2021 +0000
+++ b/math/hs-mwc-random/distinfo       Sat Apr 24 12:17:06 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/01/02 11:34:29 pho Exp $
+$NetBSD: distinfo,v 1.5 2021/04/24 12:17:06 pho Exp $
 
-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
+SHA1 (mwc-random-0.15.0.1.tar.gz) = 280dc41eaad3fd24d335e5e871b7ae9608d6d088
+RMD160 (mwc-random-0.15.0.1.tar.gz) = 9770064f831a905772fa138370afff5ae4464039
+SHA512 (mwc-random-0.15.0.1.tar.gz) = 54cb806d9c54e7ae7be73981c40ec03a3ca0660deb4d7d2c3659eaa30fb67086ff9a8bc3093170581da16e37cff8fe4507ddc4c30059c65323ea02ac1013c572
+Size (mwc-random-0.15.0.1.tar.gz) = 26672 bytes



Home | Main Index | Thread Index | Old Index