Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-neat-interpolation for 
openSUSE:Factory checked in at 2022-02-11 23:09:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-neat-interpolation (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-neat-interpolation.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-neat-interpolation"

Fri Feb 11 23:09:22 2022 rev:11 rq:953502 version:0.5.1.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-neat-interpolation/ghc-neat-interpolation.changes
    2020-12-22 11:43:11.461704534 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-neat-interpolation.new.1956/ghc-neat-interpolation.changes
  2022-02-11 23:11:17.471272511 +0100
@@ -1,0 +2,7 @@
+Mon Jan  3 13:53:41 UTC 2022 - Peter Simons <psim...@suse.com>
+
+- Update neat-interpolation to version 0.5.1.3.
+  Upstream has not updated the file "CHANGELOG.md" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  neat-interpolation-0.5.1.2.tar.gz

New:
----
  neat-interpolation-0.5.1.3.tar.gz

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

Other differences:
------------------
++++++ ghc-neat-interpolation.spec ++++++
--- /var/tmp/diff_new_pack.hQ3oZn/_old  2022-02-11 23:11:17.947273888 +0100
+++ /var/tmp/diff_new_pack.hQ3oZn/_new  2022-02-11 23:11:17.951273899 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-neat-interpolation
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name neat-interpolation
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.5.1.2
+Version:        0.5.1.3
 Release:        0
 Summary:        A quasiquoter for neat and simple multiline text interpolation
 License:        MIT

++++++ neat-interpolation-0.5.1.2.tar.gz -> neat-interpolation-0.5.1.3.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/neat-interpolation-0.5.1.2/library/NeatInterpolation.hs 
new/neat-interpolation-0.5.1.3/library/NeatInterpolation.hs
--- old/neat-interpolation-0.5.1.2/library/NeatInterpolation.hs 2020-09-04 
16:26:00.000000000 +0200
+++ new/neat-interpolation-0.5.1.3/library/NeatInterpolation.hs 2022-01-03 
14:53:40.000000000 +0100
@@ -1,84 +1,83 @@
-{-|
-NeatInterpolation provides a quasiquoter for producing strings
-with a simple interpolation of input values.
-It removes the excessive indentation from the input and
-accurately manages the indentation of all lines of interpolated variables.
-But enough words, the code shows it better.
-
-Consider the following declaration:
-
-> {-# LANGUAGE QuasiQuotes #-}
->
-> import NeatInterpolation
-> import Data.Text (Text)
->
-> f :: Text -> Text -> Text
-> f a b =
->   [trimming|
->     function(){
->       function(){
->         $a
->       }
->       return $b
->     }
->   |]
-
-Executing the following:
-
-> main = Text.putStrLn $ f "1" "2"
-
-will produce this (notice the reduced indentation compared to how it was
-declared):
-
-> function(){
->   function(){
->     1
->   }
->   return 2
-> }
-
-Now let's test it with multiline string parameters:
-
-> main = Text.putStrLn $ f
->   "{\n  indented line\n  indented line\n}"
->   "{\n  indented line\n  indented line\n}"
-
-We get
-
-> function(){
->   function(){
->     {
->       indented line
->       indented line
->     }
->   }
->   return {
->     indented line
->     indented line
->   }
-> }
-
-See how it neatly preserved the indentation levels of lines the
-variable placeholders were at?
-
-If you need to separate variable placeholder from the following text to
-prevent treating the rest of line as variable name, use escaped variable:
-
-> f name = [trimming|this_could_be_${name}_long_identifier|]
-
-So
-
-> f "one" == "this_could_be_one_long_identifier"
-
-If you want to write something that looks like a variable but should be
-inserted as-is, escape it with another @$@:
-
-> f word = [trimming|$$my ${word} $${string}|]
-
-results in
-
-> f "funny" == "$my funny ${string}"
--}
+-- |
+-- NeatInterpolation provides a quasiquoter for producing strings
+-- with a simple interpolation of input values.
+-- It removes the excessive indentation from the input and
+-- accurately manages the indentation of all lines of interpolated variables.
+-- But enough words, the code shows it better.
+--
+-- Consider the following declaration:
+--
+-- > {-# LANGUAGE QuasiQuotes #-}
+-- >
+-- > import NeatInterpolation
+-- > import Data.Text (Text)
+-- >
+-- > f :: Text -> Text -> Text
+-- > f a b =
+-- >   [trimming|
+-- >     function(){
+-- >       function(){
+-- >         $a
+-- >       }
+-- >       return $b
+-- >     }
+-- >   |]
+--
+-- Executing the following:
+--
+-- > main = Text.putStrLn $ f "1" "2"
+--
+-- will produce this (notice the reduced indentation compared to how it was
+-- declared):
+--
+-- > function(){
+-- >   function(){
+-- >     1
+-- >   }
+-- >   return 2
+-- > }
+--
+-- Now let's test it with multiline string parameters:
+--
+-- > main = Text.putStrLn $ f
+-- >   "{\n  indented line\n  indented line\n}"
+-- >   "{\n  indented line\n  indented line\n}"
+--
+-- We get
+--
+-- > function(){
+-- >   function(){
+-- >     {
+-- >       indented line
+-- >       indented line
+-- >     }
+-- >   }
+-- >   return {
+-- >     indented line
+-- >     indented line
+-- >   }
+-- > }
+--
+-- See how it neatly preserved the indentation levels of lines the
+-- variable placeholders were at?
+--
+-- If you need to separate variable placeholder from the following text to
+-- prevent treating the rest of line as variable name, use escaped variable:
+--
+-- > f name = [trimming|this_could_be_${name}_long_identifier|]
+--
+-- So
+--
+-- > f "one" == "this_could_be_one_long_identifier"
+--
+-- If you want to write something that looks like a variable but should be
+-- inserted as-is, escape it with another @$@:
+--
+-- > f word = [trimming|$$my ${word} $${string}|]
+--
+-- results in
+--
+-- > f "funny" == "$my funny ${string}"
 module NeatInterpolation (trimming, untrimming, text) where
 
 import NeatInterpolation.Prelude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neat-interpolation-0.5.1.2/neat-interpolation.cabal 
new/neat-interpolation-0.5.1.3/neat-interpolation.cabal
--- old/neat-interpolation-0.5.1.2/neat-interpolation.cabal     2020-09-04 
16:26:00.000000000 +0200
+++ new/neat-interpolation-0.5.1.3/neat-interpolation.cabal     2022-01-03 
14:53:40.000000000 +0100
@@ -1,5 +1,5 @@
 name: neat-interpolation
-version: 0.5.1.2
+version: 0.5.1.3
 synopsis: A quasiquoter for neat and simple multiline text interpolation
 description:
   A quasiquoter for producing Text values with support for
@@ -36,7 +36,7 @@
     base >=4.9 && <5,
     megaparsec >=7 && <10,
     template-haskell >=2.8 && <3,
-    text ==1.*
+    text >=1 && <3
 
 test-suite test
   type: exitcode-stdio-1.0

Reply via email to