pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/hs-vector Update to vector-0.12.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/512079a68139
branches:  trunk
changeset: 373491:512079a68139
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 13:40:50 2022 +0000

description:
Update to vector-0.12.3.1

Changes in version 0.12.3.1
* Bugfix for ghcjs and Double memset for Storable vector: #410
* Avoid haddock bug: #383
* Improve haddock and doctests
* Disable problematic tests with -boundschecks #407

Changes in version 0.12.3.0
* Fix performance regression due to introduction of keepAlive# primop in
  ghc-9.0: #372
* Add monadic functions for mutable vectors: #338
  * Added folds for monadic functions: mapM_, imapM_, forM_, iforM_, foldl,
    foldl', foldM, foldM', ifoldl, ifoldl', ifoldM, ifoldM'
  * Added modifyM and unsafeModifyM for mutable vectors
  * Added generate and generateM for mutable vectors

Changes in version 0.12.2.0
* Add MINIMAL pragma to Vector & MVector type classes: #11
* Export unstreamM fromfrom Data.Vector.Generic: #70
* New functions: unfoldrExactN and unfoldrExactNM: #140
* Added iforM and iforM_: #262
* Added MonadFix instance for boxed vectors: #178
* Added uncons and unsnoc: #212
* Added foldMap and foldMap': #263
* Added isSameVector for storable vectors
* Added toArray, fromArray, toMutableArray and fromMutableArray
* Added iscanl, iscanl', iscanr, iscanr' to Primitive, Storable and Unboxed
* Added izipWithM, izipWithM_, imapM and imapM_ to Primitive and Storable
* Added ifoldM, ifoldM', ifoldM_ and ifoldM'_ to Primitive and Storable
* Added eqBy and cmpBy
* Added findIndexR to Generic: #172
* Added catMaybes: #329
* Added mapMaybeM and imapMaybeM: #183

Changes in version 0.12.1.2
* Fix for lost function Data.Vector.Generic.mkType: #287

Changes in version 0.12.1.1 (deprecated)
* add semigrioups dep to test suite so CI actually runs again on GHC < 8

Changes in version 0.12.1.0 (deprecated)
* Fix integer overflows in specializations of Bundle/Stream enumFromTo on
  Integral types
* Fix possibility of OutOfMemory with take and very large arguments.
* Fix slice function causing segfault and not checking the bounds properly.
* updated specialization rule for EnumFromTo on Float and Double to make
  sure it always matches the version in GHC Base (which changed as of 8.6)
  Thanks to Aleksey Khudyakov @Shimuuar for this fix.
* fast rejection short circuiting in eqBy operations
* the O2 test suite now has reasonable memory usage on every GHC version,
  special thanks to Alexey Kuleshevich (@lehins).
* The Mutable type family is now injective on GHC 8.0 or later.
* Using empty Storable vectors no longer results in division-by-zero
  errors.
* The Data instances for Vector types now have well defined implementations
  for toConstr, gunfold, and dataTypeOf.
* New function: partitionWith.
* Add Unbox instances for Identity, Const, Down, Dual, Sum, Product, Min,
  Max, First, Last, WrappedMonoid, Arg, Any, All, Alt, and Compose.
* Add NFData1 instances for applicable Vector types.

diffstat:

 devel/hs-vector/Makefile                   |   5 ++---
 devel/hs-vector/buildlink3.mk              |   6 +++---
 devel/hs-vector/distinfo                   |   9 ++++-----
 devel/hs-vector/patches/patch-vector.cabal |  18 ------------------
 4 files changed, 9 insertions(+), 29 deletions(-)

diffs (68 lines):

diff -r b1d9725d002a -r 512079a68139 devel/hs-vector/Makefile
--- a/devel/hs-vector/Makefile  Fri Feb 11 13:40:25 2022 +0000
+++ b/devel/hs-vector/Makefile  Fri Feb 11 13:40:50 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2022/01/18 02:48:15 pho Exp $
+# $NetBSD: Makefile,v 1.11 2022/02/11 13:40:50 pho Exp $
 
-DISTNAME=      vector-0.12.0.3
-PKGREVISION=   2
+DISTNAME=      vector-0.12.3.1
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
diff -r b1d9725d002a -r 512079a68139 devel/hs-vector/buildlink3.mk
--- a/devel/hs-vector/buildlink3.mk     Fri Feb 11 13:40:25 2022 +0000
+++ b/devel/hs-vector/buildlink3.mk     Fri Feb 11 13:40:50 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.12 2022/01/18 02:48:15 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2022/02/11 13:40:50 pho Exp $
 
 BUILDLINK_TREE+=       hs-vector
 
 .if !defined(HS_VECTOR_BUILDLINK3_MK)
 HS_VECTOR_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-vector+=      hs-vector>=0.12.0
-BUILDLINK_ABI_DEPENDS.hs-vector+=      hs-vector>=0.12.0.3nb2
+BUILDLINK_API_DEPENDS.hs-vector+=      hs-vector>=0.12.3
+BUILDLINK_ABI_DEPENDS.hs-vector+=      hs-vector>=0.12.3.1
 BUILDLINK_PKGSRCDIR.hs-vector?=                ../../devel/hs-vector
 
 .include "../../devel/hs-primitive/buildlink3.mk"
diff -r b1d9725d002a -r 512079a68139 devel/hs-vector/distinfo
--- a/devel/hs-vector/distinfo  Fri Feb 11 13:40:25 2022 +0000
+++ b/devel/hs-vector/distinfo  Fri Feb 11 13:40:50 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:15:04 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/02/11 13:40:50 pho Exp $
 
-BLAKE2s (vector-0.12.0.3.tar.gz) = 216f5aa423c0ce69fe5c397016dc0cf20e288a040049e746fdb692d61b6a9a7d
-SHA512 (vector-0.12.0.3.tar.gz) = 176646ae612866064303cd200e9d940fec1645bb88176a89adb00df3b9a6df96200e3c9cf85a57af3a1481d6633b353da8e03d7a6c467c40e926275fe8d36853
-Size (vector-0.12.0.3.tar.gz) = 124899 bytes
-SHA1 (patch-vector.cabal) = aae23c57dcb3df8fe3e3d8c20f15887fa6087065
+BLAKE2s (vector-0.12.3.1.tar.gz) = 99fa94ba789b61a6fab680b388f7924c8c43a5721411cf44eb2000777e1b4e83
+SHA512 (vector-0.12.3.1.tar.gz) = bf117d53c7844c010dc1cee8b778851bd714155fd34e671ae2eb7bd324427de972389eb9f3f315832f20e7bbbecc93ec0f6296ab10e4935957d2a4e14c6cfd98
+Size (vector-0.12.3.1.tar.gz) = 151420 bytes
diff -r b1d9725d002a -r 512079a68139 devel/hs-vector/patches/patch-vector.cabal
--- a/devel/hs-vector/patches/patch-vector.cabal        Fri Feb 11 13:40:25 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-vector.cabal,v 1.3 2021/04/23 07:00:57 pho Exp $
-
-Fix build with GHC 9
-
---- vector.cabal.orig  2001-09-09 01:46:40.000000000 +0000
-+++ vector.cabal
-@@ -144,9 +144,9 @@ Library
-   Install-Includes:
-         vector.h
- 
--  Build-Depends: base >= 4.5 && < 4.13
-+  Build-Depends: base >= 4.5 && < 5
-                , primitive >= 0.5.0.1 && < 0.8
--               , ghc-prim >= 0.2 && < 0.6
-+               , ghc-prim >= 0.2 && < 0.8
-                , deepseq >= 1.1 && < 1.5
-   if !impl(ghc > 8.0)
-     Build-Depends: fail == 4.9.*



Home | Main Index | Thread Index | Old Index