pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-random
Module Name: pkgsrc
Committed By: pho
Date: Wed Jan 29 16:56:33 UTC 2025
Modified Files:
pkgsrc/devel/hs-random: Makefile PLIST buildlink3.mk distinfo
Log Message:
devel/hs-random: update to random-1.3.0
# 1.3.0
* Improve floating point value generation and avoid degenerate cases: [#172](https://github.com/haskell/random/pull/172)
* Add `Uniform` instance for `Maybe` and `Either`: [#167](https://github.com/haskell/random/pull/167)
* Add `Seed`, `SeedGen`, `seedSize`, `seedSizeProxy`, `mkSeed` and `unSeed`:
[#162](https://github.com/haskell/random/pull/162)
* Add `mkSeedFromByteString`, `unSeedToByteString`, `withSeed`, `withSeedM`, `withSeedFile`,
`seedGenTypeName`, `nonEmptyToSeed`, `nonEmptyFromSeed`, `withSeedM`, `withSeedMutableGen` and `withSeedMutableGen_`
* Add `SplitGen` and `splitGen`: [#160](https://github.com/haskell/random/pull/160)
* Add `unifromShuffleList` and `unifromShuffleListM`: [#140](https://github.com/haskell/random/pull/140)
* Add `uniformWordR`: [#140](https://github.com/haskell/random/pull/140)
* Add `mkStdGen64`: [#155](https://github.com/haskell/random/pull/155)
* Add `uniformListRM`, `uniformList`, `uniformListR`, `uniforms` and `uniformRs`:
[#154](https://github.com/haskell/random/pull/154)
* Add compatibility with recently added `ByteArray` to `base`:
[#153](https://github.com/haskell/random/pull/153)
* Switch to using `ByteArray` for type class implementation instead of
`ShortByteString`
* Add `unsafeUniformFillMutableByteArray` to `RandomGen` and a helper function
`defaultUnsafeUniformFillMutableByteArray` that makes implementation
for most instances easier.
* Add `uniformByteArray`, `uniformByteString` and `uniformFillMutableByteArray`
* Deprecate `genByteString` in favor of `uniformByteString`
* Add `uniformByteArrayM` to `StatefulGen`
* Add `uniformByteStringM` and `uniformShortByteStringM`
* Deprecate `System.Random.Stateful.uniformShortByteString` in favor of `uniformShortByteStringM` for
consistent naming and a future plan of removing it from `StatefulGen`
type class
* Add a pure `System.Random.uniformShortByteString` generating function.
* Deprecate `genShortByteString` in favor of `System.Random.uniformShortByteString`
* Expose a helper function `fillByteArrayST`, that can be used for
defining implementation for `uniformByteArrayM`
* Deprecate `genShortByteStringST` and `genShortByteStringIO` in favor of `fillByteArrayST`
* Improve `FrozenGen` interface: [#149](https://github.com/haskell/random/pull/149)
* Move `thawGen` from `FreezeGen` into the new `ThawGen` type class. Fixes an issue with
an unlawful instance of `StateGen` for `FreezeGen`.
* Add `modifyGen` and `overwriteGen` to the `FrozenGen` type class
* Switch `splitGenM` to use `SplitGen` and `FrozenGen` instead of deprecated `RandomGenM`
* Add `splitMutableGenM`
* Switch `randomM` and `randomRM` to use `FrozenGen` instead of `RandomGenM`
* Deprecate `RandomGenM` in favor of a more powerful `FrozenGen`
* Add `isInRangeOrd` and `isInRangeEnum` that can be used for implementing `isInRange`:
[#148](https://github.com/haskell/random/pull/148)
* Add `isInRange` to `UniformRange`: [#78](https://github.com/haskell/random/pull/78)
* Add default implementation for `uniformRM` using `Generics`:
[#92](https://github.com/haskell/random/pull/92)
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/hs-random/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/hs-random/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/hs-random/buildlink3.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/hs-random/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/hs-random/Makefile
diff -u pkgsrc/devel/hs-random/Makefile:1.15 pkgsrc/devel/hs-random/Makefile:1.16
--- pkgsrc/devel/hs-random/Makefile:1.15 Thu May 9 01:32:08 2024
+++ pkgsrc/devel/hs-random/Makefile Wed Jan 29 16:56:33 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2024/05/09 01:32:08 pho Exp $
+# $NetBSD: Makefile,v 1.16 2025/01/29 16:56:33 pho Exp $
-DISTNAME= random-1.2.1.2
-PKGREVISION= 1
+DISTNAME= random-1.3.0
CATEGORIES= devel
MAINTAINER= pho%cielonegro.org@localhost
Index: pkgsrc/devel/hs-random/PLIST
diff -u pkgsrc/devel/hs-random/PLIST:1.7 pkgsrc/devel/hs-random/PLIST:1.8
--- pkgsrc/devel/hs-random/PLIST:1.7 Mon Apr 29 03:02:49 2024
+++ pkgsrc/devel/hs-random/PLIST Wed Jan 29 16:56:33 2025
@@ -1,14 +1,20 @@
-@comment $NetBSD: PLIST,v 1.7 2024/04/29 03:02:49 pho Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/01/29 16:56:33 pho Exp $
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Array.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Array.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Array.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/GFinite.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/GFinite.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/GFinite.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Internal.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Internal.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Seed.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Seed.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Seed.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Stateful.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Stateful.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/System/Random/Stateful.p_hi
Index: pkgsrc/devel/hs-random/buildlink3.mk
diff -u pkgsrc/devel/hs-random/buildlink3.mk:1.16 pkgsrc/devel/hs-random/buildlink3.mk:1.17
--- pkgsrc/devel/hs-random/buildlink3.mk:1.16 Thu May 9 01:32:08 2024
+++ pkgsrc/devel/hs-random/buildlink3.mk Wed Jan 29 16:56:33 2025
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.16 2024/05/09 01:32:08 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2025/01/29 16:56:33 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.1
-BUILDLINK_ABI_DEPENDS.hs-random+= hs-random>=1.2.1.2nb1
+BUILDLINK_API_DEPENDS.hs-random+= hs-random>=1.3.0
+BUILDLINK_ABI_DEPENDS.hs-random+= hs-random>=1.3.0
BUILDLINK_PKGSRCDIR.hs-random?= ../../devel/hs-random
.include "../../devel/hs-splitmix/buildlink3.mk"
Index: pkgsrc/devel/hs-random/distinfo
diff -u pkgsrc/devel/hs-random/distinfo:1.10 pkgsrc/devel/hs-random/distinfo:1.11
--- pkgsrc/devel/hs-random/distinfo:1.10 Mon Apr 29 03:02:49 2024
+++ pkgsrc/devel/hs-random/distinfo Wed Jan 29 16:56:33 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2024/04/29 03:02:49 pho Exp $
+$NetBSD: distinfo,v 1.11 2025/01/29 16:56:33 pho Exp $
-BLAKE2s (random-1.2.1.2.tar.gz) = 4ba08e467084a63a1c3f2f21372c07c8d4428b518f9fd69b421708273a5c51af
-SHA512 (random-1.2.1.2.tar.gz) = 04a98a5ae2baa6b4d016c7951bed7057b1c5d850c81ea7ab46d0c7fdb68e21c680914eb55ab3ff9b78e64a29d77c65b00c14601250b32758e2d5343e72708517
-Size (random-1.2.1.2.tar.gz) = 47229 bytes
+BLAKE2s (random-1.3.0.tar.gz) = 4620150d281372ca74059ec348d77f85e92fc507cd47870bd4185aae5df018d7
+SHA512 (random-1.3.0.tar.gz) = f6ee1fb9803ca3d4cfa630f552f8c7eeb9a8e438b7540e6bd1a52df5180718e5b525c8dd26b87893456a4ec90c46c36ea42fbc44b2aaf54bb4b52654c413fd04
+Size (random-1.3.0.tar.gz) = 63786 bytes
Home |
Main Index |
Thread Index |
Old Index