diff options
author | pho <pho@pkgsrc.org> | 2022-02-11 13:37:21 +0000 |
---|---|---|
committer | pho <pho@pkgsrc.org> | 2022-02-11 13:37:21 +0000 |
commit | 4135cdef4b001219210b635417bd6eeb737a9996 (patch) | |
tree | 524524bbd030b61dc98d724fe598a053eae759e3 | |
parent | 45cc65bfeafd2338efb45a9b9cad43c3b3981b35 (diff) | |
download | pkgsrc-4135cdef4b001219210b635417bd6eeb737a9996.tar.gz |
Update to scientific-0.3.7.0
0.3.7.0
* Make division (/) on Scientifics slightly more efficient.
* Fix the Show instance to surround negative numbers with parentheses when
necessary.
* Add (Template Haskell) Lift Scientific instance
* Mark modules as Safe or Trustworthy (Safe Haskell).
-rw-r--r-- | math/hs-scientific/Makefile | 5 | ||||
-rw-r--r-- | math/hs-scientific/buildlink3.mk | 6 | ||||
-rw-r--r-- | math/hs-scientific/distinfo | 9 | ||||
-rw-r--r-- | math/hs-scientific/patches/patch-scientific.cabal | 24 |
4 files changed, 34 insertions, 10 deletions
diff --git a/math/hs-scientific/Makefile b/math/hs-scientific/Makefile index 25f9f1bd6ba..2efc153a0ae 100644 --- a/math/hs-scientific/Makefile +++ b/math/hs-scientific/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2022/01/18 02:48:18 pho Exp $ +# $NetBSD: Makefile,v 1.18 2022/02/11 13:37:21 pho Exp $ -DISTNAME= scientific-0.3.6.2 -PKGREVISION= 3 +DISTNAME= scientific-0.3.7.0 CATEGORIES= math MAINTAINER= szptvlfn@NetBSD.org diff --git a/math/hs-scientific/buildlink3.mk b/math/hs-scientific/buildlink3.mk index a7171b12a68..a4c15ffc3e2 100644 --- a/math/hs-scientific/buildlink3.mk +++ b/math/hs-scientific/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.17 2022/01/18 02:48:18 pho Exp $ +# $NetBSD: buildlink3.mk,v 1.18 2022/02/11 13:37:21 pho Exp $ BUILDLINK_TREE+= hs-scientific .if !defined(HS_SCIENTIFIC_BUILDLINK3_MK) HS_SCIENTIFIC_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.hs-scientific+= hs-scientific>=0.3.6 -BUILDLINK_ABI_DEPENDS.hs-scientific+= hs-scientific>=0.3.6.2nb3 +BUILDLINK_API_DEPENDS.hs-scientific+= hs-scientific>=0.3.7 +BUILDLINK_ABI_DEPENDS.hs-scientific+= hs-scientific>=0.3.7.0 BUILDLINK_PKGSRCDIR.hs-scientific?= ../../math/hs-scientific .include "../../devel/hs-hashable/buildlink3.mk" diff --git a/math/hs-scientific/distinfo b/math/hs-scientific/distinfo index 7996d6d500a..8fc4ea6c981 100644 --- a/math/hs-scientific/distinfo +++ b/math/hs-scientific/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2021/10/26 10:55:44 nia Exp $ +$NetBSD: distinfo,v 1.10 2022/02/11 13:37:21 pho Exp $ -BLAKE2s (scientific-0.3.6.2.tar.gz) = d40141ef195d8c4fadb2ad136f602c1a1cd1600fe8e14ae9aa84956e8dd33a42 -SHA512 (scientific-0.3.6.2.tar.gz) = 47a74524c8fb25d381adf868d823a6b6772f3f69b0b3cf9f9de015a03bc941857ef3fca1b4f8cbf23e998164e71a914e167221e753c6f32dc8644047d1ef57ee -Size (scientific-0.3.6.2.tar.gz) = 23510 bytes +BLAKE2s (scientific-0.3.7.0.tar.gz) = ab3bdb603d7aa58c5920f9ead0d4377958b08b0bba2fcfb30fa7d958052c7755 +SHA512 (scientific-0.3.7.0.tar.gz) = dbd13060a6d1d101138715b4106382a78d115cff247859cb6f83aca3cdb6f6caf8a2c52d7ae99be64845c5e4a7959940bbf31df6265b15079c236f193b087865 +Size (scientific-0.3.7.0.tar.gz) = 24723 bytes +SHA1 (patch-scientific.cabal) = 9bcab42aed57b909438c98a7eb9fc72132178309 diff --git a/math/hs-scientific/patches/patch-scientific.cabal b/math/hs-scientific/patches/patch-scientific.cabal new file mode 100644 index 00000000000..f77742ac2ec --- /dev/null +++ b/math/hs-scientific/patches/patch-scientific.cabal @@ -0,0 +1,24 @@ +$NetBSD: patch-scientific.cabal,v 1.1 2022/02/11 13:37:21 pho Exp $ + +Fix build with GHC 9.2 + +--- scientific.cabal.orig 2001-09-09 01:46:40.000000000 +0000 ++++ scientific.cabal +@@ -86,14 +86,14 @@ library + + ghc-options: -Wall + build-depends: +- base >=4.5 && <4.16 ++ base >=4.5 && <5 + , binary >=0.5.1 && <0.9 + , containers >=0.4.2.1 && <0.7 + , deepseq >=1.3.0.0 && <1.5 +- , hashable >=1.2.7.0 && <1.4 ++ , hashable >=1.2.7.0 && <1.5 + , integer-logarithms >=1.0.3.1 && <1.1 + , primitive >=0.7.1.0 && <0.8 +- , template-haskell >=2.8 && <2.18 ++ , template-haskell >=2.8 && <2.19 + , text >=1.2.3.0 && <1.3 + + if flag(bytestring-builder) |