Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-toml-parser for openSUSE:Factory 
checked in at 2024-12-29 11:56:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-toml-parser (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-toml-parser.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-toml-parser"

Sun Dec 29 11:56:27 2024 rev:10 rq:1233471 version:2.0.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-toml-parser/ghc-toml-parser.changes  
2024-06-11 18:28:48.155794125 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-toml-parser.new.1881/ghc-toml-parser.changes    
    2024-12-29 11:56:37.788154662 +0100
@@ -1,0 +2,6 @@
+Thu Dec 19 00:34:19 UTC 2024 - Peter Simons <[email protected]>
+
+- Update toml-parser to version 2.0.1.0 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  toml-parser.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-toml-parser.spec ++++++
--- /var/tmp/diff_new_pack.rxVaKd/_old  2024-12-29 11:56:39.344218472 +0100
+++ /var/tmp/diff_new_pack.rxVaKd/_new  2024-12-29 11:56:39.352218800 +0100
@@ -26,6 +26,7 @@
 License:        ISC
 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:  alex
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-array-devel
@@ -84,6 +85,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ toml-parser.cabal ++++++
cabal-version:      3.0
name:               toml-parser
version:            2.0.1.0
x-revision: 1
synopsis:           TOML 1.0.0 parser
description:
    TOML parser using generated lexers and parsers with
    careful attention to the TOML 1.0.0 semantics for
    defining tables.
license:            ISC
license-file:       LICENSE
author:             Eric Mertens
maintainer:         [email protected]
copyright:          2023 Eric Mertens
category:           Text
build-type:         Simple
tested-with:        GHC == {8.10.7, 9.0.2, 9.2.8, 9.4.8, 9.6.5, 9.8.2, 9.10.1}

extra-doc-files:
    ChangeLog.md
    README.md

source-repository head
    type: git
    location: https://github.com/glguy/toml-parser
    tag: main

common extensions
    default-language:   Haskell2010
    default-extensions:
        BlockArguments
        DeriveDataTypeable
        DeriveGeneric
        DeriveTraversable
        EmptyCase
        FlexibleContexts
        FlexibleInstances
        GeneralizedNewtypeDeriving
        ImportQualifiedPost
        LambdaCase
        ScopedTypeVariables
        TypeOperators
        TypeSynonymInstances
        ViewPatterns

library
    import:             extensions
    hs-source-dirs:     src
    default-language:   Haskell2010
    exposed-modules:
        Toml
        Toml.Pretty
        Toml.Schema
        Toml.Schema.FromValue
        Toml.Schema.Generic
        Toml.Schema.Generic.FromValue
        Toml.Schema.Generic.ToValue
        Toml.Schema.Matcher
        Toml.Schema.ParseTable
        Toml.Schema.ToValue
        Toml.Semantics
        Toml.Semantics.Ordered
        Toml.Semantics.Types
        Toml.Syntax
        Toml.Syntax.Lexer
        Toml.Syntax.Parser
        Toml.Syntax.Position
        Toml.Syntax.Token
        Toml.Syntax.Types
    other-modules:
        Toml.Syntax.LexerUtils
        Toml.Syntax.ParserUtils
    build-depends:
        array           ^>= 0.5,
        base            ^>= {4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20, 4.21},
        containers      ^>= {0.5, 0.6, 0.7},
        prettyprinter   ^>= 1.7,
        text            >= 0.2 && < 3,
        time            ^>= {1.9, 1.10, 1.11, 1.12, 1.14},
        transformers    ^>= {0.5, 0.6},
    build-tool-depends:
        alex:alex       >= 3.2,
        happy:happy     >= 1.19,
    if impl(ghc >= 9.8)
        ghc-options: -Wno-x-partial

test-suite unittests
    import:             extensions
    type:               exitcode-stdio-1.0
    hs-source-dirs:     test
    main-is:            Main.hs
    default-extensions:
        QuasiQuotes
    build-tool-depends:
        hspec-discover:hspec-discover ^>= {2.10, 2.11}
    build-depends:
        base,
        containers,
        hspec           ^>= {2.10, 2.11},
        template-haskell ^>= {2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22, 2.23},
        text,
        time,
        toml-parser,
    other-modules:
        DecodeSpec
        DerivingViaSpec
        FromValueSpec
        HieDemoSpec
        LexerSpec
        PrettySpec
        QuoteStr
        TomlSpec
        ToValueSpec

test-suite readme
    import:             extensions
    type:               exitcode-stdio-1.0
    main-is:            README.lhs
    ghc-options:        -pgmL markdown-unlit -optL "haskell toml"
    default-extensions:
        QuasiQuotes
        DerivingVia
    other-modules:
        QuoteStr
    hs-source-dirs:
        .
        test
    build-depends:
        base,
        toml-parser,
        hspec           ^>= {2.10, 2.11},
        template-haskell ^>= {2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22, 2.23},
        text,
    build-tool-depends:
        markdown-unlit:markdown-unlit ^>= {0.5.1, 0.6.0},

executable toml-benchmarker
    buildable: False
    main-is: benchmarker.hs
    default-language: Haskell2010
    build-depends: base, toml-parser, time, text
    hs-source-dirs: benchmarker

Reply via email to