pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/hs-scientific Update to scientific-0.3.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/435423c689ed
branches:  trunk
changeset: 373486:435423c689ed
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 13:37:21 2022 +0000

description:
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).

diffstat:

 math/hs-scientific/Makefile                       |   5 +--
 math/hs-scientific/buildlink3.mk                  |   6 ++--
 math/hs-scientific/distinfo                       |   9 ++++---
 math/hs-scientific/patches/patch-scientific.cabal |  24 +++++++++++++++++++++++
 4 files changed, 34 insertions(+), 10 deletions(-)

diffs (74 lines):

diff -r fe7525a7f4aa -r 435423c689ed math/hs-scientific/Makefile
--- a/math/hs-scientific/Makefile       Fri Feb 11 13:36:25 2022 +0000
+++ b/math/hs-scientific/Makefile       Fri Feb 11 13:37:21 2022 +0000
@@ -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@localhost
diff -r fe7525a7f4aa -r 435423c689ed math/hs-scientific/buildlink3.mk
--- a/math/hs-scientific/buildlink3.mk  Fri Feb 11 13:36:25 2022 +0000
+++ b/math/hs-scientific/buildlink3.mk  Fri Feb 11 13:37:21 2022 +0000
@@ -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 -r fe7525a7f4aa -r 435423c689ed math/hs-scientific/distinfo
--- a/math/hs-scientific/distinfo       Fri Feb 11 13:36:25 2022 +0000
+++ b/math/hs-scientific/distinfo       Fri Feb 11 13:37:21 2022 +0000
@@ -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 -r fe7525a7f4aa -r 435423c689ed math/hs-scientific/patches/patch-scientific.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/hs-scientific/patches/patch-scientific.cabal Fri Feb 11 13:37:21 2022 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index