pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-hashable Update to hashable-1.4.0.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/447c622034b7
branches: trunk
changeset: 373431:447c622034b7
user: pho <pho%pkgsrc.org@localhost>
date: Fri Feb 11 13:00:37 2022 +0000
description:
Update to hashable-1.4.0.2
Version 1.4.0.2
* Restore older GHC support
* Support GHC-9.0.2
Version 1.4.0.1
* text-2.0 compatibility
Version 1.4.0.0
* Eq is now a superclass of Hashable. Also Eq1 is a superclass of Hashable1
and Eq2 is a superclass of Hashable2 when exists.
* Remove Hashable1 Fixed instance
* Remove Hashable1 Semi.Min/Max/... instances as they don't have Eq1
instance.
Version 1.3.5.0
* Add Solo instance (base-4.15+, GHC-9+)
Version 1.3.4.1
* Fix compilation on 32 bit platforms
* Fix Tree instance
Version 1.3.4.0
* Text and ByteString hashes include length. This fixes a variant of
https://github.com/haskell-unordered-containers/hashable/issues/74 for
texts and
bytestrings. https://github.com/haskell-unordered-containers/hashable/pull/223
* Use correct prime in combine. This should improve the hash quality of
compound structures on 64bit
systems. https://github.com/haskell-unordered-containers/hashable/pull/224
* Add instance for types in containers package
https://github.com/haskell-unordered-containers/hashable/pull/226
* Change Int, Int64 and Word64 hashWithSalt
slightly. https://github.com/haskell-unordered-containers/hashable/pull/227
Version 1.3.3.0
* Text hashing uses 64-bit FNV prime
* Don't truncate Text hashvalues on 64bit Windows:
https://github.com/haskell-unordered-containers/hashable/pull/211
Version 1.3.2.0
* Add Hashable (Fixed a) for base <4.7 versions.
* Add documentation:
* hashable is not a stable hash
* hashWithSalt may return negative values
* there is time-compat with Hashable instances for time types.
* Add random-initial-seed flag causing the initial seed to be randomized on
each start of an executable using hashable.
diffstat:
devel/hs-hashable/Makefile | 5 ++---
devel/hs-hashable/PLIST | 8 +++++++-
devel/hs-hashable/buildlink3.mk | 6 +++---
devel/hs-hashable/distinfo | 9 ++++-----
devel/hs-hashable/patches/patch-hashable.cabal | 15 ---------------
5 files changed, 16 insertions(+), 27 deletions(-)
diffs (90 lines):
diff -r 577cdf3027fd -r 447c622034b7 devel/hs-hashable/Makefile
--- a/devel/hs-hashable/Makefile Fri Feb 11 12:58:37 2022 +0000
+++ b/devel/hs-hashable/Makefile Fri Feb 11 13:00:37 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2022/01/18 02:48:08 pho Exp $
+# $NetBSD: Makefile,v 1.18 2022/02/11 13:00:37 pho Exp $
-DISTNAME= hashable-1.3.1.0
-PKGREVISION= 3
+DISTNAME= hashable-1.4.0.2
CATEGORIES= devel
MAINTAINER= pho%cielonegro.org@localhost
diff -r 577cdf3027fd -r 447c622034b7 devel/hs-hashable/PLIST
--- a/devel/hs-hashable/PLIST Fri Feb 11 12:58:37 2022 +0000
+++ b/devel/hs-hashable/PLIST Fri Feb 11 13:00:37 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2021/04/23 04:50:04 pho Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/02/11 13:00:37 pho Exp $
lib/hashable-${PKGVERSION}/${HS_VERSION}/package-description
lib/hashable-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable.dyn_hi
@@ -13,9 +13,15 @@
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Generic/Instances.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Generic/Instances.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Generic/Instances.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Imports.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Imports.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Imports.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Lifted.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Lifted.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/Lifted.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/LowLevel.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/LowLevel.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Hashable/LowLevel.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
diff -r 577cdf3027fd -r 447c622034b7 devel/hs-hashable/buildlink3.mk
--- a/devel/hs-hashable/buildlink3.mk Fri Feb 11 12:58:37 2022 +0000
+++ b/devel/hs-hashable/buildlink3.mk Fri Feb 11 13:00:37 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.15 2022/01/18 02:48:08 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2022/02/11 13:00:37 pho Exp $
BUILDLINK_TREE+= hs-hashable
.if !defined(HS_HASHABLE_BUILDLINK3_MK)
HS_HASHABLE_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-hashable+= hs-hashable>=1.3.1
-BUILDLINK_ABI_DEPENDS.hs-hashable+= hs-hashable>=1.3.1.0nb3
+BUILDLINK_API_DEPENDS.hs-hashable+= hs-hashable>=1.4.0
+BUILDLINK_ABI_DEPENDS.hs-hashable+= hs-hashable>=1.4.0.2
BUILDLINK_PKGSRCDIR.hs-hashable?= ../../devel/hs-hashable
.endif # HS_HASHABLE_BUILDLINK3_MK
diff -r 577cdf3027fd -r 447c622034b7 devel/hs-hashable/distinfo
--- a/devel/hs-hashable/distinfo Fri Feb 11 12:58:37 2022 +0000
+++ b/devel/hs-hashable/distinfo Fri Feb 11 13:00:37 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/01/17 05:06:55 pho Exp $
+$NetBSD: distinfo,v 1.11 2022/02/11 13:00:37 pho Exp $
-BLAKE2s (hashable-1.3.1.0.tar.gz) = 8e33caaeea3ce9d6da6f466e67ff14e68a67e39cd08bb957f742fd1cc64b18a7
-SHA512 (hashable-1.3.1.0.tar.gz) = dc74815d9c4cbf6b5562d04843f5234d7378265f2796c8f9980ecc639a03e01c8d4a0a27ed6bb31207df537d7774d910b9fec216a8832377e09e827aabf58751
-Size (hashable-1.3.1.0.tar.gz) = 21424 bytes
-SHA1 (patch-hashable.cabal) = deaeb9523af9aab400289e1d054908862a07fc18
+BLAKE2s (hashable-1.4.0.2.tar.gz) = fdebfb9fb7af543a961c0ae986f581b5f03f2958eb7d3fdb31415a5d716add5b
+SHA512 (hashable-1.4.0.2.tar.gz) = a8cc2b7cafa8f18d9a74490d2dff7edf12901b7c40ca0c1881af579695135c1ca7629347d34d0c7dc662078d7669d5d6234bd889c1f77f344297942243fe7dda
+Size (hashable-1.4.0.2.tar.gz) = 25528 bytes
diff -r 577cdf3027fd -r 447c622034b7 devel/hs-hashable/patches/patch-hashable.cabal
--- a/devel/hs-hashable/patches/patch-hashable.cabal Fri Feb 11 12:58:37 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-hashable.cabal,v 1.1 2022/01/17 05:06:55 pho Exp $
-
-Compatibility with GHC 9.0.2
-
---- hashable.cabal.orig 2022-01-17 05:04:19.964223017 +0000
-+++ hashable.cabal
-@@ -44,7 +44,7 @@ Library
- , ghc-prim
-
- if impl(ghc >= 9)
-- Build-depends: ghc-bignum >= 1.0 && <1.1
-+ Build-depends: ghc-bignum >= 1.0 && <1.2
- else
- if flag(integer-gmp)
- Build-depends: integer-gmp >= 0.4 && < 1.1
Home |
Main Index |
Thread Index |
Old Index