pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/hs-aeson Update to aeson-2.0.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/439d57f1174f
branches:  trunk
changeset: 373598:439d57f1174f
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 12 05:31:25 2022 +0000

description:
Update to aeson-2.0.3.0

2.0.3.0
* text-2.0 support
* bytestring-0.11.2.0 support
* Rewrite pure text literal unescaper.
* Add QuickCheck's Arbitrary, CoArbitrary and Function instances

2.0.2.0
* Add IsList (KeyMap v) instance.
* Add toMapText and fromMapText to Data.Aeson.KeyMap.
* Add ShortText instances
* Add Solo instances

2.0.1.0
* Add FromJSON KeyMap instance.
* Make ordered-keymap on by default.

2.0.0.0
* Remove forced -O2 and then unneeded fast flag. Also remove most of INLINE
  pragmas. In the effect, aeson compiles almost twice as fast.
* To get fast compilation effect cabal-install users may specify
  optimization: False.
* Make map type used by Object abstract so the underlying implementation
  can be modified, thanks to Callan McGill
* Add ordered-keymap flag allowing to change the underlying implementation
  of object KeyMap.
* Drop GHC-7 support
* Remove Data.Aeson.Encode module
* Double and Float infinities are encoded as "+inf" and "-inf". Change
  To/FromJSONKey instances to use "+inf" and "-inf" too.
* FromJSON () and FromJSON (Proxy tag) accept any JSON value.

diffstat:

 converters/hs-aeson/Makefile                  |  13 +++++++++----
 converters/hs-aeson/PLIST                     |  23 ++++++++++++++++++-----
 converters/hs-aeson/buildlink3.mk             |  12 +++++++++---
 converters/hs-aeson/distinfo                  |   9 ++++-----
 converters/hs-aeson/patches/patch-aeson.cabal |  15 ---------------
 5 files changed, 40 insertions(+), 32 deletions(-)

diffs (174 lines):

diff -r 15e2c107135c -r 439d57f1174f converters/hs-aeson/Makefile
--- a/converters/hs-aeson/Makefile      Sat Feb 12 05:29:18 2022 +0000
+++ b/converters/hs-aeson/Makefile      Sat Feb 12 05:31:25 2022 +0000
@@ -1,27 +1,32 @@
-# $NetBSD: Makefile,v 1.22 2022/01/18 02:48:01 pho Exp $
+# $NetBSD: Makefile,v 1.23 2022/02/12 05:31:25 pho Exp $
 
-DISTNAME=      aeson-1.5.6.0
-PKGREVISION=   2
+DISTNAME=      aeson-2.0.3.0
 CATEGORIES=    converters
 
 MAINTAINER=    szptvlfn%NetBSD.org@localhost
 COMMENT=       Fast JSON parsing and encoding
 LICENSE=       modified-bsd
 
-.include "../../mk/haskell.mk"
 .include "../../textproc/hs-attoparsec/buildlink3.mk"
 .include "../../devel/hs-base-compat-batteries/buildlink3.mk"
 .include "../../devel/hs-data-fix/buildlink3.mk"
 .include "../../devel/hs-dlist/buildlink3.mk"
 .include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-indexed-traversable/buildlink3.mk"
+.include "../../devel/hs-OneTuple/buildlink3.mk"
 .include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../devel/hs-QuickCheck/buildlink3.mk"
 .include "../../math/hs-scientific/buildlink3.mk"
+.include "../../devel/hs-semialign/buildlink3.mk"
 .include "../../devel/hs-strict/buildlink3.mk"
 .include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../textproc/hs-text-short/buildlink3.mk"
 .include "../../devel/hs-th-abstraction/buildlink3.mk"
 .include "../../devel/hs-these/buildlink3.mk"
 .include "../../time/hs-time-compat/buildlink3.mk"
 .include "../../devel/hs-unordered-containers/buildlink3.mk"
 .include "../../devel/hs-uuid-types/buildlink3.mk"
 .include "../../devel/hs-vector/buildlink3.mk"
+.include "../../devel/hs-witherable/buildlink3.mk"
+.include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 15e2c107135c -r 439d57f1174f converters/hs-aeson/PLIST
--- a/converters/hs-aeson/PLIST Sat Feb 12 05:29:18 2022 +0000
+++ b/converters/hs-aeson/PLIST Sat Feb 12 05:31:25 2022 +0000
@@ -1,12 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2021/04/23 08:44:05 pho Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/02/12 05:31:25 pho Exp $
 lib/aeson-${PKGVERSION}/${HS_VERSION}/package-description
 lib/aeson-${PKGVERSION}/${HS_VERSION}/package-id
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson.p_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Encode.dyn_hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Encode.hi
-lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Encode.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Encoding.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Encoding.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Encoding.p_hi
@@ -19,12 +16,27 @@
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/ByteString.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/ByteString.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/ByteString.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Functions.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Functions.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Functions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/TH.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/TH.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/TH.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Text.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Text.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Text.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Time.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Time.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Internal/Time.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Key.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Key.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Key.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/KeyMap.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/KeyMap.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/KeyMap.p_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Parser.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Parser.hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Data/Aeson/Parser.p_hi
@@ -77,11 +89,12 @@
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/LICENSE
-share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Encode.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Encoding-Internal.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Encoding.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Internal-Time.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Internal.html
+share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Key.html
+share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-KeyMap.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Parser-Internal.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-Parser.html
 share/doc/${HS_PLATFORM}/aeson-${PKGVERSION}/html/Data-Aeson-QQ-Simple.html
diff -r 15e2c107135c -r 439d57f1174f converters/hs-aeson/buildlink3.mk
--- a/converters/hs-aeson/buildlink3.mk Sat Feb 12 05:29:18 2022 +0000
+++ b/converters/hs-aeson/buildlink3.mk Sat Feb 12 05:31:25 2022 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.23 2022/01/18 02:48:01 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2022/02/12 05:31:25 pho Exp $
 
 BUILDLINK_TREE+=       hs-aeson
 
 .if !defined(HS_AESON_BUILDLINK3_MK)
 HS_AESON_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-aeson+=       hs-aeson>=1.5.6
-BUILDLINK_ABI_DEPENDS.hs-aeson+=       hs-aeson>=1.5.6.0nb2
+BUILDLINK_API_DEPENDS.hs-aeson+=       hs-aeson>=2.0.3
+BUILDLINK_ABI_DEPENDS.hs-aeson+=       hs-aeson>=2.0.3.0
 BUILDLINK_PKGSRCDIR.hs-aeson?=         ../../converters/hs-aeson
 
 .include "../../textproc/hs-attoparsec/buildlink3.mk"
@@ -14,16 +14,22 @@
 .include "../../devel/hs-data-fix/buildlink3.mk"
 .include "../../devel/hs-dlist/buildlink3.mk"
 .include "../../devel/hs-hashable/buildlink3.mk"
+.include "../../devel/hs-indexed-traversable/buildlink3.mk"
+.include "../../devel/hs-OneTuple/buildlink3.mk"
 .include "../../devel/hs-primitive/buildlink3.mk"
+.include "../../devel/hs-QuickCheck/buildlink3.mk"
 .include "../../math/hs-scientific/buildlink3.mk"
+.include "../../devel/hs-semialign/buildlink3.mk"
 .include "../../devel/hs-strict/buildlink3.mk"
 .include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../textproc/hs-text-short/buildlink3.mk"
 .include "../../devel/hs-th-abstraction/buildlink3.mk"
 .include "../../devel/hs-these/buildlink3.mk"
 .include "../../time/hs-time-compat/buildlink3.mk"
 .include "../../devel/hs-unordered-containers/buildlink3.mk"
 .include "../../devel/hs-uuid-types/buildlink3.mk"
 .include "../../devel/hs-vector/buildlink3.mk"
+.include "../../devel/hs-witherable/buildlink3.mk"
 .endif # HS_AESON_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-aeson
diff -r 15e2c107135c -r 439d57f1174f converters/hs-aeson/distinfo
--- a/converters/hs-aeson/distinfo      Sat Feb 12 05:29:18 2022 +0000
+++ b/converters/hs-aeson/distinfo      Sat Feb 12 05:31:25 2022 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:06:40 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/02/12 05:31:25 pho Exp $
 
-BLAKE2s (aeson-1.5.6.0.tar.gz) = 0904f3004c629a01a4daffcc8159e0f45c1a464af795f0334a9bda4d94b7f479
-SHA512 (aeson-1.5.6.0.tar.gz) = 31e0339945aec6d84aec230c09001fe6e7926f008d3444d12264bb323d0a050515303fdc8eeb6563733594209d930cdd2f82eb4dfe4dd4d5c573748aaa71813d
-Size (aeson-1.5.6.0.tar.gz) = 286364 bytes
-SHA1 (patch-aeson.cabal) = 86ce3bddec1b26f2cc8499d5d89a57f7e7571052
+BLAKE2s (aeson-2.0.3.0.tar.gz) = 9cb1188474d4c61c39a777063e9b8b930d5a286c2fbaec6a051ef5674b086de2
+SHA512 (aeson-2.0.3.0.tar.gz) = 546adaaf864ca40012a268d71f442479f0ad7c69e9f943391801570e227a2faa652494766f1f63b77c730e019e83ebdd7511426baa12792a28fbb470eca64552
+Size (aeson-2.0.3.0.tar.gz) = 297283 bytes
diff -r 15e2c107135c -r 439d57f1174f converters/hs-aeson/patches/patch-aeson.cabal
--- a/converters/hs-aeson/patches/patch-aeson.cabal     Sat Feb 12 05:29:18 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aeson.cabal,v 1.1 2021/04/23 08:44:05 pho Exp $
-
-Fix build with attoparsec-0.14.*
-
---- aeson.cabal.orig   2001-09-09 01:46:40.000000000 +0000
-+++ aeson.cabal
-@@ -129,7 +129,7 @@ library
- 
-   -- Other dependencies
-   build-depends:
--    attoparsec           >= 0.13.2.2 && < 0.14,
-+    attoparsec           >= 0.13.2.2 && < 0.15,
-     data-fix             >= 0.3      && < 0.4,
-     dlist                >= 0.8.0.4  && < 1.1,
-     hashable             >= 1.2.7.0  && < 1.4,



Home | Main Index | Thread Index | Old Index