update revision

epel9 imports/e9/ghc-HsYAML-0.2.1.0-6.el9
Jens Petersen 3 years ago
parent a5c94bc091
commit 4a41190d28

@ -1,144 +1,156 @@
cabal-version: 1.14 cabal-version: 1.14
name: HsYAML name: HsYAML
version: 0.2.1.0 version: 0.2.1.0
x-revision: 2 x-revision: 4
synopsis: Pure Haskell YAML 1.2 processor synopsis: Pure Haskell YAML 1.2 processor
homepage: https://github.com/hvr/HsYAML homepage: https://github.com/hvr/HsYAML
bug-reports: https://github.com/hvr/HsYAML/issues bug-reports: https://github.com/hvr/HsYAML/issues
license: GPL-2 license: GPL-2
X-SPDX-License-Identifier: GPL-2.0-or-later X-SPDX-License-Identifier: GPL-2.0-or-later
license-files: LICENSE.GPLv2 LICENSE.GPLv3 license-files: LICENSE.GPLv2 LICENSE.GPLv3
author: Herbert Valerio Riedel author: Herbert Valerio Riedel
maintainer: hvr@gnu.org maintainer: hvr@gnu.org
copyright: 2015-2018 Herbert Valerio Riedel copyright: 2015-2018 Herbert Valerio Riedel
, 2007-2008 Oren Ben-Kiki , 2007-2008 Oren Ben-Kiki
category: Text category: Text
build-type: Simple build-type: Simple
tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 tested-with:
GHC == 9.2.1
description: GHC == 9.0.1
@HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents. GHC == 8.10.7
GHC == 8.8.4
. GHC == 8.6.5
Features of @HsYAML@ include: GHC == 8.4.4
. GHC == 8.2.2
* Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html). GHC == 8.0.2
* Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML"). GHC == 7.10.3
* Allows round-tripping while preserving ordering, anchors, and comments at Event-level. GHC == 7.8.4
* Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures). GHC == 7.6.3
* Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema"). GHC == 7.4.2
* Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema").
* Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event"). description:
* Low-level API access to lexical token-based scanner (see "Data.YAML.Token"). @HsYAML@ is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) processor, i.e. a library for parsing and serializing YAML documents.
.
See also the <//hackage.haskell.org/package/HsYAML-aeson HsYAML-aeson> package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances. .
Features of @HsYAML@ include:
extra-source-files: .
ChangeLog.md * Pure Haskell implementation with small dependency footprint and emphasis on strict compliance with the [YAML 1.2 specification](http://yaml.org/spec/1.2/spec.html).
* Direct decoding to native Haskell types via (@aeson@-inspired) typeclass-based API (see "Data.YAML").
source-repository head * Allows round-tripping while preserving ordering, anchors, and comments at Event-level.
type: git * Support for constructing custom YAML node graph representation (including support for cyclic YAML data structures).
location: https://github.com/hvr/HsYAML.git * Support for the standard (untyped) /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" providing implicit typing rules as defined in the YAML 1.2 specification (including support for user-defined custom schemas; see "Data.YAML.Schema").
* Support for emitting YAML using /Failsafe/, (strict) /JSON/, and (flexible) /Core/ \"schemas\" (including support for user-defined custom encoding schemas; see "Data.YAML.Schema").
flag exe * Event-based API resembling LibYAML's Event-based API (see "Data.YAML.Event").
description: Enable @exe:yaml-test@ component * Low-level API access to lexical token-based scanner (see "Data.YAML.Token").
manual: True .
default: False See also the <//hackage.haskell.org/package/HsYAML-aeson HsYAML-aeson> package which allows to decode and encode YAML by leveraging @aeson@'s 'FromJSON' and 'ToJSON' instances.
library extra-source-files:
hs-source-dirs: src ChangeLog.md
exposed-modules: Data.YAML
, Data.YAML.Schema source-repository head
, Data.YAML.Event type: git
, Data.YAML.Token location: https://github.com/hvr/HsYAML.git
other-modules: Data.YAML.Loader
, Data.YAML.Dumper flag exe
, Data.YAML.Internal description: Enable @exe:yaml-test@ component
, Data.YAML.Event.Internal manual: True
, Data.YAML.Event.Writer default: False
, Data.YAML.Pos
, Data.YAML.Schema.Internal library
, Data.YAML.Token.Encoding hs-source-dirs: src
, Util exposed-modules: Data.YAML
, Data.DList , Data.YAML.Schema
, Data.YAML.Event
default-language: Haskell2010 , Data.YAML.Token
other-extensions: DeriveGeneric other-modules: Data.YAML.Loader
FlexibleContexts , Data.YAML.Dumper
FlexibleInstances , Data.YAML.Internal
FunctionalDependencies , Data.YAML.Event.Internal
MultiParamTypeClasses , Data.YAML.Event.Writer
OverloadedStrings , Data.YAML.Pos
PostfixOperators , Data.YAML.Schema.Internal
RecordWildCards , Data.YAML.Token.Encoding
RecursiveDo , Util
Safe , Data.DList
ScopedTypeVariables
Trustworthy default-language: Haskell2010
TypeSynonymInstances other-extensions: DeriveGeneric
FlexibleContexts
build-depends: base >=4.5 && <4.16 FlexibleInstances
, bytestring >=0.9 && <0.12 FunctionalDependencies
, containers >=0.4.2 && <0.7 MultiParamTypeClasses
, deepseq >=1.3.0 && <1.5 OverloadedStrings
, text >=1.2.3 && <1.3 PostfixOperators
, mtl >=2.2.1 && <2.3 RecordWildCards
, parsec >=3.1.13.0 && < 3.2 RecursiveDo
Safe
-- for GHC.Generics ScopedTypeVariables
if impl(ghc < 7.6) Trustworthy
build-depends: ghc-prim TypeSynonymInstances
if !impl(ghc >= 8.0) build-depends: base >=4.5 && <4.17
build-depends: fail >=4.9.0.0 && <4.10 , bytestring >=0.9 && <0.12
, containers >=0.4.2 && <0.7
if !impl(ghc >= 7.10) , deepseq >=1.3.0 && <1.5
build-depends: nats >=1.1.2 && <1.2 , text >=1.2.3 && <2.1
, mtl >=2.2.1 && <2.3
ghc-options: -Wall , parsec >=3.1.13.0 && < 3.2
executable yaml-test -- for GHC.Generics
hs-source-dirs: src-test if impl(ghc < 7.6)
main-is: Main.hs build-depends: ghc-prim
other-modules: TML
if !impl(ghc >= 8.0)
default-language: Haskell2010 build-depends: fail >=4.9.0.0 && <4.10
if flag(exe) if !impl(ghc >= 7.10)
build-depends: HsYAML build-depends: nats >=1.1.2 && <1.2
-- inherited constraints
, bytestring >= 0.10.8.0 ghc-options: -Wall
, base
, text executable yaml-test
, containers hs-source-dirs: src-test
, mtl main-is: Main.hs
-- non-inherited other-modules: TML
, megaparsec >= 6.5.0 && < 6.6
, microaeson == 0.1.* default-language: Haskell2010
, filepath == 1.4.*
, directory >= 1.2 && < 1.4 if flag(exe)
else build-depends: HsYAML
buildable: False -- inherited constraints
, bytestring >= 0.10.8.0
ghc-options: -rtsopts , base
, text
test-suite tests , containers
default-language: Haskell2010 , mtl
type: exitcode-stdio-1.0 -- non-inherited
hs-source-dirs: tests , megaparsec >= 7.0 && < 10
main-is: Tests.hs , microaeson == 0.1.*
, filepath == 1.4.*
ghc-options: -rtsopts , directory >= 1.2 && < 1.4
else
build-depends: HsYAML buildable: False
-- inherited constraints
, bytestring >= 0.10.8.0 ghc-options: -rtsopts
, base
, text test-suite tests
, containers default-language: Haskell2010
, mtl type: exitcode-stdio-1.0
-- non-inherited hs-source-dirs: tests
, QuickCheck == 2.13.* main-is: Tests.hs
, tasty == 1.2.*
, tasty-quickcheck == 0.10.* ghc-options: -rtsopts
build-depends: HsYAML
-- inherited constraints
, bytestring >= 0.10.8.0
, base
, text
, containers
, mtl
-- non-inherited
, QuickCheck == 2.14.*
, tasty == 1.4.*
, tasty-quickcheck == 0.10.*

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.9 # generated by cabal-rpm-2.0.12
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name HsYAML %global pkg_name HsYAML
@ -97,8 +97,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup # End cabal-rpm setup
cabal-tweak-dep-ver QuickCheck '2.13.*' '2.14.*'
cabal-tweak-dep-ver tasty '== 1.2.*' '>= 1.2'
%build %build

Loading…
Cancel
Save