Skip to content

Commit

Permalink
Update to random-1.2.1
Browse files Browse the repository at this point in the history
1.2.1
* Fix support for ghc-9.2 #99
* Fix performance regression for ghc-9.0 #101
* Add uniformEnumM and uniformEnumRM
* Add initStdGen #103
* Add globalStdGen #117
* Add runStateGenST_
* Ensure that default implementation of ShortByteString generation uses
  unpinned memory. #116
* Fix #54 with #68 - if exactly one value in the range of floating point is
  infinite, then uniformRM/randomR returns that value.
* Add default implementation of uniformM that uses Generic #70
* Random instance for CBool #77
* Addition of TGen and TGenM #95
* Addition of tuple instances for Random up to 7-tuple #72
  • Loading branch information
depressed-pho committed Feb 11, 2022
1 parent 433e649 commit a6e7905
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
5 changes: 2 additions & 3 deletions devel/hs-random/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.6 2022/01/18 02:48:11 pho Exp $
# $NetBSD: Makefile,v 1.7 2022/02/11 12:13:47 pho Exp $

DISTNAME= random-1.2.0
PKGREVISION= 2
DISTNAME= random-1.2.1
CATEGORIES= devel

MAINTAINER= pho@cielonegro.org
Expand Down
5 changes: 4 additions & 1 deletion devel/hs-random/PLIST
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
@comment $NetBSD: PLIST,v 1.4 2021/04/23 06:51:27 pho Exp $
@comment $NetBSD: PLIST,v 1.5 2022/02/11 12:13:47 pho Exp $
lib/random-${PKGVERSION}/${HS_VERSION}/package-description
lib/random-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random.hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/GFinite.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/GFinite.hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/GFinite.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Internal.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Internal.hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Internal.p_hi
Expand Down
6 changes: 3 additions & 3 deletions devel/hs-random/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.8 2022/01/18 02:48:11 pho Exp $
# $NetBSD: buildlink3.mk,v 1.9 2022/02/11 12:13:47 pho Exp $

BUILDLINK_TREE+= hs-random

.if !defined(HS_RANDOM_BUILDLINK3_MK)
HS_RANDOM_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-random+= hs-random>=1.2.0
BUILDLINK_ABI_DEPENDS.hs-random+= hs-random>=1.2.0nb2
BUILDLINK_API_DEPENDS.hs-random+= hs-random>=1.2.1
BUILDLINK_ABI_DEPENDS.hs-random+= hs-random>=1.2.1
BUILDLINK_PKGSRCDIR.hs-random?= ../../devel/hs-random

.include "../../devel/hs-splitmix/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions devel/hs-random/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2021/10/26 10:15:00 nia Exp $
$NetBSD: distinfo,v 1.8 2022/02/11 12:13:47 pho Exp $

BLAKE2s (random-1.2.0.tar.gz) = 73f50f176eac298cb122cde39ea0983e03b818fa7bb2d811d6401c2744ecd153
SHA512 (random-1.2.0.tar.gz) = e482f318c245d87824d440885c4ecbd1c9bd85a3b3aa4d7fbb4a82da0cfd31749caa9ff7881c94b731035133fd1d550a0cb8bd4da958d3c72519bddcadc6c2e5
Size (random-1.2.0.tar.gz) = 37889 bytes
BLAKE2s (random-1.2.1.tar.gz) = a910ee604d87ea8fce8aa4b57d853a9f34b017fbeb2c30e5ab96f6ab60f35366
SHA512 (random-1.2.1.tar.gz) = b130a90981de53b4fc3e7cf660224268d24bcceb9498d33827d9f43dc705c9a724c23999c4cf0222127f4c69daebf0d049d963abbea0a860135d661f9cc55731
Size (random-1.2.1.tar.gz) = 47143 bytes

0 comments on commit a6e7905

Please sign in to comment.