Accepting request 1218537 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/1218537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-aeson?expand=0&rev=47
This commit is contained in:
Ana Guerrero 2024-10-28 14:18:02 +00:00 committed by Git OBS Bridge
commit b87d7a4467
3 changed files with 253 additions and 247 deletions

View File

@ -1,246 +1,246 @@
cabal-version: 2.2 cabal-version: 2.2
name: aeson name: aeson
version: 2.2.3.0 version: 2.2.3.0
x-revision: 1 x-revision: 2
license: BSD-3-Clause license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
category: Text, Web, JSON category: Text, Web, JSON
copyright: copyright:
(c) 2011-2016 Bryan O'Sullivan (c) 2011-2016 Bryan O'Sullivan
(c) 2011 MailRank, Inc. (c) 2011 MailRank, Inc.
author: Bryan O'Sullivan <bos@serpentine.com> author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Adam Bergmark <adam@bergmark.nl> maintainer: Adam Bergmark <adam@bergmark.nl>
stability: experimental stability: experimental
tested-with: tested-with:
GHC ==8.6.5 GHC ==8.6.5
|| ==8.8.4 || ==8.8.4
|| ==8.10.7 || ==8.10.7
|| ==9.0.2 || ==9.0.2
|| ==9.2.8 || ==9.2.8
|| ==9.4.8 || ==9.4.8
|| ==9.6.5 || ==9.6.5
|| ==9.8.2 || ==9.8.2
|| ==9.10.1 || ==9.10.1
synopsis: Fast JSON parsing and encoding synopsis: Fast JSON parsing and encoding
homepage: https://github.com/haskell/aeson homepage: https://github.com/haskell/aeson
bug-reports: https://github.com/haskell/aeson/issues bug-reports: https://github.com/haskell/aeson/issues
build-type: Simple build-type: Simple
description: description:
A JSON parsing and encoding library optimized for ease of use A JSON parsing and encoding library optimized for ease of use
and high performance. and high performance.
. .
To get started, see the documentation for the @Data.Aeson@ module To get started, see the documentation for the @Data.Aeson@ module
below. below.
. .
(A note on naming: in Greek mythology, Aeson was the father of Jason.) (A note on naming: in Greek mythology, Aeson was the father of Jason.)
extra-source-files: extra-source-files:
*.yaml *.yaml
benchmarks/json-data/*.json benchmarks/json-data/*.json
changelog.md changelog.md
README.markdown README.markdown
tests/golden/*.expected tests/golden/*.expected
tests/JSONTestSuite/results/*.tok tests/JSONTestSuite/results/*.tok
tests/JSONTestSuite/results/*.txt tests/JSONTestSuite/results/*.txt
tests/JSONTestSuite/test_parsing/*.json tests/JSONTestSuite/test_parsing/*.json
tests/JSONTestSuite/test_transform/*.json tests/JSONTestSuite/test_transform/*.json
flag ordered-keymap flag ordered-keymap
description: Use ordered @Data.Map.Strict@ for KeyMap implementation. description: Use ordered @Data.Map.Strict@ for KeyMap implementation.
default: True default: True
manual: True manual: True
library library
default-language: Haskell2010 default-language: Haskell2010
hs-source-dirs: src hs-source-dirs: src
exposed-modules: exposed-modules:
Data.Aeson Data.Aeson
Data.Aeson.Decoding Data.Aeson.Decoding
Data.Aeson.Decoding.ByteString Data.Aeson.Decoding.ByteString
Data.Aeson.Decoding.ByteString.Lazy Data.Aeson.Decoding.ByteString.Lazy
Data.Aeson.Decoding.Text Data.Aeson.Decoding.Text
Data.Aeson.Decoding.Tokens Data.Aeson.Decoding.Tokens
Data.Aeson.Encoding Data.Aeson.Encoding
Data.Aeson.Encoding.Internal Data.Aeson.Encoding.Internal
Data.Aeson.Key Data.Aeson.Key
Data.Aeson.KeyMap Data.Aeson.KeyMap
Data.Aeson.QQ.Simple Data.Aeson.QQ.Simple
Data.Aeson.RFC8785 Data.Aeson.RFC8785
Data.Aeson.Text Data.Aeson.Text
Data.Aeson.TH Data.Aeson.TH
Data.Aeson.Types Data.Aeson.Types
other-modules: other-modules:
Data.Aeson.Decoding.Conversion Data.Aeson.Decoding.Conversion
Data.Aeson.Decoding.Internal Data.Aeson.Decoding.Internal
Data.Aeson.Encoding.Builder Data.Aeson.Encoding.Builder
Data.Aeson.Internal.ByteString Data.Aeson.Internal.ByteString
Data.Aeson.Internal.Functions Data.Aeson.Internal.Functions
Data.Aeson.Internal.Prelude Data.Aeson.Internal.Prelude
Data.Aeson.Internal.Scientific Data.Aeson.Internal.Scientific
Data.Aeson.Internal.Text Data.Aeson.Internal.Text
Data.Aeson.Internal.TH Data.Aeson.Internal.TH
Data.Aeson.Internal.Unescape Data.Aeson.Internal.Unescape
Data.Aeson.Internal.UnescapeFromText Data.Aeson.Internal.UnescapeFromText
Data.Aeson.Parser.Time Data.Aeson.Parser.Time
Data.Aeson.Types.Class Data.Aeson.Types.Class
Data.Aeson.Types.FromJSON Data.Aeson.Types.FromJSON
Data.Aeson.Types.Generic Data.Aeson.Types.Generic
Data.Aeson.Types.Internal Data.Aeson.Types.Internal
Data.Aeson.Types.ToJSON Data.Aeson.Types.ToJSON
-- GHC bundled libs -- GHC bundled libs
build-depends: build-depends:
, base >=4.12.0.0 && <5 , base >=4.12.0.0 && <5
, bytestring >=0.10.8.2 && <0.13 , bytestring >=0.10.8.2 && <0.13
, containers >=0.6.0.1 && <0.8 , containers >=0.6.0.1 && <0.8
, deepseq >=1.4.4.0 && <1.6 , deepseq >=1.4.4.0 && <1.6
, exceptions >=0.10.4 && <0.11 , exceptions >=0.10.4 && <0.11
, ghc-prim >=0.5.0.0 && <0.12 , ghc-prim >=0.5.0.0 && <0.12
, template-haskell >=2.14.0.0 && <2.23 , template-haskell >=2.14.0.0 && <2.23
, text >=1.2.3.0 && <1.3 || >=2.0 && <2.2 , text >=1.2.3.0 && <1.3 || >=2.0 && <2.2
, time >=1.8.0.2 && <1.13 , time >=1.8.0.2 && <1.15
-- Compat -- Compat
build-depends: build-depends:
, generically >=0.1 && <0.2 , generically >=0.1 && <0.2
, time-compat >=1.9.6 && <1.10 , time-compat >=1.9.6 && <1.10
if !impl(ghc >=9.0) if !impl(ghc >=9.0)
build-depends: integer-gmp build-depends: integer-gmp
-- Other dependencies -- Other dependencies
build-depends: build-depends:
, character-ps ^>=0.1 , character-ps ^>=0.1
, data-fix ^>=0.3.2 , data-fix ^>=0.3.2
, dlist ^>=1.0 , dlist ^>=1.0
, hashable ^>=1.4.6.0 || ^>=1.5.0.0 , hashable ^>=1.4.6.0 || ^>=1.5.0.0
, indexed-traversable ^>=0.1.2 , indexed-traversable ^>=0.1.2
, integer-conversion ^>=0.1 , integer-conversion ^>=0.1
, integer-logarithms ^>=1.0.3.1 , integer-logarithms ^>=1.0.3.1
, network-uri ^>=2.6.4.1 , network-uri ^>=2.6.4.1
, OneTuple ^>=0.4.1.1 , OneTuple ^>=0.4.1.1
, primitive ^>=0.8.0.0 || ^>=0.9.0.0 , primitive ^>=0.8.0.0 || ^>=0.9.0.0
, QuickCheck ^>=2.14.3 || ^>=2.15 , QuickCheck ^>=2.14.3 || ^>=2.15
, scientific ^>=0.3.7.0 , scientific ^>=0.3.7.0
, semialign ^>=1.3 , semialign ^>=1.3
, strict ^>=0.5 , strict ^>=0.5
, tagged ^>=0.8.7 , tagged ^>=0.8.7
, text-iso8601 ^>=0.1.1 , text-iso8601 ^>=0.1.1
, text-short ^>=0.1.5 , text-short ^>=0.1.5
, th-abstraction ^>=0.5.0.0 || ^>=0.6.0.0 || ^>=0.7.0.0 , th-abstraction ^>=0.5.0.0 || ^>=0.6.0.0 || ^>=0.7.0.0
, these ^>=1.2 , these ^>=1.2
, unordered-containers ^>=0.2.10.0 , unordered-containers ^>=0.2.10.0
, uuid-types ^>=1.0.5 , uuid-types ^>=1.0.5
, vector ^>=0.13.0.0 , vector ^>=0.13.0.0
, witherable ^>=0.4.2 || ^>=0.5 , witherable ^>=0.4.2 || ^>=0.5
ghc-options: -Wall ghc-options: -Wall
-- String unescaping -- String unescaping
if flag(ordered-keymap) if flag(ordered-keymap)
cpp-options: -DUSE_ORDEREDMAP=1 cpp-options: -DUSE_ORDEREDMAP=1
test-suite aeson-tests test-suite aeson-tests
default-language: Haskell2010 default-language: Haskell2010
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: tests hs-source-dirs: tests
main-is: Tests.hs main-is: Tests.hs
ghc-options: -Wall -threaded -rtsopts ghc-options: -Wall -threaded -rtsopts
other-modules: other-modules:
CastFloat CastFloat
DataFamilies.Encoders DataFamilies.Encoders
DataFamilies.Instances DataFamilies.Instances
DataFamilies.Properties DataFamilies.Properties
DataFamilies.Types DataFamilies.Types
DoubleToScientific DoubleToScientific
Encoders Encoders
ErrorMessages ErrorMessages
Functions Functions
Instances Instances
JSONTestSuite JSONTestSuite
Options Options
Properties Properties
PropertyGeneric PropertyGeneric
PropertyKeys PropertyKeys
PropertyQC PropertyQC
PropertyRoundTrip PropertyRoundTrip
PropertyRTFunctors PropertyRTFunctors
PropertyTH PropertyTH
PropUtils PropUtils
Regression.Issue351 Regression.Issue351
Regression.Issue571 Regression.Issue571
Regression.Issue687 Regression.Issue687
Regression.Issue967 Regression.Issue967
RFC8785 RFC8785
SerializationFormatSpec SerializationFormatSpec
Types Types
UnitTests UnitTests
UnitTests.FromJSONKey UnitTests.FromJSONKey
UnitTests.Hashable UnitTests.Hashable
UnitTests.KeyMapInsertWith UnitTests.KeyMapInsertWith
UnitTests.MonadFix UnitTests.MonadFix
UnitTests.NoThunks UnitTests.NoThunks
UnitTests.NullaryConstructors UnitTests.NullaryConstructors
UnitTests.OmitNothingFieldsNote UnitTests.OmitNothingFieldsNote
UnitTests.OptionalFields UnitTests.OptionalFields
UnitTests.OptionalFields.Common UnitTests.OptionalFields.Common
UnitTests.OptionalFields.Generics UnitTests.OptionalFields.Generics
UnitTests.OptionalFields.Manual UnitTests.OptionalFields.Manual
UnitTests.OptionalFields.TH UnitTests.OptionalFields.TH
UnitTests.UTCTime UnitTests.UTCTime
build-depends: build-depends:
, aeson , aeson
, base , base
, base-compat , base-compat
, base-orphans >=0.5.3 && <0.10 , base-orphans >=0.5.3 && <0.10
, base16-bytestring , base16-bytestring
, bytestring , bytestring
, containers , containers
, data-fix , data-fix
, deepseq , deepseq
, Diff >=0.4 && <0.6 , Diff >=0.4 && <0.6
, directory , directory
, dlist , dlist
, filepath , filepath
, generic-deriving >=1.10 && <1.15 , generic-deriving >=1.10 && <1.15
, generically , generically
, ghc-prim >=0.2 , ghc-prim >=0.2
, hashable , hashable
, indexed-traversable , indexed-traversable
, integer-logarithms >=1 && <1.1 , integer-logarithms >=1 && <1.1
, network-uri , network-uri
, OneTuple , OneTuple
, primitive , primitive
, QuickCheck >=2.14.2 && <2.16 , QuickCheck >=2.14.2 && <2.16
, quickcheck-instances >=0.3.29 && <0.4 , quickcheck-instances >=0.3.29 && <0.4
, scientific , scientific
, strict , strict
, tagged , tagged
, tasty , tasty
, tasty-golden , tasty-golden
, tasty-hunit , tasty-hunit
, tasty-quickcheck , tasty-quickcheck
, template-haskell , template-haskell
, text , text
, text-short , text-short
, these , these
, time , time
, time-compat , time-compat
, unordered-containers , unordered-containers
, uuid-types , uuid-types
, vector , vector
if !impl(ghc >=9.0) if !impl(ghc >=9.0)
build-depends: integer-gmp build-depends: integer-gmp
if impl(ghc >=9.2 && <9.7) if impl(ghc >=9.2 && <9.7)
build-depends: nothunks >=0.1.4 && <0.3 build-depends: nothunks >=0.1.4 && <0.3
source-repository head source-repository head
type: git type: git
location: git://github.com/haskell/aeson.git location: git://github.com/haskell/aeson.git

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 1 23:07:24 UTC 2024 - Peter Simons <psimons@suse.com>
- Update aeson to version 2.2.3.0 revision 2.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 2 09:23:27 UTC 2024 - Peter Simons <psimons@suse.com> Fri Aug 2 09:23:27 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@ -26,7 +26,7 @@ Summary: Fast JSON parsing and encoding
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-OneTuple-devel BuildRequires: ghc-OneTuple-devel
BuildRequires: ghc-OneTuple-prof BuildRequires: ghc-OneTuple-prof