osc copypac from project:devel:languages:haskell:lts:9 package:ghc-aeson revision:2, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-aeson?expand=0&rev=26
This commit is contained in:
Peter Simons 2017-07-29 08:10:53 +00:00 committed by Git OBS Bridge
parent a1e4aac4e3
commit 5f5e0a8077
5 changed files with 265 additions and 231 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0a66fba0a9996063d0e241b0b868c6271b6aeb457821a78bfcaac5d84c89066
size 241837

3
aeson-1.1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37488cfbf6ecf65c4d63164d760c1a0f3bcc3371a35a50e5c4a3c0fd2ffac5ff
size 262853

View File

@ -1,227 +1,252 @@
name: aeson name: aeson
version: 1.0.2.1 version: 1.1.2.0
x-revision: 1 x-revision: 1
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
category: Text, Web, JSON category: Text, Web, JSON
copyright: (c) 2011-2016 Bryan O'Sullivan copyright: (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: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1 tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
synopsis: Fast JSON parsing and encoding synopsis: Fast JSON parsing and encoding
cabal-version: >= 1.10 cabal-version: >= 1.10
homepage: https://github.com/bos/aeson homepage: https://github.com/bos/aeson
bug-reports: https://github.com/bos/aeson/issues bug-reports: https://github.com/bos/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.
. .
Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7), Parsing performance on a late 2013 MacBook Pro (2.6GHz Core i7),
running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's running 64-bit GHC 7.10.1, for mostly-English tweets from Twitter's
JSON search API: JSON search API:
. .
* 6.4 KB payloads, English: 7570 msg\/sec (47.6 MB\/sec) * 6.4 KB payloads, English: 7570 msg\/sec (47.6 MB\/sec)
. .
* 14.6 KB payloads, Japanese: 3261 msg\/sec (46.6 MB\/sec) * 14.6 KB payloads, Japanese: 3261 msg\/sec (46.6 MB\/sec)
. .
Encoding performance on the same machine and data: Encoding performance on the same machine and data:
. .
* 6.4 KB payloads, English: 22738 msg\/sec (142.9 MB\/sec) * 6.4 KB payloads, English: 22738 msg\/sec (142.9 MB\/sec)
. .
* 14.6 KB payloads, Japanese: 15911 msg\/sec (227.4 MB\/sec) * 14.6 KB payloads, Japanese: 15911 msg\/sec (227.4 MB\/sec)
. .
(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:
README.markdown *.yaml
benchmarks/*.cabal README.markdown
benchmarks/*.hs benchmarks/*.cabal
benchmarks/*.py benchmarks/*.hs
benchmarks/Compare/*.hs benchmarks/*.py
benchmarks/Makefile benchmarks/Compare/*.hs
benchmarks/Typed/*.hs benchmarks/Makefile
benchmarks/json-data/*.json benchmarks/Typed/*.hs
include/overlapping-compat.h benchmarks/json-data/*.json
include/incoherent-compat.h cbits/*.c
changelog.md changelog.md
examples/*.cabal examples/*.cabal
examples/*.hs examples/*.hs
examples/Twitter/*.hs examples/Twitter/*.hs
include/*.h ffi/Data/Aeson/Parser/*.hs
cbits/*.c include/*.h
tests/JSONTestSuite/test_parsing/*.json
flag developer tests/JSONTestSuite/test_transform/*.json
description: operate in developer mode pure/Data/Aeson/Parser/*.hs
default: False
manual: True flag developer
description: operate in developer mode
flag fast default: False
description: compile without optimizations manual: True
default: False
manual: True flag fast
description: compile without optimizations
flag bytestring-builder default: False
description: Depend on the bytestring-builder package for backwards compatibility. manual: True
default: False
manual: False flag bytestring-builder
description: Depend on the bytestring-builder package for backwards compatibility.
library default: False
default-language: Haskell2010 manual: False
exposed-modules: flag cffi
Data.Aeson description: Controls whether to include c-ffi bits or pure haskell
Data.Aeson.Encoding default: True
Data.Aeson.Parser manual: True
Data.Aeson.Text
Data.Aeson.Types library
Data.Aeson.TH default-language: Haskell2010
hs-source-dirs: .
Data.Aeson.Encoding.Internal
Data.Aeson.Internal exposed-modules:
Data.Aeson.Internal.Time Data.Aeson
Data.Aeson.Encoding
-- Deprecated modules Data.Aeson.Parser
exposed-modules: Data.Aeson.Text
Data.Aeson.Encode Data.Aeson.Types
Data.Aeson.TH
other-modules:
Data.Aeson.Encoding.Builder Data.Aeson.Encoding.Internal
Data.Aeson.Internal.Functions Data.Aeson.Internal
Data.Aeson.Parser.Internal Data.Aeson.Internal.Time
Data.Aeson.Parser.Unescape
Data.Aeson.Parser.Time -- Deprecated modules
Data.Aeson.Types.FromJSON exposed-modules:
Data.Aeson.Types.Generic Data.Aeson.Encode
Data.Aeson.Types.ToJSON
Data.Aeson.Types.Class other-modules:
Data.Aeson.Types.Internal Data.Aeson.Encoding.Builder
Data.Aeson.Internal.Functions
build-depends: Data.Aeson.Parser.Internal
attoparsec >= 0.13.0.1 && < 0.14, Data.Aeson.Parser.Unescape
base >= 4.5 && < 5, Data.Aeson.Parser.Time
base-compat >= 0.9.1 && < 0.10, Data.Aeson.Types.FromJSON
containers >= 0.4.2 && < 0.6, Data.Aeson.Types.Generic
deepseq >= 1.3 && < 1.5, Data.Aeson.Types.ToJSON
dlist >= 0.6 && < 0.9, Data.Aeson.Types.Class
ghc-prim >= 0.2, Data.Aeson.Types.Internal
hashable >= 1.1.2.0 && < 1.3,
scientific >= 0.3.4.7 && < 0.4, build-depends:
tagged >=0.8.3 && <0.9, attoparsec >= 0.13.0.1,
template-haskell >= 2.7 && < 2.12, base >= 4.5 && < 5,
text >= 1.1.1.0 && < 1.3, base-compat >= 0.9.1 && < 0.10,
time >= 1.1.1.4 && < 1.7, containers >= 0.2.4.1,
time-locale-compat >= 0.1.1 && < 0.2, deepseq >= 1.3,
unordered-containers >= 0.2.5.0 && < 0.3, dlist >= 0.2,
vector >= 0.8 && < 0.13 ghc-prim >= 0.2,
hashable >= 1.1.2.0,
if flag(bytestring-builder) scientific >= 0.3.4.7 && < 0.4,
build-depends: bytestring >= 0.9 && < 0.10.4, tagged >=0.8.3 && <0.9,
bytestring-builder >= 0.10.4 && < 1 template-haskell >= 2.7,
else text >= 1.1.1.0,
build-depends: bytestring >= 0.10.4 && < 0.11 time >= 1.1.1.4,
time-locale-compat >= 0.1.1 && < 0.2,
if !impl(ghc >= 8.0) unordered-containers >= 0.2.5.0,
-- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` are available in base only since GHC 8.0 / base 4.9 uuid-types >= 1.0.3 && <1.1,
build-depends: vector >= 0.8
semigroups >= 0.18.2 && < 0.19,
transformers >= 0.2.2.0 && < 0.6, if flag(bytestring-builder)
transformers-compat >= 0.3 && < 0.6, build-depends: bytestring >= 0.9 && < 0.10.4,
fail == 4.9.* bytestring-builder >= 0.10.4 && < 1
else
if !impl(ghc >= 7.10) build-depends: bytestring >= 0.10.4
-- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
build-depends: nats >= 1 && < 1.2 if !impl(ghc >= 8.0)
-- `Data.Semigroup` and `Control.Monad.Fail` and `Control.Monad.IO.Class` are available in base only since GHC 8.0 / base 4.9
ghc-options: -Wall build-depends:
semigroups >= 0.18.2 && < 0.19,
if flag(developer) transformers >= 0.2.2.0,
ghc-options: -Werror transformers-compat >= 0.3,
ghc-prof-options: -auto-all fail == 4.9.*
if flag(fast) if !impl(ghc >= 7.10)
ghc-options: -O0 -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
else build-depends: nats >= 1 && < 1.2
ghc-options: -O2
ghc-options: -Wall
include-dirs: include
c-sources: cbits/unescape_string.c if flag(developer)
ghc-options: -Werror
test-suite tests ghc-prof-options: -auto-all
default-language: Haskell2010
type: exitcode-stdio-1.0 if flag(fast)
hs-source-dirs: tests ghc-options: -O0
main-is: Tests.hs else
other-modules: ghc-options: -O2
DataFamilies.Properties
DataFamilies.Instances include-dirs: include
DataFamilies.Encoders if impl(ghcjs) || !flag(cffi)
DataFamilies.Types hs-source-dirs: pure
Encoders other-modules: Data.Aeson.Parser.UnescapePure
Functions else
Instances c-sources: cbits/unescape_string.c
Options cpp-options: -DCFFI
Properties hs-source-dirs: ffi
Types other-modules: Data.Aeson.Parser.UnescapeFFI
UnitTests
UnitTests.NullaryConstructors test-suite tests
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts type: exitcode-stdio-1.0
hs-source-dirs: tests ffi pure
build-depends: main-is: Tests.hs
HUnit, c-sources: cbits/unescape_string.c
QuickCheck >= 2.7 && <2.9.3, ghc-options: -Wall -threaded -rtsopts
aeson,
attoparsec, other-modules:
base, Data.Aeson.Parser.UnescapeFFI
base-compat, Data.Aeson.Parser.UnescapePure
base-orphans >= 0.5.3 && <0.6, DataFamilies.Properties
base16-bytestring, DataFamilies.Instances
containers, DataFamilies.Encoders
dlist, DataFamilies.Types
generic-deriving >= 1.10 && < 1.12, Encoders
ghc-prim >= 0.2, ErrorMessages
hashable >= 1.2.4.0, Functions
scientific, Instances
tagged, Options
template-haskell, Properties
test-framework, SerializationFormatSpec
test-framework-hunit, Types
test-framework-quickcheck2, UnitTests
text, UnitTests.NullaryConstructors
time,
time-locale-compat, build-depends:
unordered-containers, HUnit,
vector, QuickCheck >= 2.8 && <2.9.3,
quickcheck-instances >=0.3.12 aeson,
integer-logarithms >= 1 && <1.1,
if flag(bytestring-builder) attoparsec,
build-depends: bytestring >= 0.9 && < 0.10.4, base,
bytestring-builder >= 0.10.4 && < 1 base-compat,
else base-orphans >= 0.5.3 && <0.7,
build-depends: bytestring >= 0.10.4 base16-bytestring,
containers,
if !impl(ghc >= 8.0) directory,
build-depends: dlist,
semigroups >= 0.18.2 && < 0.19, filepath,
transformers >= 0.2.2.0, generic-deriving >= 1.10 && < 1.12,
transformers-compat >= 0.3 ghc-prim >= 0.2,
hashable >= 1.2.4.0,
if !impl(ghc >= 7.10) scientific,
build-depends: nats >=1 && <1.2 tagged,
template-haskell,
if impl(ghc >= 7.8) test-framework,
build-depends: hashable-time >= 0.2 && <0.3 test-framework-hunit,
test-framework-quickcheck2,
source-repository head text,
type: git time,
location: git://github.com/bos/aeson.git time-locale-compat,
unordered-containers,
source-repository head uuid-types,
type: mercurial vector,
location: https://bitbucket.org/bos/aeson quickcheck-instances >=0.3.12
if flag(bytestring-builder)
build-depends: bytestring >= 0.9 && < 0.10.4,
bytestring-builder >= 0.10.4 && < 1
else
build-depends: bytestring >= 0.10.4
if !impl(ghc >= 8.0)
build-depends:
semigroups >= 0.18.2 && < 0.19,
transformers >= 0.2.2.0,
transformers-compat >= 0.3
if !impl(ghc >= 7.10)
build-depends: nats >=1 && <1.2
if impl(ghc >= 7.8)
build-depends: hashable-time >= 0.2 && <0.3
if flag(fast)
ghc-options: -fno-enable-rewrite-rules
source-repository head
type: git
location: git://github.com/bos/aeson.git

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 27 14:07:48 UTC 2017 - psimons@suse.com
- Update to version 1.1.2.0 revision 1.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 4 11:04:08 UTC 2017 - psimons@suse.com Tue Apr 4 11:04:08 UTC 2017 - psimons@suse.com

View File

@ -19,7 +19,7 @@
%global pkg_name aeson %global pkg_name aeson
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.0.2.1 Version: 1.1.2.0
Release: 0 Release: 0
Summary: Fast JSON parsing and encoding Summary: Fast JSON parsing and encoding
License: BSD-3-Clause License: BSD-3-Clause
@ -43,6 +43,7 @@ BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel BuildRequires: ghc-time-devel
BuildRequires: ghc-time-locale-compat-devel BuildRequires: ghc-time-locale-compat-devel
BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-uuid-types-devel
BuildRequires: ghc-vector-devel BuildRequires: ghc-vector-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests} %if %{with tests}
@ -50,8 +51,11 @@ BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-base-orphans-devel
BuildRequires: ghc-base16-bytestring-devel BuildRequires: ghc-base16-bytestring-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-generic-deriving-devel BuildRequires: ghc-generic-deriving-devel
BuildRequires: ghc-hashable-time-devel BuildRequires: ghc-hashable-time-devel
BuildRequires: ghc-integer-logarithms-devel
BuildRequires: ghc-quickcheck-instances-devel BuildRequires: ghc-quickcheck-instances-devel
BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-hunit-devel