commit ghc-HsYAML for openSUSE:Leap:15.2

2020-05-21 Thread root
Hello community,

here is the log from the commit of package ghc-HsYAML for openSUSE:Leap:15.2 
checked in at 2020-05-21 12:58:20

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-HsYAML (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-HsYAML.new.2738 (New)


Package is "ghc-HsYAML"

Thu May 21 12:58:20 2020 rev:4 rq:805463 version:0.2.1.0

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-HsYAML/ghc-HsYAML.changes  2020-02-19 
18:37:14.933797153 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-HsYAML.new.2738/ghc-HsYAML.changes
2020-05-21 12:58:21.39027 +0200
@@ -1,0 +2,5 @@
+Thu May  7 08:08:21 UTC 2020 - Peter Simons 
+
+- Update Cabal file to get more accurate dependency information.
+
+---

New:

  HsYAML.cabal



Other differences:
--
++ ghc-HsYAML.spec ++
--- /var/tmp/diff_new_pack.jFnNHH/_old  2020-05-21 12:58:21.782667480 +0200
+++ /var/tmp/diff_new_pack.jFnNHH/_new  2020-05-21 12:58:21.786667488 +0200
@@ -25,6 +25,7 @@
 License:GPL-2.0-or-later
 URL:https://hackage.haskell.org/package/%{pkg_name}
 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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
@@ -77,6 +78,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ HsYAML.cabal ++
cabal-version:   1.14
name:HsYAML
version: 0.2.1.0
x-revision: 1

synopsis:Pure Haskell YAML 1.2 processor
homepage:https://github.com/hvr/HsYAML
bug-reports: https://github.com/hvr/HsYAML/issues
license: GPL-2
X-SPDX-License-Identifier: GPL-2.0-or-later
license-files:   LICENSE.GPLv2 LICENSE.GPLv3
author:  Herbert Valerio Riedel
maintainer:  h...@gnu.org
copyright:   2015-2018 Herbert Valerio Riedel
   , 2007-2008 Oren Ben-Kiki
category:Text
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

description:
  @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.

  .
  Features of @HsYAML@ include:
  .
   * 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").
   * Allows round-tripping while preserving ordering, anchors, and comments at 
Event-level.
   * Support for constructing custom YAML node graph representation (including 
support for cyclic YAML data structures).
   * 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").
   * Event-based API resembling LibYAML's Event-based API (see 
"Data.YAML.Event").
   * Low-level API access to lexical token-based scanner (see 
"Data.YAML.Token").
   .
   See also the  
package which allows to decode and encode YAML by leveraging @aeson@'s 
'FromJSON' and 'ToJSON' instances.

extra-source-files:
  ChangeLog.md

source-repository head
  type: git
  location: https://github.com/hvr/HsYAML.git

flag exe
  description: Enable @exe:yaml-test@ component
  manual: True
  default: False

library
  hs-source-dirs:  src
  exposed-modules: Data.YAML
 , Data.YAML.Schema
 , Data.YAML.Event
 , Data.YAML.Token
  other-modules:   Data.YAML.Loader
 , Data.YAML.Dumper
 , Data.YAML.Internal
 , Data.YAML.Event.Internal
 , Data.YAML.Event.Writer
 , Data.YAML.Pos
 , Data.YAML.Schema.Internal
 , Data.YAML.Token.Encoding
 , Util
 , Data.DList

  default-language:Haskell2010
  other-extensions:DeriveGeneric
   FlexibleContexts
   FlexibleInstances
   

commit ghc-HsYAML for openSUSE:Leap:15.2

2020-02-19 Thread root
Hello community,

here is the log from the commit of package ghc-HsYAML for openSUSE:Leap:15.2 
checked in at 2020-02-19 18:37:12

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-HsYAML (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-HsYAML.new.26092 (New)


Package is "ghc-HsYAML"

Wed Feb 19 18:37:12 2020 rev:3 rq:771196 version:0.2.1.0

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-HsYAML/ghc-HsYAML.changes  2020-01-15 
15:00:34.929752417 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-HsYAML.new.26092/ghc-HsYAML.changes   
2020-02-19 18:37:14.933797153 +0100
@@ -1,0 +2,26 @@
+Mon Dec 23 17:45:49 UTC 2019 - psim...@suse.com
+
+- Update HsYAML to version 0.2.1.0.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/HsYAML-0.2.1.0/src/ChangeLog.md
+
+---
+Fri Nov  8 16:13:57 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Sat May 18 02:01:59 UTC 2019 - psim...@suse.com
+
+- Update HsYAML to version 0.1.2.0.
+
+  * Add convenience functions `decode1` and `decode1Strict`
+expecting exactly one YAML document
+([#5](https://github.com/haskell-hvr/HsYAML/pull/5))
+
+  * Fix a couple corner-cases in the YAML tokenization
+([#10](https://github.com/haskell-hvr/HsYAML/pull/10))
+
+---
@@ -5 +30,0 @@
-  ### 0.1.1.3
@@ -7 +32,3 @@
-  * Fix bug in float regexp being too lax in the JSON and Core schema 
([#7](https://github.com/hvr/HsYAML/issues/7))
+  * Fix bug in float regexp being too lax in the JSON and Core
+schema ([#7](https://github.com/hvr/HsYAML/issues/7))
+

Old:

  HsYAML-0.1.1.3.tar.gz

New:

  HsYAML-0.2.1.0.tar.gz



Other differences:
--
++ ghc-HsYAML.spec ++
--- /var/tmp/diff_new_pack.0rEkC8/_old  2020-02-19 18:37:15.305797931 +0100
+++ /var/tmp/diff_new_pack.0rEkC8/_new  2020-02-19 18:37:15.305797931 +0100
@@ -17,25 +17,31 @@
 
 
 %global pkg_name HsYAML
+%bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.1.1.3
+Version:0.2.1.0
 Release:0
-Summary:Pure Haskell YAML 1.2 parser
+Summary:Pure Haskell YAML 1.2 processor
 License:GPL-2.0-or-later
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-parsec-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
+%if %{with tests}
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-tasty-devel
+BuildRequires:  ghc-tasty-quickcheck-devel
+%endif
 
 %description
-'HsYAML' is a [YAML 1.2](http://yaml.org/spec/1.2/spec.html) parser
-implementation for Haskell.
+'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.
 
 Features of 'HsYAML' include:
 
@@ -43,17 +49,24 @@
 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").
-* Support for constructing custom YAML node graph representation (including
-support for cyclic YAML data structures). * 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). * Event-based API resembling LibYAML's
-Event-based API (see "Data.YAML.Event"). * Low-level API access to lexical
-token-based scanner (see "Data.YAML.Token"). .
+* Allows round-tripping while preserving ordering, anchors, and comments at
+Event-level. * Support for constructing custom YAML node graph representation
+(including support for cyclic YAML data structures). * 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"). * Event-based API