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 2025-05-12 20:19:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-toml-parser (Old)
and /work/SRC/openSUSE:Factory/.ghc-toml-parser.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-toml-parser"
Mon May 12 20:19:06 2025 rev:11 rq:1276605 version:2.0.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-toml-parser/ghc-toml-parser.changes
2024-12-29 11:56:37.788154662 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-toml-parser.new.30101/ghc-toml-parser.changes
2025-05-12 20:19:08.274089472 +0200
@@ -1,0 +2,13 @@
+Wed Apr 30 14:48:43 UTC 2025 - Peter Simons <[email protected]>
+
+- Update toml-parser to version 2.0.1.2.
+ ## 2.0.1.2
+
+ * Reject inputs with out-of-bounds time zone offsets in accordance
+ with the toml-tests test suite.
+
+ ## 2.0.1.1
+
+ * Fixes bug that prohibited non-ASCII characters in `'''` strings.
+
+-------------------------------------------------------------------
Old:
----
toml-parser-2.0.1.0.tar.gz
toml-parser.cabal
New:
----
toml-parser-2.0.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-toml-parser.spec ++++++
--- /var/tmp/diff_new_pack.LRaBm4/_old 2025-05-12 20:19:08.930117026 +0200
+++ /var/tmp/diff_new_pack.LRaBm4/_new 2025-05-12 20:19:08.930117026 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-toml-parser
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.0.1.0
+Version: 2.0.1.2
Release: 0
Summary: TOML 1.0.0 parser
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
@@ -85,7 +84,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ toml-parser-2.0.1.0.tar.gz -> toml-parser-2.0.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/toml-parser-2.0.1.0/ChangeLog.md
new/toml-parser-2.0.1.2/ChangeLog.md
--- old/toml-parser-2.0.1.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/toml-parser-2.0.1.2/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,14 @@
# Revision history for toml-parser
+## 2.0.1.2
+
+* Reject inputs with out-of-bounds time zone offsets in accordance
+ with the toml-tests test suite.
+
+## 2.0.1.1
+
+* Fixes bug that prohibited non-ASCII characters in `'''` strings.
+
## 2.0.1.0
* Added `ToValue UTCTime` and `FromValue UTCTime`. These correspond
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/toml-parser-2.0.1.0/src/Toml/Syntax/Lexer.x
new/toml-parser-2.0.1.2/src/Toml/Syntax/Lexer.x
--- old/toml-parser-2.0.1.0/src/Toml/Syntax/Lexer.x 2001-09-09
03:46:40.000000000 +0200
+++ new/toml-parser-2.0.1.2/src/Toml/Syntax/Lexer.x 2001-09-09
03:46:40.000000000 +0200
@@ -63,7 +63,7 @@
$literal_char = [\x09 \x20-\x26 \x28-\x7E $non_ascii]
-$mll_char = [\x09 \x20-\x26 \x28-\x7E]
+$mll_char = [\x09 \x20-\x26 \x28-\x7E $non_ascii]
@mll_content = $mll_char | @newline
@mlb_escaped_nl = \\ @ws @newline ($wschar | @newline)*
@@ -76,8 +76,10 @@
@time_hour = $digit {2}
@time_minute = $digit {2}
@time_second = $digit {2}
+@offset_hour = [01] $digit | 2 [0-3]
+@offset_minute = [0-5] $digit
@time_secfrac = "." $digit+
-@time_numoffset = [\+\-] @time_hour ":" @time_minute
+@time_numoffset = [\+\-] @offset_hour ":" @offset_minute
@time_offset = [Zz] | @time_numoffset
@partial_time = @time_hour ":" @time_minute ":" @time_second @time_secfrac?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/toml-parser-2.0.1.0/test/LexerSpec.hs
new/toml-parser-2.0.1.2/test/LexerSpec.hs
--- old/toml-parser-2.0.1.0/test/LexerSpec.hs 2001-09-09 03:46:40.000000000
+0200
+++ new/toml-parser-2.0.1.2/test/LexerSpec.hs 2001-09-09 03:46:40.000000000
+0200
@@ -40,7 +40,7 @@
it "accepts tabs" $
parse_ "x\t=\t1"
`shouldBe`
- Right (table [("x" .= Integer 1)])
+ Right (table ["x" .= Integer 1])
it "computes columns correctly with tabs" $
parse "x\t=\t="
@@ -96,3 +96,8 @@
parse "x = \"\\p\""
`shouldBe`
Left "1:6: lexical error: unknown escape sequence"
+
+ it "allows multi-byte characters in ''' strings" $
+ parse_ "x = '''§'''"
+ `shouldBe`
+ Right (table ["x" .= Text "§"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/toml-parser-2.0.1.0/toml-parser.cabal
new/toml-parser-2.0.1.2/toml-parser.cabal
--- old/toml-parser-2.0.1.0/toml-parser.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/toml-parser-2.0.1.2/toml-parser.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: toml-parser
-version: 2.0.1.0
+version: 2.0.1.2
synopsis: TOML 1.0.0 parser
description:
TOML parser using generated lexers and parsers with
@@ -13,7 +13,7 @@
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}
+tested-with: GHC == {8.10.7, 9.0.2, 9.2.8, 9.4.8, 9.6.6, 9.8.2, 9.10.1,
9.12.2}
extra-doc-files:
ChangeLog.md
@@ -71,8 +71,8 @@
Toml.Syntax.ParserUtils
build-depends:
array ^>= 0.5,
- base ^>= {4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20},
- containers ^>= {0.5, 0.6, 0.7},
+ base ^>= {4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20, 4.21},
+ containers ^>= {0.5, 0.6, 0.7, 0.8},
prettyprinter ^>= 1.7,
text >= 0.2 && < 3,
time ^>= {1.9, 1.10, 1.11, 1.12, 1.14},
@@ -96,7 +96,7 @@
base,
containers,
hspec ^>= {2.10, 2.11},
- template-haskell ^>= {2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22},
+ template-haskell ^>= {2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22, 2.23},
text,
time,
toml-parser,
@@ -128,7 +128,7 @@
base,
toml-parser,
hspec ^>= {2.10, 2.11},
- template-haskell ^>= {2.16, 2.17, 2.18, 2.19, 2.20, 2.21, 2.22},
+ 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},