Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-blaze-markup for openSUSE:Factory checked in at 2023-09-28 00:26:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-blaze-markup (Old) and /work/SRC/openSUSE:Factory/.ghc-blaze-markup.new.23327 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-blaze-markup" Thu Sep 28 00:26:16 2023 rev:28 rq:1113897 version:0.8.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-blaze-markup/ghc-blaze-markup.changes 2023-07-19 19:11:12.896770014 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-blaze-markup.new.23327/ghc-blaze-markup.changes 2023-09-28 00:33:18.501593748 +0200 @@ -1,0 +2,9 @@ +Mon Sep 25 11:44:33 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update blaze-markup to version 0.8.3.0. + - 0.8.3.0 (2023-09-25) + * Add `ToMarkup` and `ToValue` instances for `NonEmpty Char` + * Bump `bytestring` upper bound to 0.13 + * Bump `text` upper bound to 2.1 + +------------------------------------------------------------------- Old: ---- blaze-markup-0.8.2.8.tar.gz blaze-markup.cabal New: ---- blaze-markup-0.8.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-blaze-markup.spec ++++++ --- /var/tmp/diff_new_pack.dhPsbU/_old 2023-09-28 00:33:19.517630422 +0200 +++ /var/tmp/diff_new_pack.dhPsbU/_new 2023-09-28 00:33:19.517630422 +0200 @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.2.8 +Version: 0.8.3.0 Release: 0 Summary: A blazingly fast markup combinator library for Haskell License: BSD-3-Clause 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/5.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof @@ -86,7 +85,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ blaze-markup-0.8.2.8.tar.gz -> blaze-markup-0.8.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-markup-0.8.2.8/CHANGELOG new/blaze-markup-0.8.3.0/CHANGELOG --- old/blaze-markup-0.8.2.8/CHANGELOG 2001-09-09 03:46:40.000000000 +0200 +++ new/blaze-markup-0.8.3.0/CHANGELOG 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,10 @@ # Changelog +- 0.8.3.0 (2023-09-25) + * Add `ToMarkup` and `ToValue` instances for `NonEmpty Char` + * Bump `bytestring` upper bound to 0.13 + * Bump `text` upper bound to 2.1 + - 0.8.2.8 (2021-03-04) * Bump `base` upper bound to 4.16 * Bump `tasty` upper bound to 1.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-markup-0.8.2.8/blaze-markup.cabal new/blaze-markup-0.8.3.0/blaze-markup.cabal --- old/blaze-markup-0.8.2.8/blaze-markup.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/blaze-markup-0.8.3.0/blaze-markup.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ Name: blaze-markup -Version: 0.8.2.8 +Version: 0.8.3.0 Homepage: http://jaspervdj.be/blaze Bug-Reports: http://github.com/jaspervdj/blaze-markup/issues License: BSD3 @@ -17,10 +17,20 @@ Build-type: Simple Cabal-version: >= 1.10 -Tested-with: GHC == 7.8.4, GHC == 7.10.3, - GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, - GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, - GHC == 9.0.1 + +Tested-with: + GHC == 9.6.2 + GHC == 9.4.5 + GHC == 9.2.8 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + GHC == 7.10.3 + GHC == 7.8.4 Extra-source-files: CHANGELOG @@ -39,10 +49,10 @@ Text.Blaze.Renderer.Utf8 Build-depends: - base >= 4 && < 4.16, + base >= 4 && < 5, blaze-builder >= 0.3 && < 0.5, - text >= 0.10 && < 1.3, - bytestring >= 0.9 && < 0.12 + text >= 0.10 && < 2.1, + bytestring >= 0.9 && < 0.13 Test-suite blaze-markup-tests Type: exitcode-stdio-1.0 @@ -62,17 +72,18 @@ Text.Blaze.Tests.Util Build-depends: - HUnit >= 1.2 && < 1.7, - QuickCheck >= 2.7 && < 2.15, - containers >= 0.3 && < 0.7, - tasty >= 1.0 && < 1.5, - tasty-hunit >= 0.10 && < 0.11, - tasty-quickcheck >= 0.10 && < 0.11, -- Copied from regular dependencies... - base >= 4 && < 4.16, - blaze-builder >= 0.3 && < 0.5, - text >= 0.10 && < 1.3, - bytestring >= 0.9 && < 0.12 + base + , blaze-builder + , text + , bytestring + -- Extra dependencies + , HUnit >= 1.2 && < 1.7 + , QuickCheck >= 2.7 && < 2.15 + , containers >= 0.3 && < 0.7 + , tasty >= 1.0 && < 1.5 + , tasty-hunit >= 0.10 && < 0.11 + , tasty-quickcheck >= 0.10 && < 0.11 Source-repository head Type: git diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blaze-markup-0.8.2.8/src/Text/Blaze.hs new/blaze-markup-0.8.3.0/src/Text/Blaze.hs --- old/blaze-markup-0.8.2.8/src/Text/Blaze.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/blaze-markup-0.8.3.0/src/Text/Blaze.hs 2001-09-09 03:46:40.000000000 +0200 @@ -84,7 +84,7 @@ , (!) , (!?) - -- * Modifiying Markup trees + -- * Modifying Markup trees , contents ) where @@ -94,6 +94,9 @@ #if MIN_VERSION_base(4,8,0) import Numeric.Natural (Natural) #endif +#if MIN_VERSION_base(4,9,0) +import Data.List.NonEmpty (NonEmpty (..)) +#endif import Data.Text (Text) import qualified Data.Text.Lazy as LT @@ -280,3 +283,13 @@ instance ToValue Word64 where toValue = stringValue . show {-# INLINE toValue #-} + +-- Non-empty strings +#if MIN_VERSION_base(4,9,0) +instance ToMarkup (NonEmpty Char) where + toMarkup (x :| xs) = string (x : xs) + preEscapedToMarkup (x :| xs) = preEscapedString (x : xs) + +instance ToValue (NonEmpty Char) where + toValue (x :| xs) = stringValue (x : xs) +#endif