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:
parent
a1e4aac4e3
commit
5f5e0a8077
@ -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
3
aeson-1.1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37488cfbf6ecf65c4d63164d760c1a0f3bcc3371a35a50e5c4a3c0fd2ffac5ff
|
||||
size 262853
|
83
aeson.cabal
83
aeson.cabal
@ -1,5 +1,5 @@
|
||||
name: aeson
|
||||
version: 1.0.2.1
|
||||
version: 1.1.2.0
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
@ -39,6 +39,7 @@ description:
|
||||
(A note on naming: in Greek mythology, Aeson was the father of Jason.)
|
||||
|
||||
extra-source-files:
|
||||
*.yaml
|
||||
README.markdown
|
||||
benchmarks/*.cabal
|
||||
benchmarks/*.hs
|
||||
@ -47,14 +48,16 @@ extra-source-files:
|
||||
benchmarks/Makefile
|
||||
benchmarks/Typed/*.hs
|
||||
benchmarks/json-data/*.json
|
||||
include/overlapping-compat.h
|
||||
include/incoherent-compat.h
|
||||
cbits/*.c
|
||||
changelog.md
|
||||
examples/*.cabal
|
||||
examples/*.hs
|
||||
examples/Twitter/*.hs
|
||||
ffi/Data/Aeson/Parser/*.hs
|
||||
include/*.h
|
||||
cbits/*.c
|
||||
tests/JSONTestSuite/test_parsing/*.json
|
||||
tests/JSONTestSuite/test_transform/*.json
|
||||
pure/Data/Aeson/Parser/*.hs
|
||||
|
||||
flag developer
|
||||
description: operate in developer mode
|
||||
@ -71,8 +74,14 @@ flag bytestring-builder
|
||||
default: False
|
||||
manual: False
|
||||
|
||||
flag cffi
|
||||
description: Controls whether to include c-ffi bits or pure haskell
|
||||
default: True
|
||||
manual: True
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: .
|
||||
|
||||
exposed-modules:
|
||||
Data.Aeson
|
||||
@ -103,35 +112,36 @@ library
|
||||
Data.Aeson.Types.Internal
|
||||
|
||||
build-depends:
|
||||
attoparsec >= 0.13.0.1 && < 0.14,
|
||||
attoparsec >= 0.13.0.1,
|
||||
base >= 4.5 && < 5,
|
||||
base-compat >= 0.9.1 && < 0.10,
|
||||
containers >= 0.4.2 && < 0.6,
|
||||
deepseq >= 1.3 && < 1.5,
|
||||
dlist >= 0.6 && < 0.9,
|
||||
containers >= 0.2.4.1,
|
||||
deepseq >= 1.3,
|
||||
dlist >= 0.2,
|
||||
ghc-prim >= 0.2,
|
||||
hashable >= 1.1.2.0 && < 1.3,
|
||||
hashable >= 1.1.2.0,
|
||||
scientific >= 0.3.4.7 && < 0.4,
|
||||
tagged >=0.8.3 && <0.9,
|
||||
template-haskell >= 2.7 && < 2.12,
|
||||
text >= 1.1.1.0 && < 1.3,
|
||||
time >= 1.1.1.4 && < 1.7,
|
||||
template-haskell >= 2.7,
|
||||
text >= 1.1.1.0,
|
||||
time >= 1.1.1.4,
|
||||
time-locale-compat >= 0.1.1 && < 0.2,
|
||||
unordered-containers >= 0.2.5.0 && < 0.3,
|
||||
vector >= 0.8 && < 0.13
|
||||
unordered-containers >= 0.2.5.0,
|
||||
uuid-types >= 1.0.3 && <1.1,
|
||||
vector >= 0.8
|
||||
|
||||
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 && < 0.11
|
||||
build-depends: bytestring >= 0.10.4
|
||||
|
||||
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
|
||||
build-depends:
|
||||
semigroups >= 0.18.2 && < 0.19,
|
||||
transformers >= 0.2.2.0 && < 0.6,
|
||||
transformers-compat >= 0.3 && < 0.6,
|
||||
transformers >= 0.2.2.0,
|
||||
transformers-compat >= 0.3,
|
||||
fail == 4.9.*
|
||||
|
||||
if !impl(ghc >= 7.10)
|
||||
@ -150,40 +160,55 @@ library
|
||||
ghc-options: -O2
|
||||
|
||||
include-dirs: include
|
||||
c-sources: cbits/unescape_string.c
|
||||
if impl(ghcjs) || !flag(cffi)
|
||||
hs-source-dirs: pure
|
||||
other-modules: Data.Aeson.Parser.UnescapePure
|
||||
else
|
||||
c-sources: cbits/unescape_string.c
|
||||
cpp-options: -DCFFI
|
||||
hs-source-dirs: ffi
|
||||
other-modules: Data.Aeson.Parser.UnescapeFFI
|
||||
|
||||
test-suite tests
|
||||
default-language: Haskell2010
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: tests
|
||||
main-is: Tests.hs
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: tests ffi pure
|
||||
main-is: Tests.hs
|
||||
c-sources: cbits/unescape_string.c
|
||||
ghc-options: -Wall -threaded -rtsopts
|
||||
|
||||
other-modules:
|
||||
Data.Aeson.Parser.UnescapeFFI
|
||||
Data.Aeson.Parser.UnescapePure
|
||||
DataFamilies.Properties
|
||||
DataFamilies.Instances
|
||||
DataFamilies.Encoders
|
||||
DataFamilies.Types
|
||||
Encoders
|
||||
ErrorMessages
|
||||
Functions
|
||||
Instances
|
||||
Options
|
||||
Properties
|
||||
SerializationFormatSpec
|
||||
Types
|
||||
UnitTests
|
||||
UnitTests.NullaryConstructors
|
||||
|
||||
ghc-options: -Wall -threaded -rtsopts
|
||||
|
||||
build-depends:
|
||||
HUnit,
|
||||
QuickCheck >= 2.7 && <2.9.3,
|
||||
QuickCheck >= 2.8 && <2.9.3,
|
||||
aeson,
|
||||
integer-logarithms >= 1 && <1.1,
|
||||
attoparsec,
|
||||
base,
|
||||
base-compat,
|
||||
base-orphans >= 0.5.3 && <0.6,
|
||||
base-orphans >= 0.5.3 && <0.7,
|
||||
base16-bytestring,
|
||||
containers,
|
||||
directory,
|
||||
dlist,
|
||||
filepath,
|
||||
generic-deriving >= 1.10 && < 1.12,
|
||||
ghc-prim >= 0.2,
|
||||
hashable >= 1.2.4.0,
|
||||
@ -197,6 +222,7 @@ test-suite tests
|
||||
time,
|
||||
time-locale-compat,
|
||||
unordered-containers,
|
||||
uuid-types,
|
||||
vector,
|
||||
quickcheck-instances >=0.3.12
|
||||
|
||||
@ -218,10 +244,9 @@ test-suite tests
|
||||
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
|
||||
|
||||
source-repository head
|
||||
type: mercurial
|
||||
location: https://bitbucket.org/bos/aeson
|
||||
|
@ -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
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%global pkg_name aeson
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.2.1
|
||||
Version: 1.1.2.0
|
||||
Release: 0
|
||||
Summary: Fast JSON parsing and encoding
|
||||
License: BSD-3-Clause
|
||||
@ -43,6 +43,7 @@ BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-time-devel
|
||||
BuildRequires: ghc-time-locale-compat-devel
|
||||
BuildRequires: ghc-unordered-containers-devel
|
||||
BuildRequires: ghc-uuid-types-devel
|
||||
BuildRequires: ghc-vector-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if %{with tests}
|
||||
@ -50,8 +51,11 @@ BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-base-orphans-devel
|
||||
BuildRequires: ghc-base16-bytestring-devel
|
||||
BuildRequires: ghc-directory-devel
|
||||
BuildRequires: ghc-filepath-devel
|
||||
BuildRequires: ghc-generic-deriving-devel
|
||||
BuildRequires: ghc-hashable-time-devel
|
||||
BuildRequires: ghc-integer-logarithms-devel
|
||||
BuildRequires: ghc-quickcheck-instances-devel
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-hunit-devel
|
||||
|
Loading…
Reference in New Issue
Block a user