Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2023-06-22 23:25:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-conduit.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-conduit"

Thu Jun 22 23:25:18 2023 rev:36 rq:1094424 version:1.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2023-04-04 
21:19:22.520790623 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.15902/ghc-conduit.changes       
2023-06-22 23:25:42.153731870 +0200
@@ -1,0 +2,8 @@
+Mon May 22 15:14:29 UTC 2023 - Peter Simons <psim...@suse.com>
+
+- Update conduit to version 1.3.5.
+  ## 1.3.5
+
+  * Add `groupOn`
+
+-------------------------------------------------------------------

Old:
----
  conduit-1.3.4.3.tar.gz
  conduit.cabal

New:
----
  conduit-1.3.5.tar.gz

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

Other differences:
------------------
++++++ ghc-conduit.spec ++++++
--- /var/tmp/diff_new_pack.jygAaY/_old  2023-06-22 23:25:42.917735766 +0200
+++ /var/tmp/diff_new_pack.jygAaY/_new  2023-06-22 23:25:42.921735786 +0200
@@ -20,13 +20,12 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.3.4.3
+Version:        1.3.5
 Release:        0
 Summary:        Streaming data processing library
 License:        MIT
 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:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-prof
@@ -116,7 +115,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ conduit-1.3.4.3.tar.gz -> conduit-1.3.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.4.3/ChangeLog.md 
new/conduit-1.3.5/ChangeLog.md
--- old/conduit-1.3.4.3/ChangeLog.md    2022-10-06 09:02:00.000000000 +0200
+++ new/conduit-1.3.5/ChangeLog.md      2023-05-22 17:14:02.000000000 +0200
@@ -1,5 +1,9 @@
 # ChangeLog for conduit
 
+## 1.3.5
+
+* Add `groupOn`
+
 ## 1.3.4.3
 
 * Fix space leak in `*>` 
[#496](https://github.com/snoyberg/conduit/issues/496) 
[#497](https://github.com/snoyberg/conduit/pull/497)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.4.3/conduit.cabal 
new/conduit-1.3.5/conduit.cabal
--- old/conduit-1.3.4.3/conduit.cabal   2022-10-06 09:02:00.000000000 +0200
+++ new/conduit-1.3.5/conduit.cabal     2023-05-22 17:13:51.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                conduit
-Version:             1.3.4.3
+Version:             1.3.5
 Synopsis:            Streaming data processing library.
 description:
     `conduit` is a solution to the streaming data problem, allowing for 
production,
@@ -44,7 +44,7 @@
                        Data.Streaming.FileRead
                        Data.Streaming.Filesystem
   Build-depends:       base                     >= 4.12         && < 5
-                     , resourcet                >= 1.2          && < 1.3
+                     , resourcet                >= 1.2          && < 1.4
                      , transformers             >= 0.4
                      , mtl
                      , primitive
@@ -132,7 +132,6 @@
                   , hspec
                   , mwc-random
                   , gauge
-                  , kan-extensions
     main-is:        optimize-201408.hs
     ghc-options:    -Wall -O2 -rtsopts
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.4.3/src/Data/Conduit/List.hs 
new/conduit-1.3.5/src/Data/Conduit/List.hs
--- old/conduit-1.3.4.3/src/Data/Conduit/List.hs        2022-10-02 
06:29:48.000000000 +0200
+++ new/conduit-1.3.5/src/Data/Conduit/List.hs  2023-05-22 17:14:05.000000000 
+0200
@@ -59,6 +59,9 @@
     , chunksOf
     , groupBy
     , groupOn1
+#if MIN_VERSION_base(4,9,0)
+    , groupOn
+#endif
     , isolate
     , filter
       -- ** Monadic
@@ -95,6 +98,9 @@
     )
 import Data.Monoid (Monoid, mempty, mappend)
 import qualified Data.Foldable as F
+#if MIN_VERSION_base(4,9,0)
+import Data.List.NonEmpty (NonEmpty ((:|)))
+#endif
 import Data.Conduit
 import Data.Conduit.Internal.Conduit (unconsM, unconsEitherM)
 import Data.Conduit.Internal.Fusion
@@ -768,6 +774,16 @@
             | otherwise  = yield (x, rest []) >> loop id y
 STREAMING(groupOn1, groupOn1C, groupOn1S, f)
 
+#if MIN_VERSION_base(4,9,0)
+-- | Like 'groupOn1', but returning a 'NonEmpty' structure.
+--
+-- @since 1.3.5
+groupOn :: (Monad m, Eq b)
+        => (a -> b)
+        -> ConduitT a (NonEmpty a) m ()
+groupOn f = groupOn1 f .| map (Prelude.uncurry (:|))
+#endif
+
 -- | Ensure that the inner sink consumes no more than the given number of
 -- values. Note this this does /not/ ensure that the sink consumes all of those
 -- values. To get the latter behavior, combine with 'sinkNull', e.g.:

Reply via email to