pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-MonadRandom Update to MonadRandom-0.5.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cff4b64f0dde
branches:  trunk
changeset: 450940:cff4b64f0dde
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Apr 23 10:41:51 2021 +0000

description:
Update to MonadRandom-0.5.3

0.5.3 (8 April 2021)
* StatefulGen instances for RandT
* Addition of RandGen
* Additioon of withRandGen and withRandGen_

0.5.2 (24 June 2020)
* Support for random-1.2.
* Drop support for GHC 7.4, test with GHC 8.10.

0.5.1.2 (18 Jan 2020)
* Better error message when total probability sum is negative in
  fromListMay, weightedMay, weighted

diffstat:

 devel/hs-MonadRandom/Makefile                        |   4 +-
 devel/hs-MonadRandom/PLIST                           |  84 ++++++++++----------
 devel/hs-MonadRandom/buildlink3.mk                   |   6 +-
 devel/hs-MonadRandom/distinfo                        |  11 +-
 devel/hs-MonadRandom/patches/patch-MonadRandom.cabal |  15 ---
 5 files changed, 52 insertions(+), 68 deletions(-)

diffs (155 lines):

diff -r 4a35100e8c93 -r cff4b64f0dde devel/hs-MonadRandom/Makefile
--- a/devel/hs-MonadRandom/Makefile     Fri Apr 23 10:38:26 2021 +0000
+++ b/devel/hs-MonadRandom/Makefile     Fri Apr 23 10:41:51 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/01/11 08:05:40 pho Exp $
+# $NetBSD: Makefile,v 1.6 2021/04/23 10:41:51 pho Exp $
 
-DISTNAME=      MonadRandom-0.5.1.1
+DISTNAME=      MonadRandom-0.5.3
 CATEGORIES=    devel
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost
diff -r 4a35100e8c93 -r cff4b64f0dde devel/hs-MonadRandom/PLIST
--- a/devel/hs-MonadRandom/PLIST        Fri Apr 23 10:38:26 2021 +0000
+++ b/devel/hs-MonadRandom/PLIST        Fri Apr 23 10:41:51 2021 +0000
@@ -1,43 +1,43 @@
-@comment $NetBSD: PLIST,v 1.3 2020/05/13 04:53:15 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Control/Monad/Random.dyn_hi
-${HS_IMPL}/Control/Monad/Random.hi
-${HS_IMPL}/Control/Monad/Random.p_hi
-${HS_IMPL}/Control/Monad/Random/Class.dyn_hi
-${HS_IMPL}/Control/Monad/Random/Class.hi
-${HS_IMPL}/Control/Monad/Random/Class.p_hi
-${HS_IMPL}/Control/Monad/Random/Lazy.dyn_hi
-${HS_IMPL}/Control/Monad/Random/Lazy.hi
-${HS_IMPL}/Control/Monad/Random/Lazy.p_hi
-${HS_IMPL}/Control/Monad/Random/Strict.dyn_hi
-${HS_IMPL}/Control/Monad/Random/Strict.hi
-${HS_IMPL}/Control/Monad/Random/Strict.p_hi
-${HS_IMPL}/Control/Monad/Trans/Random.dyn_hi
-${HS_IMPL}/Control/Monad/Trans/Random.hi
-${HS_IMPL}/Control/Monad/Trans/Random.p_hi
-${HS_IMPL}/Control/Monad/Trans/Random/Lazy.dyn_hi
-${HS_IMPL}/Control/Monad/Trans/Random/Lazy.hi
-${HS_IMPL}/Control/Monad/Trans/Random/Lazy.p_hi
-${HS_IMPL}/Control/Monad/Trans/Random/Strict.dyn_hi
-${HS_IMPL}/Control/Monad/Trans/Random/Strict.hi
-${HS_IMPL}/Control/Monad/Trans/Random/Strict.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+@comment $NetBSD: PLIST,v 1.4 2021/04/23 10:41:51 pho Exp $
+lib/MonadRandom-${PKGVERSION}/${HS_VERSION}/package-description
+lib/MonadRandom-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Class.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Class.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Class.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Lazy.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Lazy.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Lazy.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Strict.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Strict.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Random/Strict.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random/Lazy.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random/Lazy.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random/Lazy.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random/Strict.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random/Strict.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Control/Monad/Trans/Random/Strict.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/Control-Monad-Random-Class.html
-${HS_DOCS}/html/Control-Monad-Random-Lazy.html
-${HS_DOCS}/html/Control-Monad-Random-Strict.html
-${HS_DOCS}/html/Control-Monad-Random.html
-${HS_DOCS}/html/Control-Monad-Trans-Random-Lazy.html
-${HS_DOCS}/html/Control-Monad-Trans-Random-Strict.html
-${HS_DOCS}/html/Control-Monad-Trans-Random.html
-${HS_DOCS}/html/MonadRandom.haddock
-${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/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Random-Class.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Random-Lazy.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Random-Strict.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Random.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Trans-Random-Lazy.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Trans-Random-Strict.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/Control-Monad-Trans-Random.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/MonadRandom.haddock
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/MonadRandom-${PKGVERSION}/html/synopsis.png
diff -r 4a35100e8c93 -r cff4b64f0dde devel/hs-MonadRandom/buildlink3.mk
--- a/devel/hs-MonadRandom/buildlink3.mk        Fri Apr 23 10:38:26 2021 +0000
+++ b/devel/hs-MonadRandom/buildlink3.mk        Fri Apr 23 10:41:51 2021 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.5 2020/01/11 08:05:40 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2021/04/23 10:41:51 pho Exp $
 
 BUILDLINK_TREE+=       hs-MonadRandom
 
 .if !defined(HS_MONADRANDOM_BUILDLINK3_MK)
 HS_MONADRANDOM_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-MonadRandom+= hs-MonadRandom>=0.5.1
-BUILDLINK_ABI_DEPENDS.hs-MonadRandom+= hs-MonadRandom>=0.5.1.1
+BUILDLINK_API_DEPENDS.hs-MonadRandom+= hs-MonadRandom>=0.5.3
+BUILDLINK_ABI_DEPENDS.hs-MonadRandom+= hs-MonadRandom>=0.5.3
 BUILDLINK_PKGSRCDIR.hs-MonadRandom?=   ../../devel/hs-MonadRandom
 
 .include "../../devel/hs-primitive/buildlink3.mk"
diff -r 4a35100e8c93 -r cff4b64f0dde devel/hs-MonadRandom/distinfo
--- a/devel/hs-MonadRandom/distinfo     Fri Apr 23 10:38:26 2021 +0000
+++ b/devel/hs-MonadRandom/distinfo     Fri Apr 23 10:41:51 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.4 2020/01/11 08:05:40 pho Exp $
+$NetBSD: distinfo,v 1.5 2021/04/23 10:41:51 pho Exp $
 
-SHA1 (MonadRandom-0.5.1.1.tar.gz) = f4292738672239e2968347cf959190b2c46a2135
-RMD160 (MonadRandom-0.5.1.1.tar.gz) = 313ca19433cfc7131220defca8e9779707350609
-SHA512 (MonadRandom-0.5.1.1.tar.gz) = 0a3c15076f162e985b37c14981d1fb89ab835cbfde207b7825ae27088d81218949336599b56c56c36a653a99566319c60d95bea9acab3248749b39597a297edb
-Size (MonadRandom-0.5.1.1.tar.gz) = 10404 bytes
-SHA1 (patch-MonadRandom.cabal) = 82622c9986cbff23256d2bf990775e641ad68678
+SHA1 (MonadRandom-0.5.3.tar.gz) = f9ad05362830aaa76d190514b4ea6b1b166d87b2
+RMD160 (MonadRandom-0.5.3.tar.gz) = e0a3c58e2ea4653d03d52164a2c4b4c2e7b43d56
+SHA512 (MonadRandom-0.5.3.tar.gz) = dde2a7ad4b6f27f8f4c94653b2a7c04cff1ef7a3dfbf6d036a6ef977f5952e9c7f905f0ad110438bc2764dcc985f04c9a7f1bd25997fd6f81ee55b654a7d6768
+Size (MonadRandom-0.5.3.tar.gz) = 11259 bytes
diff -r 4a35100e8c93 -r cff4b64f0dde devel/hs-MonadRandom/patches/patch-MonadRandom.cabal
--- a/devel/hs-MonadRandom/patches/patch-MonadRandom.cabal      Fri Apr 23 10:38:26 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-MonadRandom.cabal,v 1.1 2020/01/11 08:05:40 pho Exp $
-
-Relax the upper bound on primitive
-
---- MonadRandom.cabal.orig     2018-05-22 03:16:57.000000000 +0000
-+++ MonadRandom.cabal
-@@ -38,7 +38,7 @@ library
-     transformers        >=0.3 && <0.6,
-     transformers-compat >=0.4 && <0.7,
-     mtl                 >=2.1 && <2.3,
--    primitive           >=0.6 && <0.7,
-+    primitive           >=0.6 && <0.8,
-     random
-   ghc-options:         -Wall
-   default-language:    Haskell2010



Home | Main Index | Thread Index | Old Index