Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-pandoc-types for 
openSUSE:Factory checked in at 2023-07-18 21:53:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-pandoc-types (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-pandoc-types"

Tue Jul 18 21:53:49 2023 rev:38 rq:1098730 version:1.23.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-pandoc-types/ghc-pandoc-types.changes        
2023-04-04 21:22:23.777868334 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-pandoc-types.new.3193/ghc-pandoc-types.changes  
    2023-07-18 21:53:54.730224042 +0200
@@ -1,0 +2,10 @@
+Fri Jul  7 05:47:26 UTC 2023 - Peter Simons <psim...@suse.com>
+
+- Update pandoc-types to version 1.23.0.1.
+  [1.23.0.1]
+
+    * Allow aeson 2.2.
+
+    * Remove dependency on string-qq (recbecca skinner).
+
+-------------------------------------------------------------------

Old:
----
  pandoc-types-1.23.tar.gz

New:
----
  pandoc-types-1.23.0.1.tar.gz

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

Other differences:
------------------
++++++ ghc-pandoc-types.spec ++++++
--- /var/tmp/diff_new_pack.QjMbCV/_old  2023-07-18 21:53:55.794229913 +0200
+++ /var/tmp/diff_new_pack.QjMbCV/_new  2023-07-18 21:53:55.802229958 +0200
@@ -20,7 +20,7 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.23
+Version:        1.23.0.1
 Release:        0
 Summary:        Types for representing a structured document
 License:        GPL-2.0-only
@@ -50,8 +50,8 @@
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-HUnit-prof
-BuildRequires:  ghc-string-qq-devel
-BuildRequires:  ghc-string-qq-prof
+BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-template-haskell-prof
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-hunit-devel
 BuildRequires:  ghc-test-framework-hunit-prof

++++++ pandoc-types-1.23.tar.gz -> pandoc-types-1.23.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.23/changelog 
new/pandoc-types-1.23.0.1/changelog
--- old/pandoc-types-1.23/changelog     2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-types-1.23.0.1/changelog 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,9 @@
+[1.23.0.1]
+
+  * Allow aeson 2.2.
+
+  * Remove dependency on string-qq (recbecca skinner).
+
 [1.23]
 
   * Remove Null constructor from Block (#91) [API change].
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.23/pandoc-types.cabal 
new/pandoc-types-1.23.0.1/pandoc-types.cabal
--- old/pandoc-types-1.23/pandoc-types.cabal    2001-09-09 03:46:40.000000000 
+0200
+++ new/pandoc-types-1.23.0.1/pandoc-types.cabal        2001-09-09 
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 Name:                pandoc-types
-version:             1.23
+version:             1.23.0.1
 Synopsis:            Types for representing a structured document
 Description:         @Text.Pandoc.Definition@ defines the 'Pandoc' data
                      structure, which is used by pandoc to represent
@@ -57,7 +57,7 @@
                      syb >= 0.1 && < 0.8,
                      ghc-prim >= 0.2,
                      bytestring >= 0.9 && < 0.12,
-                     aeson >= 0.6.2 && < 2.2,
+                     aeson >= 0.6.2 && < 2.3,
                      transformers >= 0.2 && < 0.7,
                      QuickCheck >= 2.10 && < 2.15
   if !impl(ghc >= 8.0)
@@ -69,10 +69,11 @@
   type:                exitcode-stdio-1.0
   hs-source-dirs:      test
   main-is:             test-pandoc-types.hs
+  Other-modules:       Data.String.QQ
   build-depends:       base,
                        pandoc-types,
                        syb,
-                       aeson >= 0.6.2 && < 2.2,
+                       aeson >= 0.6.2 && < 2.3,
                        containers >= 0.3,
                        text,
                        bytestring >= 0.9 && < 0.12,
@@ -81,7 +82,7 @@
                        test-framework-quickcheck2 >= 0.2.9 && < 0.4,
                        QuickCheck >= 2.10 && < 2.15,
                        HUnit >= 1.2 && < 1.7,
-                       string-qq >= 0.0.2 && < 0.1
+                       template-haskell >= 2
   ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall -O2
   default-language:  Haskell2010
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pandoc-types-1.23/test/Data/String/QQ.hs 
new/pandoc-types-1.23.0.1/test/Data/String/QQ.hs
--- old/pandoc-types-1.23/test/Data/String/QQ.hs        1970-01-01 
01:00:00.000000000 +0100
+++ new/pandoc-types-1.23.0.1/test/Data/String/QQ.hs    2001-09-09 
03:46:40.000000000 +0200
@@ -0,0 +1,19 @@
+-- | This module is based off the QQ implementation from string-qq
+-- (https://github.com/audreyt/string-qq).
+{-# LANGUAGE TemplateHaskellQuotes #-}
+{-# LANGUAGE RankNTypes #-}
+module Data.String.QQ (s) where
+import Data.String (IsString(..))
+import Language.Haskell.TH.Quote (QuasiQuoter(..))
+
+s :: QuasiQuoter
+s = QuasiQuoter expr pat typ dec
+  where
+    expr = (\a -> [|fromString a|]) . clean
+    pat = error "Cannot use s as a pattern"
+    typ = error "Cannot use s as a type"
+    dec = error "Cannot use s as a dec"
+    clean = removeCarriageReturns . trimLeadingNewline
+    removeCarriageReturns = filter (/= '\r')
+    trimLeadingNewline ('\n':xs) = xs
+    trimLeadingNewline xs = xs

Reply via email to