commit ghc-conduit for openSUSE:Factory

2020-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2020-10-18 16:32:12

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.3486 (New)


Package is "ghc-conduit"

Sun Oct 18 16:32:12 2020 rev:29 rq:842266 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2020-09-07 
21:30:33.073248220 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.3486/ghc-conduit.changes
2020-10-18 16:33:41.796818633 +0200
@@ -1,0 +2,8 @@
+Sat Oct 17 02:01:33 UTC 2020 - psim...@suse.com
+
+- Update conduit to version 1.3.3.
+  ## 1.3.3
+
+  * Add `uncons`, `unconsM`, `unconsEither`, `unconsEitherM`.
+
+---

Old:

  conduit-1.3.2.1.tar.gz

New:

  conduit-1.3.3.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.l9N5w6/_old  2020-10-18 16:33:42.312818863 +0200
+++ /var/tmp/diff_new_pack.l9N5w6/_new  2020-10-18 16:33:42.316818864 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.2.1
+Version:1.3.3
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.3.2.1.tar.gz -> conduit-1.3.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2.1/ChangeLog.md 
new/conduit-1.3.3/ChangeLog.md
--- old/conduit-1.3.2.1/ChangeLog.md2020-08-31 22:19:16.0 +0200
+++ new/conduit-1.3.3/ChangeLog.md  2020-10-16 06:26:34.0 +0200
@@ -1,5 +1,9 @@
 # ChangeLog for conduit
 
+## 1.3.3
+
+* Add `uncons`, `unconsM`, `unconsEither`, `unconsEitherM`.
+
 ## 1.3.2.1
 
 * Fix isChunksForExactlyE 
[#445](https://github.com/snoyberg/conduit/issues/445) 
[#446](https://github.com/snoyberg/conduit/pull/446)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2.1/conduit.cabal 
new/conduit-1.3.3/conduit.cabal
--- old/conduit-1.3.2.1/conduit.cabal   2020-08-31 22:20:24.0 +0200
+++ new/conduit-1.3.3/conduit.cabal 2020-10-16 06:30:25.0 +0200
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.2.1
+Version: 1.3.3
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2.1/src/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.3.3/src/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.3.2.1/src/Data/Conduit/Internal/Conduit.hs2020-06-25 
15:46:35.0 +0200
+++ new/conduit-1.3.3/src/Data/Conduit/Internal/Conduit.hs  2020-10-16 
06:26:34.0 +0200
@@ -38,6 +38,8 @@
 , runConduitRes
 , fuse
 , connect
+, unconsM
+, unconsEitherM
   -- ** Composition
 , connectResume
 , connectResumeConduit
@@ -106,7 +108,7 @@
 import Data.Monoid (Monoid (mappend, mempty))
 import Data.Semigroup (Semigroup ((<>)))
 import Control.Monad.Trans.Resource
-import Data.Conduit.Internal.Pipe hiding (yield, mapOutput, leftover, yieldM, 
await, awaitForever, bracketP)
+import Data.Conduit.Internal.Pipe hiding (yield, mapOutput, leftover, yieldM, 
await, awaitForever, bracketP, unconsM, unconsEitherM)
 import qualified Data.Conduit.Internal.Pipe as CI
 import Control.Monad (forever)
 import Data.Traversable (Traversable (..))
@@ -720,6 +722,40 @@
 -> m r
 connect = ($$)
 
+-- | Split a conduit into head and tail.
+--
+-- Note that you have to 'sealConduitT' it first.
+--
+-- Since 1.3.3
+unconsM :: Monad m
+=> SealedConduitT () o m ()
+-> m (Maybe (o, SealedConduitT () o m ()))
+unconsM (SealedConduitT p) = go p
+  where
+-- This function is the same as @Pipe.unconsM@ but it ignores leftovers.
+go (HaveOutput p o) = pure $ Just (o, SealedConduitT p)
+go (NeedInput _ c) = go $ c ()
+go (Done ()) = pure Nothing
+go (PipeM mp) = mp >>= go
+go (Leftover p ()) = go p
+
+-- | Split a conduit into head and tail or return its result if it is done.
+--
+-- Note that you have to 'sealConduitT' it first.
+--
+-- Since 1.3.3
+unconsEitherM :: Monad m
+  => SealedConduitT () o m r
+  -> m (Either r (o, SealedConduitT () o m r))
+unconsEitherM (SealedConduitT p) = go p
+  where
+-- This function is the same as @Pipe.unconsEitherM@ but it ignores 
leftovers.
+go (HaveOutput p o) = pure $ Right (o, SealedConduitT p)
+go (NeedInput _ c) = go $ c ()
+go (Done 

commit ghc-conduit for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2020-09-07 21:29:16

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.3399 (New)


Package is "ghc-conduit"

Mon Sep  7 21:29:16 2020 rev:28 rq:832256 version:1.3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2020-08-28 
21:27:47.820508308 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.3399/ghc-conduit.changes
2020-09-07 21:30:33.073248220 +0200
@@ -1,0 +2,8 @@
+Tue Sep  1 14:36:17 UTC 2020 - psim...@suse.com
+
+- Update conduit to version 1.3.2.1.
+  ## 1.3.2.1
+
+  * Fix isChunksForExactlyE 
[#445](https://github.com/snoyberg/conduit/issues/445) 
[#446](https://github.com/snoyberg/conduit/pull/446)
+
+---

Old:

  conduit-1.3.2.tar.gz

New:

  conduit-1.3.2.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.6GjAnq/_old  2020-09-07 21:30:33.625248474 +0200
+++ /var/tmp/diff_new_pack.6GjAnq/_new  2020-09-07 21:30:33.629248475 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.2
+Version:1.3.2.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.3.2.tar.gz -> conduit-1.3.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2/ChangeLog.md 
new/conduit-1.3.2.1/ChangeLog.md
--- old/conduit-1.3.2/ChangeLog.md  2020-03-19 15:15:01.0 +0100
+++ new/conduit-1.3.2.1/ChangeLog.md2020-08-31 22:19:16.0 +0200
@@ -1,5 +1,9 @@
 # ChangeLog for conduit
 
+## 1.3.2.1
+
+* Fix isChunksForExactlyE 
[#445](https://github.com/snoyberg/conduit/issues/445) 
[#446](https://github.com/snoyberg/conduit/pull/446)
+
 ## 1.3.2
 
 * Add `mapInputM` [#435](https://github.com/snoyberg/conduit/pull/435)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2/conduit.cabal 
new/conduit-1.3.2.1/conduit.cabal
--- old/conduit-1.3.2/conduit.cabal 2020-03-19 15:15:01.0 +0100
+++ new/conduit-1.3.2.1/conduit.cabal   2020-08-31 22:20:24.0 +0200
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.2
+Version: 1.3.2.1
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
@@ -17,7 +17,7 @@
 Maintainer:  mich...@snoyman.com
 Category:Data, Conduit
 Build-type:  Simple
-Cabal-version:   >=1.8
+Cabal-version:   >=1.10
 Homepage:http://github.com/snoyberg/conduit
 extra-source-files:  test/main.hs
, test/doctests.hs
@@ -27,6 +27,7 @@
, fusion-macros.h
 
 Library
+  default-language:Haskell2010
   hs-source-dirs:  src
   Exposed-modules: Data.Conduit
Data.Conduit.Combinators
@@ -67,6 +68,7 @@
   include-dirs:.
 
 test-suite conduit-test
+default-language:Haskell2010
 hs-source-dirs: test
 main-is: main.hs
 other-modules: Data.Conduit.Extra.ZipConduitSpec
@@ -118,6 +120,7 @@
 -- ghc-options:-Wall -O2 -with-rtsopts=-s
 
 benchmark optimize-201408
+default-language:Haskell2010
 type: exitcode-stdio-1.0
 hs-source-dirs: benchmarks
 build-depends:  base
@@ -134,6 +137,7 @@
 ghc-options:-Wall -O2 -rtsopts
 
 benchmark unfused
+default-language:Haskell2010
 type: exitcode-stdio-1.0
 hs-source-dirs: benchmarks
 build-depends:  base
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2/src/Data/Conduit/Combinators.hs 
new/conduit-1.3.2.1/src/Data/Conduit/Combinators.hs
--- old/conduit-1.3.2/src/Data/Conduit/Combinators.hs   2020-03-01 
09:25:49.0 +0100
+++ new/conduit-1.3.2.1/src/Data/Conduit/Combinators.hs 2020-08-31 
22:18:23.0 +0200
@@ -1819,7 +1819,7 @@
 chunksOfExactlyE chunkSize = await >>= maybe (return ()) start
 where
 start b
-| onull b = chunksOfE chunkSize
+| onull b = chunksOfExactlyE chunkSize
 | Seq.lengthIndex b < chunkSize = continue (Seq.lengthIndex b) [b]
 | otherwise = let (first,rest) = Seq.splitAt chunkSize b in
 yield first >> start rest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.2/test/main.hs 
new/conduit-1.3.2.1/test/main.hs
--- 

commit ghc-conduit for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2020-08-28 21:27:44

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.3399 (New)


Package is "ghc-conduit"

Fri Aug 28 21:27:44 2020 rev:27 rq:829223 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2020-06-19 
17:10:01.117514478 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.3399/ghc-conduit.changes
2020-08-28 21:27:47.820508308 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:44:24 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.e6XoY4/_old  2020-08-28 21:27:48.696508723 +0200
+++ /var/tmp/diff_new_pack.e6XoY4/_new  2020-08-28 21:27:48.696508723 +0200
@@ -74,7 +74,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-conduit for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2020-06-19 17:10:00

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.3606 (New)


Package is "ghc-conduit"

Fri Jun 19 17:10:00 2020 rev:26 rq:815059 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2020-05-11 
13:35:16.556353137 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.3606/ghc-conduit.changes
2020-06-19 17:10:01.117514478 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:13:55 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.c4OyKM/_old  2020-06-19 17:10:02.413518502 +0200
+++ /var/tmp/diff_new_pack.c4OyKM/_new  2020-06-19 17:10:02.413518502 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-conduit for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2020-05-11 13:34:20

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.2738 (New)


Package is "ghc-conduit"

Mon May 11 13:34:20 2020 rev:25 rq:801006 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2019-12-27 
13:52:25.088618168 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.2738/ghc-conduit.changes
2020-05-11 13:35:16.556353137 +0200
@@ -1,0 +2,8 @@
+Wed May  6 06:54:12 UTC 2020 - psim...@suse.com
+
+- Update conduit to version 1.3.2.
+  ## 1.3.2
+
+  * Add `mapInputM` [#435](https://github.com/snoyberg/conduit/pull/435)
+
+---

Old:

  conduit-1.3.1.2.tar.gz

New:

  conduit-1.3.2.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.YL8eoV/_old  2020-05-11 13:35:17.372354848 +0200
+++ /var/tmp/diff_new_pack.YL8eoV/_new  2020-05-11 13:35:17.376354857 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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 conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.1.2
+Version:1.3.2
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.3.1.2.tar.gz -> conduit-1.3.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.2/ChangeLog.md 
new/conduit-1.3.2/ChangeLog.md
--- old/conduit-1.3.1.2/ChangeLog.md2019-12-16 06:37:44.0 +0100
+++ new/conduit-1.3.2/ChangeLog.md  2020-03-19 15:15:01.0 +0100
@@ -1,5 +1,9 @@
 # ChangeLog for conduit
 
+## 1.3.2
+
+* Add `mapInputM` [#435](https://github.com/snoyberg/conduit/pull/435)
+
 ## 1.3.1.2
 
 * More eagerly emit groups in `chunksOf` 
[#427](https://github.com/snoyberg/conduit/pull/427)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.2/conduit.cabal 
new/conduit-1.3.2/conduit.cabal
--- old/conduit-1.3.1.2/conduit.cabal   2019-12-16 06:37:44.0 +0100
+++ new/conduit-1.3.2/conduit.cabal 2020-03-19 15:15:01.0 +0100
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.1.2
+Version: 1.3.2
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.2/src/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.3.2/src/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.3.1.2/src/Data/Conduit/Internal/Conduit.hs2018-10-06 
21:25:16.0 +0200
+++ new/conduit-1.3.2/src/Data/Conduit/Internal/Conduit.hs  2020-03-19 
15:15:01.0 +0100
@@ -72,6 +72,7 @@
 , Data.Conduit.Internal.Conduit.mapOutput
 , Data.Conduit.Internal.Conduit.mapOutputMaybe
 , Data.Conduit.Internal.Conduit.mapInput
+, Data.Conduit.Internal.Conduit.mapInputM
 , zipSinks
 , zipSources
 , zipSourcesApp
@@ -989,6 +990,22 @@
 go (Leftover p i) = maybe id (flip Leftover) (f' i) (go p)
 in go (c0 Done)
 
+-- | Apply a monadic action to all the input values of a @ConduitT@.
+--
+-- Since 1.3.2
+mapInputM :: Monad m
+  => (i1 -> m i2) -- ^ map initial input to new input
+  -> (i2 -> m (Maybe i1)) -- ^ map new leftovers to initial leftovers
+  -> ConduitT i2 o m r
+  -> ConduitT i1 o m r
+mapInputM f f' (ConduitT c0) = ConduitT $ \rest -> let
+go (HaveOutput p o) = HaveOutput (go p) o
+go (NeedInput p c)  = NeedInput (\i -> PipeM $ go . p <$> f i) (go . c)
+go (Done r) = rest r
+go (PipeM mp)   = PipeM $ fmap go mp
+go (Leftover p i)   = PipeM $ (\x -> maybe id (flip Leftover) x (go p)) 
<$> f' i
+in go (c0 Done)
+
 -- | The connect-and-resume operator. This does not close the @Source@, but
 -- instead returns it to be used again. This allows a @Source@ to be used
 -- incrementally in a large program, without forcing the entire program to live
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.2/src/Data/Conduit/Internal.hs 
new/conduit-1.3.2/src/Data/Conduit/Internal.hs
--- 

commit ghc-conduit for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2019-12-27 13:52:23

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.6675 (New)


Package is "ghc-conduit"

Fri Dec 27 13:52:23 2019 rev:24 rq:759364 version:1.3.1.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2019-03-19 
09:59:37.472059340 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.6675/ghc-conduit.changes
2019-12-27 13:52:25.088618168 +0100
@@ -1,0 +2,13 @@
+Tue Dec 17 03:03:25 UTC 2019 - psim...@suse.com
+
+- Update conduit to version 1.3.1.2.
+  ## 1.3.1.2
+
+  * More eagerly emit groups in `chunksOf` 
[#427](https://github.com/snoyberg/conduit/pull/427)
+
+---
+Fri Nov  8 16:13:28 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  conduit-1.3.1.1.tar.gz

New:

  conduit-1.3.1.2.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.4jBO8H/_old  2019-12-27 13:52:25.540618489 +0100
+++ /var/tmp/diff_new_pack.4jBO8H/_new  2019-12-27 13:52:25.540618489 +0100
@@ -19,11 +19,10 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.1.1
+Version:1.3.1.2
 Release:0
 Summary:Streaming data processing library
 License:MIT
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
@@ -66,7 +65,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++ conduit-1.3.1.1.tar.gz -> conduit-1.3.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.1/ChangeLog.md 
new/conduit-1.3.1.2/ChangeLog.md
--- old/conduit-1.3.1.1/ChangeLog.md2019-03-12 08:53:53.0 +0100
+++ new/conduit-1.3.1.2/ChangeLog.md2019-12-16 06:37:44.0 +0100
@@ -1,5 +1,9 @@
 # ChangeLog for conduit
 
+## 1.3.1.2
+
+* More eagerly emit groups in `chunksOf` 
[#427](https://github.com/snoyberg/conduit/pull/427)
+
 ## 1.3.1.1
 
 * Use lower-case imports (better for cross-compilation) 
[#408](https://github.com/snoyberg/conduit/pull/408)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.1/conduit.cabal 
new/conduit-1.3.1.2/conduit.cabal
--- old/conduit-1.3.1.1/conduit.cabal   2019-03-12 08:53:59.0 +0100
+++ new/conduit-1.3.1.2/conduit.cabal   2019-12-16 06:37:44.0 +0100
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.1.1
+Version: 1.3.1.2
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1.1/src/Data/Conduit/List.hs 
new/conduit-1.3.1.2/src/Data/Conduit/List.hs
--- old/conduit-1.3.1.1/src/Data/Conduit/List.hs2018-04-11 
15:18:24.0 +0200
+++ new/conduit-1.3.1.2/src/Data/Conduit/List.hs2019-12-16 
06:37:44.0 +0100
@@ -88,6 +88,9 @@
 , maybe
 , (<=)
 , (>)
+, error
+, (++)
+, show
 )
 import Data.Monoid (Monoid, mempty, mappend)
 import qualified Data.Foldable as F
@@ -684,17 +687,14 @@
 --
 -- Since 1.2.9
 chunksOf :: Monad m => Int -> ConduitT a [a] m ()
-chunksOf n =
-start
+chunksOf n = if n > 0 then loop n id else error $ "chunksOf size must be 
positive (given " ++ show n ++ ")"
   where
-start = await >>= maybe (return ()) (\x -> loop n (x:))
-
-loop !count rest =
-await >>= maybe (yield (rest [])) go
-  where
-go y
-| count > 1 = loop (count - 1) (rest . (y:))
-| otherwise = yield (rest []) >> loop n (y:)
+loop 0 rest = yield (rest []) >> loop n id
+loop count rest = await >>= \ma -> case ma of
+  Nothing -> case rest [] of
+[] -> return ()
+nonempty -> yield nonempty
+  Just a -> loop (count - 1) (rest . (a :))
 
 -- | Grouping input according to an equality function.
 --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit ghc-conduit for openSUSE:Factory

2019-03-19 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2019-03-19 09:59:34

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new.28833 (New)


Package is "ghc-conduit"

Tue Mar 19 09:59:34 2019 rev:23 rq:686006 version:1.3.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2018-10-25 
08:17:02.644052303 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new.28833/ghc-conduit.changes   
2019-03-19 09:59:37.472059340 +0100
@@ -1,0 +2,10 @@
+Wed Mar 13 11:03:19 UTC 2019 - psim...@suse.com
+
+- Update conduit to version 1.3.1.1.
+  # ChangeLog for conduit
+
+  ## 1.3.1.1
+
+  * Use lower-case imports (better for cross-compilation) 
[#408](https://github.com/snoyberg/conduit/pull/408)
+
+---

Old:

  conduit-1.3.1.tar.gz

New:

  conduit-1.3.1.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.75qk1P/_old  2019-03-19 09:59:38.028056741 +0100
+++ /var/tmp/diff_new_pack.75qk1P/_new  2019-03-19 09:59:38.036056703 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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 conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.1
+Version:1.3.1.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.3.1.tar.gz -> conduit-1.3.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1/ChangeLog.md 
new/conduit-1.3.1.1/ChangeLog.md
--- old/conduit-1.3.1/ChangeLog.md  2018-10-06 21:25:16.0 +0200
+++ new/conduit-1.3.1.1/ChangeLog.md2019-03-12 08:53:53.0 +0100
@@ -1,3 +1,9 @@
+# ChangeLog for conduit
+
+## 1.3.1.1
+
+* Use lower-case imports (better for cross-compilation) 
[#408](https://github.com/snoyberg/conduit/pull/408)
+
 ## 1.3.1
 
 * Add `MonadFail` instance for `ConduitT`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1/conduit.cabal 
new/conduit-1.3.1.1/conduit.cabal
--- old/conduit-1.3.1/conduit.cabal 2018-10-06 21:25:16.0 +0200
+++ new/conduit-1.3.1.1/conduit.cabal   2019-03-12 08:53:59.0 +0100
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.1
+Version: 1.3.1.1
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.1/src/System/Win32File.hsc 
new/conduit-1.3.1.1/src/System/Win32File.hsc
--- old/conduit-1.3.1/src/System/Win32File.hsc  2018-03-14 07:08:08.0 
+0100
+++ new/conduit-1.3.1.1/src/System/Win32File.hsc2019-03-12 
08:52:46.0 +0100
@@ -31,8 +31,8 @@
 
 
 #include 
-#include 
-#include 
+#include 
+#include 
 #include 
 
 newtype OFlag = OFlag CInt




commit ghc-conduit for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2018-10-25 08:15:49

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Thu Oct 25 08:15:49 2018 rev:22 rq:642852 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2018-07-24 
17:16:15.934827904 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2018-10-25 08:17:02.644052303 +0200
@@ -1,0 +2,8 @@
+Wed Oct 10 19:24:07 UTC 2018 - psim...@suse.com
+
+- Update conduit to version 1.3.1.
+  ## 1.3.1
+
+  * Add `MonadFail` instance for `ConduitT`.
+
+---

Old:

  conduit-1.3.0.3.tar.gz

New:

  conduit-1.3.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.IHMVwc/_old  2018-10-25 08:17:03.068052118 +0200
+++ /var/tmp/diff_new_pack.IHMVwc/_new  2018-10-25 08:17:03.072052117 +0200
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.0.3
+Version:1.3.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.3.0.3.tar.gz -> conduit-1.3.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.0.3/ChangeLog.md 
new/conduit-1.3.1/ChangeLog.md
--- old/conduit-1.3.0.3/ChangeLog.md2018-04-11 15:57:42.0 +0200
+++ new/conduit-1.3.1/ChangeLog.md  2018-10-06 21:25:16.0 +0200
@@ -1,3 +1,7 @@
+## 1.3.1
+
+* Add `MonadFail` instance for `ConduitT`.
+
 ## 1.3.0.3
 
 * Improve fusion framework rewrite rules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.0.3/conduit.cabal 
new/conduit-1.3.1/conduit.cabal
--- old/conduit-1.3.0.3/conduit.cabal   2018-05-15 10:09:32.0 +0200
+++ new/conduit-1.3.1/conduit.cabal 2018-10-06 21:25:16.0 +0200
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.0.3
+Version: 1.3.1
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.0.3/src/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.3.1/src/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.3.0.3/src/Data/Conduit/Internal/Conduit.hs2018-05-15 
10:09:32.0 +0200
+++ new/conduit-1.3.1/src/Data/Conduit/Internal/Conduit.hs  2018-10-06 
21:25:16.0 +0200
@@ -91,6 +91,7 @@
 import Control.Exception (Exception)
 import qualified Control.Exception as E (catch)
 import Control.Monad (liftM, liftM2, ap)
+import Control.Monad.Fail(MonadFail(..))
 import Control.Monad.Error.Class(MonadError(..))
 import Control.Monad.Reader.Class(MonadReader(..))
 import Control.Monad.RWS.Class(MonadRWS())
@@ -149,6 +150,10 @@
 return = pure
 ConduitT f >>= g = ConduitT $ \h -> f $ \a -> unConduitT (g a) h
 
+-- | @since 1.3.1
+instance MonadFail m => MonadFail (ConduitT i o m) where
+fail = lift . Control.Monad.Fail.fail
+
 instance MonadThrow m => MonadThrow (ConduitT i o m) where
 throwM = lift . throwM
 
@@ -714,7 +719,7 @@
 -> m r
 connect = ($$)
 
--- | Named function synonym for '.|'.
+-- | Named function synonym for '.|'
 --
 -- Equivalent to '.|' and '=$='. However, the latter is
 -- deprecated and will be removed in a future version.




commit ghc-conduit for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2018-07-24 17:16:12

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Tue Jul 24 17:16:12 2018 rev:21 rq:623744 version:1.3.0.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2018-05-30 
12:25:13.306493558 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2018-07-24 17:16:15.934827904 +0200
@@ -1,0 +2,14 @@
+Wed Jul 18 14:26:18 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Fri Jul 13 14:32:03 UTC 2018 - psim...@suse.com
+
+- Update conduit to version 1.3.0.3.
+  ## 1.3.0.3
+
+  * Improve fusion framework rewrite rules
+
+---
@@ -140 +153,0 @@
-

Old:

  conduit-1.3.0.2.tar.gz

New:

  conduit-1.3.0.3.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.xUd2tu/_old  2018-07-24 17:16:16.478828607 +0200
+++ /var/tmp/diff_new_pack.xUd2tu/_new  2018-07-24 17:16:16.478828607 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.0.2
+Version:1.3.0.3
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.3.0.2.tar.gz -> conduit-1.3.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.0.2/ChangeLog.md 
new/conduit-1.3.0.3/ChangeLog.md
--- old/conduit-1.3.0.2/ChangeLog.md2018-03-18 17:27:23.0 +0100
+++ new/conduit-1.3.0.3/ChangeLog.md2018-04-11 15:57:42.0 +0200
@@ -1,3 +1,7 @@
+## 1.3.0.3
+
+* Improve fusion framework rewrite rules
+
 ## 1.3.0.2
 
 * Replace `ReadMode` with `WriteMode` in `withSinkFile`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.0.2/conduit.cabal 
new/conduit-1.3.0.3/conduit.cabal
--- old/conduit-1.3.0.2/conduit.cabal   2018-03-18 17:27:08.0 +0100
+++ new/conduit-1.3.0.3/conduit.cabal   2018-05-15 10:09:32.0 +0200
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.3.0.2
+Version: 1.3.0.3
 Synopsis:Streaming data processing library.
 description:
 `conduit` is a solution to the streaming data problem, allowing for 
production,
@@ -58,7 +58,6 @@
 
   if os(windows)
 build-depends: Win32
- , filepath
 other-modules: System.Win32File
 cpp-options:   -DWINDOWS
   else
@@ -97,6 +96,9 @@
, unliftio >= 0.2.4.0
 ghc-options: -Wall
 
+  if os(windows)
+cpp-options: -DWINDOWS
+
 --test-suite doctests
 --hs-source-dirs: test
 --main-is: doctests.hs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.3.0.2/src/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.3.0.3/src/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.3.0.2/src/Data/Conduit/Internal/Conduit.hs2018-03-14 
07:08:14.0 +0100
+++ new/conduit-1.3.0.3/src/Data/Conduit/Internal/Conduit.hs2018-05-15 
10:09:32.0 +0200
@@ -34,6 +34,8 @@
 , yieldM
 , leftover
 , runConduit
+, runConduitPure
+, runConduitRes
 , fuse
 , connect
   -- ** Composition
@@ -97,6 +99,7 @@
 import Control.Monad.Trans.Class (MonadTrans (lift))
 import Control.Monad.IO.Unlift (MonadIO (liftIO), MonadUnliftIO, withRunInIO)
 import Control.Monad.Primitive (PrimMonad, PrimState, primitive)
+import Data.Functor.Identity (Identity, runIdentity)
 import Data.Void (Void, absurd)
 import Data.Monoid (Monoid (mappend, mempty))
 import Data.Semigroup (Semigroup ((<>)))
@@ -730,6 +733,22 @@
 -- Equivalent to 'fuse' and '=$=', however the latter is deprecated and will
 -- be removed in a future version.
 --
+-- Note that, while this operator looks like categorical composition
+-- (from "Control.Category"), there are a few reasons it's different:
+--
+-- * The position of the type parameters to 'ConduitT' do not
+--   match. We would need to change @ConduitT i o m r@ to @ConduitT r
+--   m i o@, which would preclude a 'Monad' or 'MonadTrans' instance.
+--
+-- * The result value from upstream and downstream are allowed to
+--   differ between upstream and downstream. In other words, we would
+--   need the type signature here to look like @ConduitT a b m r ->
+--   ConduitT b c m r -> ConduitT 

commit ghc-conduit for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2018-05-30 12:05:05

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Wed May 30 12:05:05 2018 rev:20 rq:607770 version:1.3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2017-09-15 
21:28:02.370351874 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2018-05-30 12:25:13.306493558 +0200
@@ -1,0 +2,20 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update conduit to version 1.3.0.2.
+  * Replace `ReadMode` with `WriteMode` in `withSinkFile`
+  * Test suite compatibility with GHC 8.4.1 
[#358](https://github.com/snoyberg/conduit/issues/358)
+  * Drop monad-control and exceptions in favor of unliftio
+  * Drop mmorph dependency
+  * Deprecate old type synonyms and operators
+  * Drop finalizers from the library entirely
+  * Much simpler
+  * Less guarantees about prompt finalization
+  * No more `yieldOr`, `addCleanup`
+  * Replace the `Resumable` types with `SealedConduitT`
+  * Add the `Conduit` and `Data.Conduit.Combinators` modules, stolen from
+`conduit-combinators`
+  * Add `Semigroup` instances 
[#345](https://github.com/snoyberg/conduit/pull/345)
+  * Fix `pass` in `ConduitM` `MonadWriter` instance
+  * Add `exceptC`, `runExceptC` and `catchExceptC` to `Data.Conduit.Lift`
+
+---

Old:

  conduit-1.2.11.tar.gz

New:

  conduit-1.3.0.2.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.Mv9bI1/_old  2018-05-30 12:25:13.902474118 +0200
+++ /var/tmp/diff_new_pack.Mv9bI1/_new  2018-05-30 12:25:13.906473988 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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 conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.11
+Version:1.3.0.2
 Release:0
 Summary:Streaming data processing library
 License:MIT
@@ -27,22 +27,28 @@
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-exceptions-devel
-BuildRequires:  ghc-lifted-base-devel
-BuildRequires:  ghc-mmorph-devel
-BuildRequires:  ghc-monad-control-devel
+BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-mono-traversable-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-primitive-devel
 BuildRequires:  ghc-resourcet-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-transformers-base-devel
+BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-transformers-devel
+BuildRequires:  ghc-unix-devel
+BuildRequires:  ghc-unliftio-core-devel
+BuildRequires:  ghc-vector-devel
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-safe-devel
+BuildRequires:  ghc-silently-devel
 BuildRequires:  ghc-split-devel
+BuildRequires:  ghc-unliftio-devel
 %endif
 
 %description
@@ -88,7 +94,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc ChangeLog.md README.md

++ conduit-1.2.11.tar.gz -> conduit-1.3.0.2.tar.gz ++
 15948 lines of diff (skipped)




commit ghc-conduit for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2017-09-15 21:28:01

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Fri Sep 15 21:28:01 2017 rev:19 rq:524317 version:1.2.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2017-06-21 
13:55:04.137335571 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2017-09-15 21:28:02.370351874 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.ilmWEl/_old  2017-09-15 21:28:03.086250977 +0200
+++ /var/tmp/diff_new_pack.ilmWEl/_new  2017-09-15 21:28:03.090250414 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Streaming data processing library
 License:MIT
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-exceptions-devel
@@ -37,7 +37,6 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-containers-devel
@@ -61,7 +60,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -89,11 +88,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc ChangeLog.md README.md
 
 %changelog




commit ghc-conduit for openSUSE:Factory

2017-06-21 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2017-06-21 13:55:00

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Wed Jun 21 13:55:00 2017 rev:18 rq:504660 version:1.2.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2017-05-16 
14:46:39.770419505 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2017-06-21 13:55:04.137335571 +0200
@@ -1,0 +2,5 @@
+Mon Jun 12 09:41:41 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.11.
+
+---

Old:

  conduit-1.2.10.tar.gz

New:

  conduit-1.2.11.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.PNVwsB/_old  2017-06-21 13:55:06.461007796 +0200
+++ /var/tmp/diff_new_pack.PNVwsB/_new  2017-06-21 13:55:06.465007232 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.10
+Version:1.2.11
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.10.tar.gz -> conduit-1.2.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.10/ChangeLog.md 
new/conduit-1.2.11/ChangeLog.md
--- old/conduit-1.2.10/ChangeLog.md 2017-04-19 10:46:24.0 +0200
+++ new/conduit-1.2.11/ChangeLog.md 2017-06-09 16:35:46.0 +0200
@@ -1,3 +1,7 @@
+## 1.2.11
+
+* Add `unfoldEither` and `unfoldEitherM` to `Data.Conduit.List`
+
 ## 1.2.10
 
 * Add `PrimMonad` instances for `ConduitM` and `Pipe`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.10/Data/Conduit/Internal/List/Stream.hs 
new/conduit-1.2.11/Data/Conduit/Internal/List/Stream.hs
--- old/conduit-1.2.10/Data/Conduit/Internal/List/Stream.hs 2015-11-09 
03:09:15.0 +0100
+++ new/conduit-1.2.11/Data/Conduit/Internal/List/Stream.hs 2017-06-09 
16:35:46.0 +0200
@@ -23,6 +23,19 @@
 Just (x, s') -> Emit s' x
 {-# INLINE unfoldS #-}
 
+unfoldEitherS :: Monad m
+  => (b -> Either r (a, b))
+  -> b
+  -> StreamConduitM i a m r
+unfoldEitherS f s0 _ =
+Stream step (return s0)
+  where
+step s = return $
+case f s of
+Left r-> Stop r
+Right (x, s') -> Emit s' x
+{-# INLINE unfoldEitherS #-}
+
 unfoldMS :: Monad m
  => (b -> m (Maybe (a, b)))
  -> b
@@ -37,6 +50,19 @@
 Just (x, s') -> Emit s' x
 {-# INLINE unfoldMS #-}
 
+unfoldEitherMS :: Monad m
+ => (b -> m (Either r (a, b)))
+ -> b
+ -> StreamConduitM i a m r
+unfoldEitherMS f s0 _ =
+Stream step (return s0)
+  where
+step s = do
+ms' <- f s
+return $ case ms' of
+Left r-> Stop r
+Right (x, s') -> Emit s' x
+{-# INLINE unfoldEitherMS #-}
 sourceListS :: Monad m => [a] -> StreamProducer m a
 sourceListS xs0 _ =
 Stream (return . step) (return xs0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.10/Data/Conduit/List.hs 
new/conduit-1.2.11/Data/Conduit/List.hs
--- old/conduit-1.2.10/Data/Conduit/List.hs 2017-02-08 06:03:05.0 
+0100
+++ new/conduit-1.2.11/Data/Conduit/List.hs 2017-06-09 16:35:46.0 
+0200
@@ -19,7 +19,9 @@
   sourceList
 , sourceNull
 , unfold
+, unfoldEither
 , unfoldM
+, unfoldEitherM
 , enumFromTo
 , iterate
 , replicate
@@ -73,6 +75,7 @@
 import Prelude
 ( ($), return, (==), (-), Int
 , (.), id, Maybe (..), Monad
+, Either (..)
 , Bool (..)
 , (>>)
 , (>>=)
@@ -114,6 +117,25 @@
 {-# INLINE unfoldC #-}
 STREAMING(unfold, unfoldC, unfoldS, f x)
 
+-- | Generate a source from a seed value with a return value.
+--
+-- Subject to fusion
+--
+-- @since 1.2.11
+unfoldEither, unfoldEitherC :: Monad m
+=> (b -> Either r (a, b))
+-> b
+-> ConduitM i a m r
+unfoldEitherC f =
+go
+  where
+go seed =
+case f seed of
+Right (a, seed') -> yield a >> go seed'
+Left r -> return r
+{-# INLINE unfoldEitherC #-}
+STREAMING(unfoldEither, unfoldEitherC, unfoldEitherS, f x)
+
 -- | A monadic unfold.
 --
 -- Subject to fusion
@@ -133,6 +155,25 @@
 Nothing -> return ()
 STREAMING(unfoldM, unfoldMC, unfoldMS, f seed)
 
+-- | A monadic unfoldEither.
+--
+-- Subject to fusion
+--
+-- 

commit ghc-conduit for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2017-05-16 14:45:40

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Tue May 16 14:45:40 2017 rev:17 rq:494900 version:1.2.10

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2017-05-06 
18:28:12.155493836 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2017-05-16 14:46:39.770419505 +0200
@@ -1,0 +2,5 @@
+Mon Apr 24 12:26:41 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.10 with cabal2obs.
+
+---

Old:

  conduit-1.2.9.1.tar.gz

New:

  conduit-1.2.10.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.MoGQAi/_old  2017-05-16 14:46:40.334340278 +0200
+++ /var/tmp/diff_new_pack.MoGQAi/_new  2017-05-16 14:46:40.338339716 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.9.1
+Version:1.2.10
 Release:0
 Summary:Streaming data processing library
 License:MIT
@@ -32,6 +32,7 @@
 BuildRequires:  ghc-mmorph-devel
 BuildRequires:  ghc-monad-control-devel
 BuildRequires:  ghc-mtl-devel
+BuildRequires:  ghc-primitive-devel
 BuildRequires:  ghc-resourcet-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-transformers-base-devel

++ conduit-1.2.9.1.tar.gz -> conduit-1.2.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.9.1/ChangeLog.md 
new/conduit-1.2.10/ChangeLog.md
--- old/conduit-1.2.9.1/ChangeLog.md2017-04-03 16:37:03.0 +0200
+++ new/conduit-1.2.10/ChangeLog.md 2017-04-19 10:46:24.0 +0200
@@ -1,3 +1,8 @@
+## 1.2.10
+
+* Add `PrimMonad` instances for `ConduitM` and `Pipe`
+  [#306](https://github.com/snoyberg/conduit/pull/306)
+
 ## 1.2.9.1
 
 * Ensure downstream and inner sink receive same inputs in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.9.1/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.10/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.9.1/Data/Conduit/Internal/Conduit.hs2017-04-03 
16:37:03.0 +0200
+++ new/conduit-1.2.10/Data/Conduit/Internal/Conduit.hs 2017-04-19 
10:45:43.0 +0200
@@ -8,6 +8,7 @@
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE TupleSections #-}
 {-# LANGUAGE Trustworthy #-}
+{-# LANGUAGE TypeFamilies #-}
 module Data.Conduit.Internal.Conduit
 ( -- ** Types
   ConduitM (..)
@@ -98,6 +99,7 @@
 import Control.Monad.Trans.Class (MonadTrans (lift))
 import Control.Monad.IO.Class (MonadIO (liftIO))
 import Control.Monad.Base (MonadBase (liftBase))
+import Control.Monad.Primitive (PrimMonad, PrimState, primitive)
 import Data.Void (Void, absurd)
 import Data.Monoid (Monoid (mappend, mempty))
 import Control.Monad.Trans.Resource
@@ -251,6 +253,10 @@
 mappend = (>>)
 {-# INLINE mappend #-}
 
+instance PrimMonad m => PrimMonad (ConduitM i o m) where
+  type PrimState (ConduitM i o m) = PrimState m
+  primitive = lift . primitive
+
 -- | Provides a stream of output values, without consuming any input or
 -- producing a final result.
 --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.9.1/Data/Conduit/Internal/Pipe.hs 
new/conduit-1.2.10/Data/Conduit/Internal/Pipe.hs
--- old/conduit-1.2.9.1/Data/Conduit/Internal/Pipe.hs   2016-11-23 
07:54:22.0 +0100
+++ new/conduit-1.2.10/Data/Conduit/Internal/Pipe.hs2017-04-19 
10:45:49.0 +0200
@@ -7,6 +7,7 @@
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE TupleSections #-}
 {-# LANGUAGE Trustworthy #-}
+{-# LANGUAGE TypeFamilies #-}
 module Data.Conduit.Internal.Pipe
 ( -- ** Types
   Pipe (..)
@@ -55,6 +56,7 @@
 import Control.Monad.Trans.Class (MonadTrans (lift))
 import Control.Monad.IO.Class (MonadIO (liftIO))
 import Control.Monad.Base (MonadBase (liftBase))
+import Control.Monad.Primitive (PrimMonad, PrimState, primitive)
 import Data.Void (Void, absurd)
 import Data.Monoid (Monoid (mappend, mempty))
 import Control.Monad.Trans.Resource
@@ -155,6 +157,10 @@
 mappend = (>>)
 {-# INLINE mappend #-}
 
+instance PrimMonad m => PrimMonad (Pipe l i o u m) where
+  type PrimState (Pipe l i o u m) = PrimState m
+  primitive = lift . primitive
+
 instance MonadResource m => MonadResource (Pipe l i o u m) where
 liftResourceT = lift . liftResourceT
 {-# INLINE liftResourceT #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit ghc-conduit for openSUSE:Factory

2017-05-06 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2017-05-06 18:28:10

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Sat May  6 18:28:10 2017 rev:16 rq:491459 version:1.2.9.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2017-03-03 
17:48:47.269077610 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2017-05-06 18:28:12.155493836 +0200
@@ -1,0 +2,5 @@
+Sun Apr  9 18:08:09 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.9.1 with cabal2obs.
+
+---

Old:

  conduit-1.2.9.tar.gz

New:

  conduit-1.2.9.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.Ezys6D/_old  2017-05-06 18:28:12.779405799 +0200
+++ /var/tmp/diff_new_pack.Ezys6D/_new  2017-05-06 18:28:12.783405234 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.9
+Version:1.2.9.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.9.tar.gz -> conduit-1.2.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.9/ChangeLog.md 
new/conduit-1.2.9.1/ChangeLog.md
--- old/conduit-1.2.9/ChangeLog.md  2017-02-08 06:03:05.0 +0100
+++ new/conduit-1.2.9.1/ChangeLog.md2017-04-03 16:37:03.0 +0200
@@ -1,3 +1,9 @@
+## 1.2.9.1
+
+* Ensure downstream and inner sink receive same inputs in
+  `passthroughSink`
+  [#304](https://github.com/snoyberg/conduit/issues/304)
+
 ## 1.2.9
 
 * `chunksOf` [#296](https://github.com/snoyberg/conduit/pull/296)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.9/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.9.1/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.9/Data/Conduit/Internal/Conduit.hs  2016-11-23 
07:54:22.0 +0100
+++ new/conduit-1.2.9.1/Data/Conduit/Internal/Conduit.hs2017-04-03 
16:37:03.0 +0200
@@ -703,23 +703,54 @@
 -> (r -> m ()) -- ^ finalizer
 -> Conduit i m i
 passthroughSink (ConduitM sink0) final = ConduitM $ \rest -> let
-go _ (Done r) = do
+-- A bit of explanation is in order, this function is
+-- non-obvious. The purpose of go is to keep track of the sink
+-- we're passing values to, and then yield values downstream. The
+-- third argument to go is the current state of that sink. That's
+-- relatively straightforward.
+--
+-- The second value is the leftover buffer. These are values that
+-- the sink itself has called leftover on, and must be provided
+-- back to the sink the next time it awaits. _However_, these
+-- values should _not_ be reyielded downstream: we have already
+-- yielded them downstream ourself, and it is the responsibility
+-- of the functions wrapping around passthroughSink to handle the
+-- leftovers from downstream.
+--
+-- The trickiest bit is the first argument, which is a solution to
+-- bug https://github.com/snoyberg/conduit/issues/304. The issue
+-- is that, once we get a value, we need to provide it to both the
+-- inner sink _and_ yield it downstream. The obvious thing to do
+-- is yield first and then recursively call go. Unfortunately,
+-- this doesn't work in all cases: if the downstream component
+-- never calls await again, our yield call will never return, and
+-- our sink will not get the last value. This results is confusing
+-- behavior where the sink and downstream component receive a
+-- different number of values.
+--
+-- Solution: keep a buffer of the next value to yield downstream,
+-- and only yield it downstream in one of two cases: our sink is
+-- asking for another value, or our sink is done. This way, we
+-- ensure that, in all cases, we pass exactly the same number of
+-- values to the inner sink as to downstream.
+
+go mbuf _ (Done r) = do
+maybe (return ()) CI.yield mbuf
 lift $ final r
 unConduitM (awaitForever yield) rest
-go is (Leftover sink i) = go (i:is) sink
-go _ (HaveOutput _ _ o) = absurd o
-go is (PipeM mx) = do
+go mbuf is (Leftover sink i) = go mbuf (i:is) sink
+go _ _ (HaveOutput _ _ o) = absurd o
+go mbuf is (PipeM mx) = do
 x <- lift mx
-go is x
-go (i:is) (NeedInput next _) = go is (next i)
-go [] (NeedInput next done) = do
+go mbuf is 

commit ghc-conduit for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2017-03-03 17:48:46

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Fri Mar  3 17:48:46 2017 rev:15 rq:461616 version:1.2.9

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-10-14 
09:06:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2017-03-03 17:48:47.269077610 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:16:51 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.9 with cabal2obs.
+
+---

Old:

  conduit-1.2.8.tar.gz

New:

  conduit-1.2.9.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.fhuW4Q/_old  2017-03-03 17:48:47.856994579 +0100
+++ /var/tmp/diff_new_pack.fhuW4Q/_new  2017-03-03 17:48:47.860994015 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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 conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.8
+Version:1.2.9
 Release:0
 Summary:Streaming data processing library
 License:MIT
@@ -42,18 +42,21 @@
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-safe-devel
+BuildRequires:  ghc-split-devel
 %endif
 
 %description
-Hackage documentation generation is not reliable. For up to date documentation,
-please see: .
-
-'conduit' is a solution to the streaming data problem, allowing for production,
+`conduit` is a solution to the streaming data problem, allowing for production,
 transformation, and consumption of streams of data in constant memory.
 It is an alternative to lazy I/O which guarantees deterministic resource
-handling, and fits in the same general solution space as
-'enumerator'/'iteratee' and 'pipes'. For a tutorial, please visit
-.
+handling.
+
+For more information about conduit in general, and how this package in
+particular fits into the ecosystem, see [the conduit
+homepage](https://github.com/snoyberg/conduit#readme).
+
+Hackage documentation generation is not reliable. For up to date documentation,
+please see: .
 
 %package devel
 Summary:Haskell %{pkg_name} library development files

++ conduit-1.2.8.tar.gz -> conduit-1.2.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.8/ChangeLog.md 
new/conduit-1.2.9/ChangeLog.md
--- old/conduit-1.2.8/ChangeLog.md  2016-09-27 15:39:10.0 +0200
+++ new/conduit-1.2.9/ChangeLog.md  2017-02-08 06:03:05.0 +0100
@@ -1,3 +1,7 @@
+## 1.2.9
+
+* `chunksOf` [#296](https://github.com/snoyberg/conduit/pull/296)
+
 ## 1.2.8
 
 * Implement
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.8/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.9/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.8/Data/Conduit/Internal/Conduit.hs  2016-09-27 
15:39:10.0 +0200
+++ new/conduit-1.2.9/Data/Conduit/Internal/Conduit.hs  2016-11-23 
07:54:22.0 +0100
@@ -931,7 +931,7 @@
 {-# INLINE yieldOr #-}
 
 -- | Wait for input forever, calling the given inner component for each piece 
of
--- new input. Returns the upstream result type.
+-- new input.
 --
 -- This function is provided as a convenience for the common pattern of
 -- @await@ing input, checking if it's @Just@ and then looping.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.8/Data/Conduit/List.hs 
new/conduit-1.2.9/Data/Conduit/List.hs
--- old/conduit-1.2.8/Data/Conduit/List.hs  2016-09-27 15:39:10.0 
+0200
+++ new/conduit-1.2.9/Data/Conduit/List.hs  2017-02-08 06:03:05.0 
+0100
@@ -50,6 +50,7 @@
 , scanl
 , scan
 , mapAccum
+, chunksOf
 , groupBy
 , groupOn1
 , isolate
@@ -80,6 +81,7 @@
 , Enum, Eq
 , maybe
 , (<=)
+, (>)
 )
 import Data.Monoid (Monoid, mempty, mappend)
 import qualified Data.Foldable as F
@@ -618,8 +620,7 @@
 STREAMING(mapFoldableM, mapFoldableMC, mapFoldableMS, f)
 
 -- | Consume all values from the 

commit ghc-conduit for openSUSE:Factory

2016-10-14 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-10-14 09:06:13

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-08-25 
09:57:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-10-14 09:06:13.0 +0200
@@ -1,0 +2,5 @@
+Sat Oct  1 17:18:07 UTC 2016 - psim...@suse.com
+
+- Update to version 1.2.8 with cabal2obs.
+
+---

Old:

  conduit-1.2.7.tar.gz

New:

  conduit-1.2.8.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.KbtZBm/_old  2016-10-14 09:06:14.0 +0200
+++ /var/tmp/diff_new_pack.KbtZBm/_new  2016-10-14 09:06:14.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.7
+Version:1.2.8
 Release:0
 Summary:Streaming data processing library
 License:MIT
@@ -30,6 +30,7 @@
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-lifted-base-devel
 BuildRequires:  ghc-mmorph-devel
+BuildRequires:  ghc-monad-control-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-resourcet-devel
 BuildRequires:  ghc-rpm-macros

++ conduit-1.2.7.tar.gz -> conduit-1.2.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.7/ChangeLog.md 
new/conduit-1.2.8/ChangeLog.md
--- old/conduit-1.2.7/ChangeLog.md  2016-08-08 13:13:50.0 +0200
+++ new/conduit-1.2.8/ChangeLog.md  2016-09-27 15:39:10.0 +0200
@@ -1,3 +1,11 @@
+## 1.2.8
+
+* Implement
+  [the reskinning 
idea](http://www.snoyman.com/blog/2016/09/proposed-conduit-reskin):
+* `.|`
+* `runConduitPure`
+* `runConduitRes`
+
 ## 1.2.7
 
 * Expose yieldM for ConduitM 
[#270](https://github.com/snoyberg/conduit/pull/270)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.7/Data/Conduit.hs 
new/conduit-1.2.8/Data/Conduit.hs
--- old/conduit-1.2.7/Data/Conduit.hs   2016-08-08 13:13:50.0 +0200
+++ new/conduit-1.2.8/Data/Conduit.hs   2016-09-27 15:39:10.0 +0200
@@ -1,5 +1,6 @@
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE DeriveFunctor #-}
+{-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE Safe #-}
 -- | If this is your first time with conduit, you should probably start with
 -- the tutorial:
@@ -12,6 +13,7 @@
 , Sink
 , ConduitM
   -- ** Connect/fuse operators
+, (.|)
 , ($$)
 , ($=)
 , (=$)
@@ -30,6 +32,8 @@
 , yieldM
 , leftover
 , runConduit
+, runConduitPure
+, runConduitRes
 
   -- ** Finalization
 , bracketP
@@ -97,6 +101,10 @@
 ) where
 
 import Data.Conduit.Internal.Conduit
+import Data.Void (Void)
+import Data.Functor.Identity (Identity, runIdentity)
+import Control.Monad.Trans.Resource (ResourceT, runResourceT)
+import Control.Monad.Trans.Control (MonadBaseControl)
 
 -- | Named function synonym for '$$'.
 --
@@ -109,3 +117,39 @@
 -- Since 1.2.3
 fuse :: Monad m => Conduit a m b -> ConduitM b c m r -> ConduitM a c m r
 fuse = (=$=)
+
+infixr 2 .|
+-- | Combine two @Conduit@s together into a new @Conduit@ (aka 'fuse').
+--
+-- Output from the upstream (left) conduit will be fed into the
+-- downstream (right) conduit. Processing will terminate when
+-- downstream (right) returns. Leftover data returned from the right
+-- @Conduit@ will be discarded.
+--
+-- @since 1.2.8
+(.|) :: Monad m
+ => ConduitM a b m () -- ^ upstream
+ -> ConduitM b c m r -- ^ downstream
+ -> ConduitM a c m r
+(.|) = fuse
+{-# INLINE (.|) #-}
+
+-- | Run a pure pipeline until processing completes, i.e. a pipeline
+-- with @Identity@ as the base monad. This is equivalient to
+-- @runIdentity . runConduit@.
+--
+-- @since 1.2.8
+runConduitPure :: ConduitM () Void Identity r -> r
+runConduitPure = runIdentity . runConduit
+{-# INLINE runConduitPure #-}
+
+-- | Run a pipeline which acquires resources with @ResourceT@, and
+-- then run the @ResourceT@ transformer. This is equivalent to
+-- @runResourceT . runConduit@.
+--
+-- @since 1.2.8
+runConduitRes :: MonadBaseControl IO m
+  => ConduitM () Void (ResourceT m) r
+  -> m r
+runConduitRes = runResourceT . runConduit
+{-# INLINE runConduitRes #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.7/conduit.cabal 
new/conduit-1.2.8/conduit.cabal
--- old/conduit-1.2.7/conduit.cabal 

commit ghc-conduit for openSUSE:Factory

2016-08-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-08-25 09:57:50

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-07-21 
08:05:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-08-25 09:57:54.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug 17 18:45:50 UTC 2016 - psim...@suse.com
+
+- Update to version 1.2.7 revision 0 with cabal2obs.
+
+---

Old:

  conduit-1.2.6.6.tar.gz

New:

  conduit-1.2.7.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.1LMSJt/_old  2016-08-25 09:57:55.0 +0200
+++ /var/tmp/diff_new_pack.1LMSJt/_new  2016-08-25 09:57:55.0 +0200
@@ -19,15 +19,14 @@
 %global pkg_name conduit
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.6.6
+Version:1.2.7
 Release:0
 Summary:Streaming data processing library
 License:MIT
-Group:  System/Libraries
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-lifted-base-devel
 BuildRequires:  ghc-mmorph-devel
@@ -43,7 +42,6 @@
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-safe-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Hackage documentation generation is not reliable. For up to date documentation,
@@ -70,20 +68,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ conduit-1.2.6.6.tar.gz -> conduit-1.2.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.6/ChangeLog.md 
new/conduit-1.2.7/ChangeLog.md
--- old/conduit-1.2.6.6/ChangeLog.md2016-05-05 14:29:07.0 +0200
+++ new/conduit-1.2.7/ChangeLog.md  2016-08-08 13:13:50.0 +0200
@@ -1,3 +1,7 @@
+## 1.2.7
+
+* Expose yieldM for ConduitM 
[#270](https://github.com/snoyberg/conduit/pull/270)
+
 ## 1.2.6.6
 
 * Fix test suite compilation on older GHCs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.6/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.7/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.6.6/Data/Conduit/Internal/Conduit.hs2016-05-05 
14:29:07.0 +0200
+++ new/conduit-1.2.7/Data/Conduit/Internal/Conduit.hs  2016-08-08 
13:13:50.0 +0200
@@ -419,7 +419,7 @@
 -- example, if an exception is thrown in a @Source@ feeding to a @Sink@, and
 -- the @Sink@ uses @catchC@, the exception will /not/ be caught.
 --
--- Due to this behavior (as well as lack of async exception handling), you
+-- Due to this behavior (as well as lack of async exception safety), you
 -- should not try to implement combinators such as @onException@ in terms of 
this
 -- primitive function.
 --
@@ -842,6 +842,9 @@
 yield o = yieldOr o (return ())
 {-# INLINE yield #-}
 
+-- | Send a monadic value downstream for the next component to consume.
+--
+-- @since 1.2.7
 yieldM :: Monad m => m o -> ConduitM i o m ()
 yieldM mo = lift mo >>= yield
 {-# INLINE yieldM #-}
@@ -854,7 +857,7 @@
 -- /Note/: it is highly encouraged to only return leftover values from input
 -- already consumed from upstream.
 --
--- Since 0.5.0
+-- @since 0.5.0
 leftover :: i -> ConduitM i o m ()
 leftover i = ConduitM $ \rest -> Leftover (rest ()) i
 {-# INLINE leftover #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.6/Data/Conduit.hs 
new/conduit-1.2.7/Data/Conduit.hs
--- old/conduit-1.2.6.6/Data/Conduit.hs 2016-05-05 14:29:07.0 +0200
+++ new/conduit-1.2.7/Data/Conduit.hs   2016-08-08 13:13:50.0 +0200
@@ -3,7 +3,7 @@
 {-# LANGUAGE Safe #-}
 -- | If this is your first time with conduit, you should probably start with
 -- the tutorial:
--- 
.
+-- .
 module Data.Conduit
 ( -- * Core interface
   -- ** Types
@@ -27,6 +27,7 @@
   -- ** Primitives
 , await
 , yield
+, yieldM
 , leftover
 , runConduit
 
diff 

commit ghc-conduit for openSUSE:Factory

2016-07-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-07-21 08:05:49

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-05-17 
17:14:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-07-21 08:05:51.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:29:28 UTC 2016 - psim...@suse.com
+
+- Update to version 1.2.6.6 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.YRxkF2/_old  2016-07-21 08:05:52.0 +0200
+++ /var/tmp/diff_new_pack.YRxkF2/_new  2016-07-21 08:05:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,64 +17,74 @@
 
 
 %global pkg_name conduit
-
-Name:   ghc-conduit
+%bcond_with tests
+Name:   ghc-%{pkg_name}
 Version:1.2.6.6
 Release:0
 Summary:Streaming data processing library
 License:MIT
 Group:  System/Libraries
-
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
+Url:https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
-BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-lifted-base-devel
 BuildRequires:  ghc-mmorph-devel
-BuildRequires:  ghc-monad-control-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-resourcet-devel
-BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-transformers-base-devel
 BuildRequires:  ghc-transformers-devel
-BuildRequires:  ghc-void-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if %{with tests}
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-safe-devel
+%endif
 # End cabal-rpm deps
 
 %description
+Hackage documentation generation is not reliable. For up to date documentation,
+please see: .
+
 'conduit' is a solution to the streaming data problem, allowing for production,
 transformation, and consumption of streams of data in constant memory.
 It is an alternative to lazy I/O which guarantees deterministic resource
 handling, and fits in the same general solution space as
 'enumerator'/'iteratee' and 'pipes'. For a tutorial, please visit
-https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview.
-
+.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
-Provides:   %{name}-static = %{version}-%{release}
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
+%check
+%if %{with tests}
+%{cabal} test
+%endif
+
+
 %post devel
 %ghc_pkg_recache
 
@@ -87,5 +97,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc ChangeLog.md README.md
 
 %changelog




commit ghc-conduit for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-05-17 17:14:31

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-03-16 
10:36:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-05-17 17:14:32.0 +0200
@@ -1,0 +2,7 @@
+Sat May  7 06:19:42 UTC 2016 - mimi...@gmail.com
+
+- update to 1.2.6.6
+* Fix test suite compilation on older GHCs
+* In zipConduitApp, left bias not respected mixing monadic and non-monadic 
conduits
+
+---

Old:

  conduit-1.2.6.4.tar.gz

New:

  conduit-1.2.6.6.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.ai8y93/_old  2016-05-17 17:14:33.0 +0200
+++ /var/tmp/diff_new_pack.ai8y93/_new  2016-05-17 17:14:33.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.6.4
+Version:1.2.6.6
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.6.4.tar.gz -> conduit-1.2.6.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.4/ChangeLog.md 
new/conduit-1.2.6.6/ChangeLog.md
--- old/conduit-1.2.6.4/ChangeLog.md2016-03-10 09:33:45.0 +0100
+++ new/conduit-1.2.6.6/ChangeLog.md2016-05-05 14:29:07.0 +0200
@@ -1,3 +1,11 @@
+## 1.2.6.6
+
+* Fix test suite compilation on older GHCs
+
+## 1.2.6.5
+
+* In zipConduitApp, left bias not respected mixing monadic and non-monadic 
conduits [#263](https://github.com/snoyberg/conduit/pull/263)
+
 ## 1.2.6.4
 
 * Fix benchmark by adding a type signature
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.4/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.6.6/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.6.4/Data/Conduit/Internal/Conduit.hs2016-03-10 
09:33:45.0 +0100
+++ new/conduit-1.2.6.6/Data/Conduit/Internal/Conduit.hs2016-05-05 
14:29:07.0 +0200
@@ -540,6 +540,8 @@
 -> ConduitM i o m y
 zipConduitApp (ConduitM left0) (ConduitM right0) = ConduitM $ \rest -> let
 go _ _ (Done f) (Done x) = rest (f x)
+go finalX finalY (PipeM mx) y = PipeM (flip (go finalX finalY) y `liftM` 
mx)
+go finalX finalY x (PipeM my) = PipeM (go finalX finalY x `liftM` my)
 go _ finalY (HaveOutput x finalX o) y = HaveOutput
 (go finalX finalY x y)
 (finalX >> finalY)
@@ -550,8 +552,6 @@
 o
 go _ _ (Leftover _ i) _ = absurd i
 go _ _ _ (Leftover _ i) = absurd i
-go finalX finalY (PipeM mx) y = PipeM (flip (go finalX finalY) y `liftM` 
mx)
-go finalX finalY x (PipeM my) = PipeM (go finalX finalY x `liftM` my)
 go finalX finalY (NeedInput px cx) (NeedInput py cy) = NeedInput
 (\i -> go finalX finalY (px i) (py i))
 (\u -> go finalX finalY (cx u) (cy u))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.4/conduit.cabal 
new/conduit-1.2.6.6/conduit.cabal
--- old/conduit-1.2.6.4/conduit.cabal   2016-03-10 09:33:45.0 +0100
+++ new/conduit-1.2.6.6/conduit.cabal   2016-05-05 14:29:07.0 +0200
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.2.6.4
+Version: 1.2.6.6
 Synopsis:Streaming data processing library.
 description:
 Hackage documentation generation is not reliable. For up to date 
documentation, please see: .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/conduit-1.2.6.4/test/Data/Conduit/Extra/ZipConduitSpec.hs 
new/conduit-1.2.6.6/test/Data/Conduit/Extra/ZipConduitSpec.hs
--- old/conduit-1.2.6.4/test/Data/Conduit/Extra/ZipConduitSpec.hs   
2016-03-10 09:33:45.0 +0100
+++ new/conduit-1.2.6.6/test/Data/Conduit/Extra/ZipConduitSpec.hs   
2016-05-05 14:29:07.0 +0200
@@ -2,7 +2,7 @@
 import Test.Hspec
 import Data.Conduit
 import qualified Data.Conduit.List as CL
-import Control.Applicative ((<*))
+import Control.Applicative ((<*), pure)
 
 spec :: Spec
 spec = describe "Data.Conduit.Extra.ZipConduit" $ do
@@ -24,3 +24,11 @@
 sink = CL.consume
 res <- src $$ conduit =$ sink
 res `shouldBe` [2, 1, 1, 3, 2, 2, 4, 3, 3, 12]
+it "ZipConduitMonad" $ do
+let src = mapM_ yield [1..3 :: Int]
+

commit ghc-conduit for openSUSE:Factory

2016-03-16 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-03-16 10:35:58

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-02-23 
16:59:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-03-16 10:36:10.0 +0100
@@ -1,0 +2,11 @@
+Sat Mar 12 09:24:11 UTC 2016 - mimi...@gmail.com
+
+- update to 1.2.6.4
+* fix benchmark by adding typesignature
+
+---
+Mon Mar  7 09:30:03 UTC 2016 - mimi...@gmail.com
+
+- update to 1.2.6.3 
+
+---

Old:

  conduit-1.2.6.2.tar.gz

New:

  conduit-1.2.6.4.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.1pg94j/_old  2016-03-16 10:36:10.0 +0100
+++ /var/tmp/diff_new_pack.1pg94j/_new  2016-03-16 10:36:10.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.6.2
+Version:1.2.6.4
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.6.2.tar.gz -> conduit-1.2.6.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.2/ChangeLog.md 
new/conduit-1.2.6.4/ChangeLog.md
--- old/conduit-1.2.6.2/ChangeLog.md1970-01-01 01:00:00.0 +0100
+++ new/conduit-1.2.6.4/ChangeLog.md2016-03-10 09:33:45.0 +0100
@@ -0,0 +1,51 @@
+## 1.2.6.4
+
+* Fix benchmark by adding a type signature
+
+## 1.2.6.3
+
+* Doc updates
+
+## 1.2.6.2
+
+* resourcet cannot be built with GHC 8 
[#242](https://github.com/snoyberg/conduit/issues/242)
+* Remove upper bound on transformers 
[#253](https://github.com/snoyberg/conduit/issues/253)
+
+## 1.2.6
+
+* `sourceToList`
+* Canonicalise Monad instances 
[#237](https://github.com/snoyberg/conduit/pull/237)
+
+## 1.2.5
+
+* mapAccum and mapAccumM should be strict in their state 
[#218](https://github.com/snoyberg/conduit/issues/218)
+
+## 1.2.4.1
+
+* Some documentation improvements
+
+## 1.2.4
+
+* [fuseBothMaybe](https://github.com/snoyberg/conduit/issues/199)
+
+__1.2.3__ Expose `connect` and `fuse` as synonyms for `$$` and `=$=`, 
respectively.
+
+__1.2.2__ Lots more stream fusion.
+
+__1.2__ Two performance optimizations added. (1) A stream fusion framework. 
This is a non-breaking change. (2) Codensity transform applied to the 
`ConduitM` datatype. This only affects users importing the `.Internal` module. 
Both changes are thoroughly described in the following to blog posts: [Speeding 
up conduit](https://www.fpcomplete.com/blog/2014/08/iap-speeding-up-conduit), 
and [conduit stream 
fusion](https://www.fpcomplete.com/blog/2014/08/conduit-stream-fusion).
+
+__1.1__ Refactoring into conduit and conduit-extra packages. Core 
functionality is now in conduit, whereas most common helper modules (including 
Text, Binary, Zlib, etc) are in conduit-extra. To upgrade to this version, 
there should only be import list and conduit file changes necessary.
+
+__1.0__ Simplified the user-facing interface back to the Source, Sink, and 
Conduit types, with Producer and Consumer for generic code. Error messages have 
been simplified, and optional leftovers and upstream terminators have been 
removed from the external API. Some long-deprecated functions were finally 
removed.
+
+__0.5__ The internals of the package are now separated to the .Internal 
module, leaving only the higher-level interface in the advertised API. 
Internally, switched to a `Leftover` constructor and slightly tweaked the 
finalization semantics.
+
+__0.4__ Inspired by the design of the pipes package: we now have a single 
unified type underlying `Source`, `Sink`, and `Conduit`. This type is named 
`Pipe`. There are type synonyms provided for the other three types. 
Additionally, `BufferedSource` is no longer provided. Instead, the 
connect-and-resume operator, `$$+`, can be used for the same purpose.
+
+__0.3__ ResourceT has been greatly simplified, specialized for IO, and moved 
into a separate package. Instead of hard-coding ResourceT into the conduit 
datatypes, they can now live around any monad. The Conduit datatype has been 
enhanced to better allow generation of streaming output. The SourceResult, 
SinkResult, and ConduitResult datatypes have been removed entirely.
+
+__0.2__ Instead of storing state in mutable variables, we now use CPS. A 
`Source` returns the next `Source`, and likewise for `Sink`s and 

commit ghc-conduit for openSUSE:Factory

2016-02-23 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-02-23 16:57:36

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2016-01-08 
15:23:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-02-23 16:59:29.0 +0100
@@ -1,0 +2,7 @@
+Mon Feb 15 19:53:19 UTC 2016 - mimi...@gmail.com
+
+- update to 1.2.6.2
+* resourcet cannot be built with GHC 8
+* Remove upper bound on transformers
+
+---

Old:

  conduit-1.2.6.1.tar.gz

New:

  conduit-1.2.6.2.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.IqmzbJ/_old  2016-02-23 16:59:29.0 +0100
+++ /var/tmp/diff_new_pack.IqmzbJ/_new  2016-02-23 16:59:29.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.6.1
+Version:1.2.6.2
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.6.1.tar.gz -> conduit-1.2.6.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.1/Data/Conduit/Internal/Pipe.hs 
new/conduit-1.2.6.2/Data/Conduit/Internal/Pipe.hs
--- old/conduit-1.2.6.1/Data/Conduit/Internal/Pipe.hs   2015-12-30 
07:24:30.0 +0100
+++ new/conduit-1.2.6.2/Data/Conduit/Internal/Pipe.hs   2016-02-14 
13:15:29.0 +0100
@@ -6,7 +6,6 @@
 {-# LANGUAGE UndecidableInstances #-}
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE TupleSections #-}
-{-# LANGUAGE ImpredicativeTypes #-}
 {-# LANGUAGE Trustworthy #-}
 module Data.Conduit.Internal.Pipe
 ( -- ** Types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.1/changelog.md 
new/conduit-1.2.6.2/changelog.md
--- old/conduit-1.2.6.1/changelog.md2015-12-30 07:24:30.0 +0100
+++ new/conduit-1.2.6.2/changelog.md2016-02-14 13:15:29.0 +0100
@@ -1,3 +1,8 @@
+## 1.2.6.2
+
+* resourcet cannot be built with GHC 8 
[#242](https://github.com/snoyberg/conduit/issues/242)
+* Remove upper bound on transformers 
[#253](https://github.com/snoyberg/conduit/issues/253)
+
 ## 1.2.6
 
 * `sourceToList`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6.1/conduit.cabal 
new/conduit-1.2.6.2/conduit.cabal
--- old/conduit-1.2.6.1/conduit.cabal   2015-12-30 07:24:30.0 +0100
+++ new/conduit-1.2.6.2/conduit.cabal   2016-02-14 13:15:29.0 +0100
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.2.6.1
+Version: 1.2.6.2
 Synopsis:Streaming data processing library.
 description:
 Hackage documentation generation is not reliable. For up to date 
documentation, please see: .
@@ -32,7 +32,7 @@
  , exceptions   >= 0.6
  , lifted-base  >= 0.1
  , transformers-base>= 0.4.1&& < 0.5
- , transformers >= 0.2.2&& < 0.5
+ , transformers >= 0.2.2
  , mtl
  , mmorph
   if !impl(ghc>=7.9)




commit ghc-conduit for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2016-01-08 15:23:07

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2015-12-09 
22:16:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2016-01-08 15:23:09.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec 31 09:56:45 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.6.1
+
+---

Old:

  conduit-1.2.6.tar.gz

New:

  conduit-1.2.6.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.kOIHsC/_old  2016-01-08 15:23:10.0 +0100
+++ /var/tmp/diff_new_pack.kOIHsC/_new  2016-01-08 15:23:10.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.6
+Version:1.2.6.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.6.tar.gz -> conduit-1.2.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.6.1/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.6/Data/Conduit/Internal/Conduit.hs  2015-11-29 
14:39:04.0 +0100
+++ new/conduit-1.2.6.1/Data/Conduit/Internal/Conduit.hs2015-12-30 
07:24:30.0 +0100
@@ -727,8 +727,9 @@
 --
 -- However, @sourceToList@ is able to produce its results lazily, which cannot
 -- be done when running a conduit pipeline in general. Unlike the
--- @Data.Conduit.Lazy@ module, this function performs no unsafe I\/O
--- operations, and therefore can only be as lazily as the underlying monad.
+-- @Data.Conduit.Lazy@ module (in conduit-extra), this function performs no
+-- unsafe I\/O operations, and therefore can only be as lazily as the
+-- underlying monad.
 --
 -- Since 1.2.6
 sourceToList :: Monad m => Source m a -> m [a]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.6/conduit.cabal 
new/conduit-1.2.6.1/conduit.cabal
--- old/conduit-1.2.6/conduit.cabal 2015-11-29 14:39:04.0 +0100
+++ new/conduit-1.2.6.1/conduit.cabal   2015-12-30 07:24:30.0 +0100
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.2.6
+Version: 1.2.6.1
 Synopsis:Streaming data processing library.
 description:
 Hackage documentation generation is not reliable. For up to date 
documentation, please see: .




commit ghc-conduit for openSUSE:Factory

2015-12-09 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2015-12-09 19:52:42

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2015-10-25 
19:13:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2015-12-09 22:16:58.0 +0100
@@ -1,0 +2,7 @@
+Mon Dec  7 10:32:58 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.6
+* sourceToList
+* Canonicalise Monad instances 
+
+---

Old:

  conduit-1.2.5.1.tar.gz

New:

  conduit-1.2.6.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.JHZROl/_old  2015-12-09 22:16:59.0 +0100
+++ /var/tmp/diff_new_pack.JHZROl/_new  2015-12-09 22:16:59.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.5.1
+Version:1.2.6
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.5.1.tar.gz -> conduit-1.2.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5.1/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.6/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.5.1/Data/Conduit/Internal/Conduit.hs2015-10-18 
07:20:06.0 +0200
+++ new/conduit-1.2.6/Data/Conduit/Internal/Conduit.hs  2015-11-29 
14:39:04.0 +0100
@@ -74,7 +74,9 @@
 , zipSources
 , zipSourcesApp
 , zipConduitApp
+, mergeSource
 , passthroughSink
+, sourceToList
 , fuseBoth
 , fuseBothMaybe
 , fuseUpstream
@@ -123,13 +125,13 @@
 fmap f (ConduitM c) = ConduitM $ \rest -> c (rest . f)
 
 instance Applicative (ConduitM i o m) where
-pure = return
+pure x = ConduitM ($ x)
 {-# INLINE pure #-}
 (<*>) = ap
 {-# INLINE (<*>) #-}
 
 instance Monad (ConduitM i o m) where
-return x = ConduitM ($ x)
+return = pure
 ConduitM f >>= g = ConduitM $ \h -> f $ \a -> unConduitM (g a) h
 
 instance MonadThrow m => MonadThrow (ConduitM i o m) where
@@ -664,6 +666,25 @@
 newResumableConduit :: Monad m => Conduit i m o -> ResumableConduit i m o
 newResumableConduit (ConduitM c) = ResumableConduit (c Done) (return ())
 
+
+-- | Merge a @Source@ into a @Conduit@.
+-- The new conduit will stop processing once either source or upstream have 
been exhausted.
+mergeSource
+  :: Monad m
+  => Source m i
+  -> Conduit a m (i, a)
+mergeSource = loop . newResumableSource
+  where
+loop :: Monad m => ResumableSource m i -> Conduit a m (i, a)
+loop src0 = await >>= maybe (lift $ closeResumableSource src0) go
+  where
+go a = do
+  (src1, mi) <- lift $ src0 $$++ await
+  case mi of
+Nothing -> lift $ closeResumableSource src1
+Just i  -> yield (i, a) >> loop src1
+
+
 -- | Turn a @Sink@ into a @Conduit@ in the following way:
 --
 -- * All input passed to the @Sink@ is yielded downstream.
@@ -700,6 +721,26 @@
 go [] (next x)
 in go [] (sink0 Done)
 
+-- | Convert a @Source@ into a list. The basic functionality can be explained 
as:
+--
+-- > sourceToList src = src $$ Data.Conduit.List.consume
+--
+-- However, @sourceToList@ is able to produce its results lazily, which cannot
+-- be done when running a conduit pipeline in general. Unlike the
+-- @Data.Conduit.Lazy@ module, this function performs no unsafe I\/O
+-- operations, and therefore can only be as lazily as the underlying monad.
+--
+-- Since 1.2.6
+sourceToList :: Monad m => Source m a -> m [a]
+sourceToList =
+go . flip unConduitM Done
+  where
+go (Done _) = return []
+go (HaveOutput src _ x) = liftM (x:) (go src)
+go (PipeM msrc) = msrc >>= go
+go (NeedInput _ c) = go (c ())
+go (Leftover p _) = go p
+
 -- Define fixity of all our operators
 infixr 0 $$
 infixl 1 $=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5.1/Data/Conduit/Internal/Pipe.hs 
new/conduit-1.2.6/Data/Conduit/Internal/Pipe.hs
--- old/conduit-1.2.5.1/Data/Conduit/Internal/Pipe.hs   2015-10-18 
07:20:06.0 +0200
+++ new/conduit-1.2.6/Data/Conduit/Internal/Pipe.hs 2015-11-29 
14:39:04.0 +0100
@@ -108,13 +108,13 @@
 {-# INLINE fmap #-}
 
 instance Monad m => Applicative (Pipe l i o u m) where
-pure = return
+pure = Done
 {-# INLINE pure #-}
 (<*>) = ap
 {-# INLINE (<*>) #-}
 
 instance Monad m => Monad (Pipe l i o u m) where
-return = 

commit ghc-conduit for openSUSE:Factory

2015-10-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2015-10-25 19:13:34

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is "ghc-conduit"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2015-08-05 
06:50:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2015-10-25 19:13:35.0 +0100
@@ -1,0 +2,5 @@
+Sun Oct 25 07:55:05 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.5.1
+
+---

Old:

  conduit-1.2.5.tar.gz

New:

  conduit-1.2.5.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.rV3d4H/_old  2015-10-25 19:13:35.0 +0100
+++ /var/tmp/diff_new_pack.rV3d4H/_new  2015-10-25 19:13:35.0 +0100
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.5
+Version:1.2.5.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.5.tar.gz -> conduit-1.2.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.5.1/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.5/Data/Conduit/Internal/Conduit.hs  2015-07-23 
16:05:01.0 +0200
+++ new/conduit-1.2.5.1/Data/Conduit/Internal/Conduit.hs2015-10-18 
07:20:06.0 +0200
@@ -1,4 +1,5 @@
 {-# OPTIONS_HADDOCK not-home #-}
+{-# LANGUAGE DeriveFunctor #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE CPP #-}
@@ -6,8 +7,7 @@
 {-# LANGUAGE UndecidableInstances #-}
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE TupleSections #-}
-{-# LANGUAGE GeneralizedNewtypeDeriving #-}
-{-# LANGUAGE ImpredicativeTypes #-}
+{-# LANGUAGE Trustworthy #-}
 module Data.Conduit.Internal.Conduit
 ( -- ** Types
   ConduitM (..)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5/Data/Conduit/Internal/Fusion.hs 
new/conduit-1.2.5.1/Data/Conduit/Internal/Fusion.hs
--- old/conduit-1.2.5/Data/Conduit/Internal/Fusion.hs   2015-07-23 
16:05:01.0 +0200
+++ new/conduit-1.2.5.1/Data/Conduit/Internal/Fusion.hs 2015-10-18 
07:20:06.0 +0200
@@ -2,6 +2,7 @@
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE BangPatterns #-}
 {-# LANGUAGE DeriveFunctor #-}
+{-# LANGUAGE Trustworthy #-}
 module Data.Conduit.Internal.Fusion
 ( -- ** Types
   Step (..)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5/Data/Conduit/Internal/List/Stream.hs 
new/conduit-1.2.5.1/Data/Conduit/Internal/List/Stream.hs
--- old/conduit-1.2.5/Data/Conduit/Internal/List/Stream.hs  2015-07-23 
16:05:01.0 +0200
+++ new/conduit-1.2.5.1/Data/Conduit/Internal/List/Stream.hs2015-10-18 
07:20:06.0 +0200
@@ -1,6 +1,7 @@
 {-# LANGUAGE BangPatterns #-}
 {-# LANGUAGE TupleSections #-}
 {-# LANGUAGE RankNTypes #-}
+{-# LANGUAGE Trustworthy #-}
 module Data.Conduit.Internal.List.Stream where
 
 import   Control.Monad (liftM)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5/Data/Conduit/Internal/Pipe.hs 
new/conduit-1.2.5.1/Data/Conduit/Internal/Pipe.hs
--- old/conduit-1.2.5/Data/Conduit/Internal/Pipe.hs 2015-07-23 
16:05:01.0 +0200
+++ new/conduit-1.2.5.1/Data/Conduit/Internal/Pipe.hs   2015-10-18 
07:20:06.0 +0200
@@ -6,8 +6,8 @@
 {-# LANGUAGE UndecidableInstances #-}
 {-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE TupleSections #-}
-{-# LANGUAGE GeneralizedNewtypeDeriving #-}
 {-# LANGUAGE ImpredicativeTypes #-}
+{-# LANGUAGE Trustworthy #-}
 module Data.Conduit.Internal.Pipe
 ( -- ** Types
   Pipe (..)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5/Data/Conduit/Internal.hs 
new/conduit-1.2.5.1/Data/Conduit/Internal.hs
--- old/conduit-1.2.5/Data/Conduit/Internal.hs  2015-07-23 16:05:01.0 
+0200
+++ new/conduit-1.2.5.1/Data/Conduit/Internal.hs2015-10-18 
07:20:06.0 +0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE Safe #-}
 {-# OPTIONS_HADDOCK not-home #-}
 module Data.Conduit.Internal
 ( -- * Pipe
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.5/Data/Conduit/Lift.hs 
new/conduit-1.2.5.1/Data/Conduit/Lift.hs
--- old/conduit-1.2.5/Data/Conduit/Lift.hs  2015-07-23 16:05:01.0 
+0200
+++ new/conduit-1.2.5.1/Data/Conduit/Lift.hs

commit ghc-conduit for openSUSE:Factory

2015-08-04 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2015-08-05 06:50:47

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is ghc-conduit

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2015-05-21 
08:11:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2015-08-05 06:50:48.0 +0200
@@ -1,0 +2,7 @@
+Mon Jul 27 07:14:48 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.5
+* mapAccum and mapAccumM should be strict in their state
+* Some documentation improvements
+
+---

Old:

  conduit-1.2.4.tar.gz

New:

  conduit-1.2.5.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.C2aOcN/_old  2015-08-05 06:50:49.0 +0200
+++ /var/tmp/diff_new_pack.C2aOcN/_new  2015-08-05 06:50:49.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.4
+Version:1.2.5
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.4.tar.gz - conduit-1.2.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.4/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.5/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.4/Data/Conduit/Internal/Conduit.hs  2015-02-19 
07:34:30.0 +0100
+++ new/conduit-1.2.5/Data/Conduit/Internal/Conduit.hs  2015-07-23 
16:05:01.0 +0200
@@ -722,15 +722,7 @@
 return res
 {-# INLINE [1] ($$) #-}
 
--- | Left fuse, combining a source and a conduit together into a new source.
---
--- Both the @Source@ and @Conduit@ will be closed when the newly-created
--- @Source@ is closed.
---
--- Leftover data from the @Conduit@ will be discarded.
---
--- Note: Since version 1.0.18, this operator has been generalized to be
--- identical to @=$=@.
+-- | A synonym for '=$=' for backwards compatibility.
 --
 -- Since 0.4.0
 ($=) :: Monad m = Conduit a m b - ConduitM b c m r - ConduitM a c m r
@@ -738,15 +730,7 @@
 {-# INLINE [0] ($=) #-}
 {-# RULES conduit: $= is =$= ($=) = (=$=) #-}
 
--- | Right fuse, combining a conduit and a sink together into a new sink.
---
--- Both the @Conduit@ and @Sink@ will be closed when the newly-created @Sink@
--- is closed.
---
--- Leftover data returned from the @Sink@ will be discarded.
---
--- Note: Since version 1.0.18, this operator has been generalized to be
--- identical to @=$=@.
+-- | A synonym for '=$=' for backwards compatibility.
 --
 -- Since 0.4.0
 (=$) :: Monad m = Conduit a m b - ConduitM b c m r - ConduitM a c m r
@@ -787,7 +771,8 @@
 {-# INLINE [1] (=$=) #-}
 
 -- | Wait for a single input value from upstream. If no data is available,
--- returns @Nothing@.
+-- returns @Nothing@. Once @await@ returns @Nothing@, subsequent calls will
+-- also return @Nothing@.
 --
 -- Since 0.5.0
 await :: Monad m = Consumer i m (Maybe i)
@@ -1063,6 +1048,12 @@
 -- differently. It feeds one sink with input until it finishes, then switches
 -- to another, etc., and at the end combines their results.
 --
+-- This newtype is in fact a type constrained version of 'ZipConduit', and has
+-- the same behavior. It's presented as a separate type since (1) it
+-- historically predates @ZipConduit@, and (2) the type constraining can make
+-- your code clearer (and thereby make your error messages more easily
+-- understood).
+--
 -- Since 1.0.13
 newtype ZipSink i m r = ZipSink { getZipSink :: Sink i m r }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.4/Data/Conduit/List.hs 
new/conduit-1.2.5/Data/Conduit/List.hs
--- old/conduit-1.2.4/Data/Conduit/List.hs  2015-02-19 07:34:30.0 
+0100
+++ new/conduit-1.2.5/Data/Conduit/List.hs  2015-07-23 16:05:01.0 
+0200
@@ -510,7 +510,7 @@
 {-# INLINE concatMapMC #-}
 STREAMING(concatMapM, concatMapMC, concatMapMS, f)
 
--- | 'concatMap' with an accumulator.
+-- | 'concatMap' with a strict accumulator.
 --
 -- Subject to fusion
 --
@@ -534,7 +534,9 @@
 scanlM f s = void $ mapAccumM f s
 {-# DEPRECATED scanlM Use mapAccumM instead #-}
 
--- | Analog of @mapAccumL@ for lists.
+-- | Analog of @mapAccumL@ for lists. Note that in contrast to @mapAccumL@, 
the function argument
+--   takes the accumulator as its second argument, not its first argument, and 
the accumulated value
+--   is strict.
 --
 -- Subject to fusion
 --
@@ -543,7 +545,7 @@
 mapAccumC f =
 loop
   where
-loop s = await = maybe (return s) go
+loop !s = await = maybe 

commit ghc-conduit for openSUSE:Factory

2015-05-21 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2015-05-21 08:11:23

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is ghc-conduit

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2015-03-01 
14:47:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2015-05-21 08:11:25.0 +0200
@@ -1,0 +2,6 @@
+Wed Apr 22 08:15:09 UTC 2015 - mimi...@gmail.com
+
+- update to 1.2.4
+* [fuseBothMaybe](https://github.com/snoyberg/conduit/issues/199)
+
+---

Old:

  _service
  conduit-1.2.3.1.tar.gz

New:

  conduit-1.2.4.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.0VH6DT/_old  2015-05-21 08:11:26.0 +0200
+++ /var/tmp/diff_new_pack.0VH6DT/_new  2015-05-21 08:11:26.0 +0200
@@ -19,7 +19,7 @@
 %global pkg_name conduit
 
 Name:   ghc-conduit
-Version:1.2.3.1
+Version:1.2.4
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.2.3.1.tar.gz - conduit-1.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.3.1/Data/Conduit/Internal/Conduit.hs 
new/conduit-1.2.4/Data/Conduit/Internal/Conduit.hs
--- old/conduit-1.2.3.1/Data/Conduit/Internal/Conduit.hs2014-12-15 
22:14:49.0 +0100
+++ new/conduit-1.2.4/Data/Conduit/Internal/Conduit.hs  2015-02-19 
07:34:30.0 +0100
@@ -76,6 +76,7 @@
 , zipConduitApp
 , passthroughSink
 , fuseBoth
+, fuseBothMaybe
 , fuseUpstream
 , sequenceSources
 , sequenceSinks
@@ -1168,6 +1169,35 @@
 ConduitM (pipeL (up Done) (withUpstream $ generalizeUpstream $ down Done) 
=)
 {-# INLINE fuseBoth #-}
 
+-- | Like 'fuseBoth', but does not force consumption of the @Producer@.
+-- In the case that the @Producer@ terminates, the result value is
+-- provided as a @Just@ value. If it does not terminate, then a
+-- @Nothing@ value is returned.
+--
+-- One thing to note here is that termination here only occurs if the
+-- @Producer@ actually yields a @Nothing@ value. For example, with the
+-- @Producer@ @mapM_ yield [1..5]@, if five values are requested, the
+-- @Producer@ has not yet terminated. Termination only occurs when the
+-- sixth value is awaited for and the @Producer@ signals termination.
+--
+-- Since 1.2.4
+fuseBothMaybe
+:: Monad m
+= ConduitM a b m r1
+- ConduitM b c m r2
+- ConduitM a c m (Maybe r1, r2)
+fuseBothMaybe (ConduitM up) (ConduitM down) =
+ConduitM (pipeL (up Done) (go Nothing $ down Done) =)
+  where
+go mup (Done r) = Done (mup, r)
+go mup (PipeM mp) = PipeM $ liftM (go mup) mp
+go mup (HaveOutput p c o) = HaveOutput (go mup p) c o
+go _ (NeedInput p c) = NeedInput
+(\i - go Nothing (p i))
+(\u - go (Just u) (c ()))
+go mup (Leftover p i) = Leftover (go mup p) i
+{-# INLINABLE fuseBothMaybe #-}
+
 -- | Same as @fuseBoth@, but ignore the return value from the downstream
 -- @Conduit@. Same caveats of forced consumption apply.
 --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.3.1/Data/Conduit.hs 
new/conduit-1.2.4/Data/Conduit.hs
--- old/conduit-1.2.3.1/Data/Conduit.hs 2014-12-15 22:14:49.0 +0100
+++ new/conduit-1.2.4/Data/Conduit.hs   2015-02-19 07:34:30.0 +0100
@@ -20,6 +20,7 @@
 
   -- *** Fuse with upstream results
 , fuseBoth
+, fuseBothMaybe
 , fuseUpstream
 
   -- ** Primitives
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.3.1/changelog.md 
new/conduit-1.2.4/changelog.md
--- old/conduit-1.2.3.1/changelog.md2014-12-15 22:14:49.0 +0100
+++ new/conduit-1.2.4/changelog.md  2015-02-19 07:34:30.0 +0100
@@ -1,3 +1,7 @@
+## 1.2.4
+
+* [fuseBothMaybe](https://github.com/snoyberg/conduit/issues/199)
+
 __1.2.3__ Expose `connect` and `fuse` as synonyms for `$$` and `=$=`, 
respectively.
 
 __1.2.2__ Lots more stream fusion.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-1.2.3.1/conduit.cabal 
new/conduit-1.2.4/conduit.cabal
--- old/conduit-1.2.3.1/conduit.cabal   2014-12-15 22:14:49.0 +0100
+++ new/conduit-1.2.4/conduit.cabal 2015-02-19 07:34:30.0 +0100
@@ -1,5 +1,5 @@
 Name:conduit
-Version: 1.2.3.1
+Version: 1.2.4
 Synopsis:Streaming data processing library.
 

commit ghc-conduit for openSUSE:Factory

2015-03-01 Thread h_root
Hello community,

here is the log from the commit of package ghc-conduit for openSUSE:Factory 
checked in at 2015-03-01 14:47:28

Comparing /work/SRC/openSUSE:Factory/ghc-conduit (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-conduit.new (New)


Package is ghc-conduit

Changes:

--- /work/SRC/openSUSE:Factory/ghc-conduit/ghc-conduit.changes  2014-04-02 
17:19:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 
2015-03-01 14:47:54.0 +0100
@@ -1,0 +2,20 @@
+Sun Feb  1 09:11:36 UTC 2015 - mplus...@suse.com
+
+- Update to 1.2.3.1:
+  + Refactoring into conduit and conduit-extra packages. Core 
+functionality is now in conduit, whereas most common helper 
+modules (including Text, Binary, Zlib, etc) are in 
+conduit-extra. To upgrade to this version, there should only be 
+import list and conduit file changes necessary.
+  + Two performance
+optimizations added. (1) A stream fusion framework. This is a non-breaking
+change. (2) Codensity transform applied to the `ConduitM` datatype. This 
only
+affects users importing the `.Internal` module. Both changes are thoroughly
+described in the following to blog posts: [Speeding up
+conduit](https://www.fpcomplete.com/blog/2014/08/iap-speeding-up-conduit), 
and
+[conduit stream
+fusion](https://www.fpcomplete.com/blog/2014/08/conduit-stream-fusion).
+  + Lots more stream fusion.
+  + Expose `connect` and `fuse` as synonyms for `$$` and `=$=`, respectively.
+
+---

Old:

  conduit-1.0.7.4.tar.gz

New:

  conduit-1.2.3.1.tar.gz



Other differences:
--
++ ghc-conduit.spec ++
--- /var/tmp/diff_new_pack.u36wM2/_old  2015-03-01 14:47:54.0 +0100
+++ /var/tmp/diff_new_pack.u36wM2/_new  2015-03-01 14:47:54.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-conduit
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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 conduit
 
 Name:   ghc-conduit
-Version:1.0.7.4
+Version:1.2.3.1
 Release:0
 Summary:Streaming data processing library
 License:MIT

++ conduit-1.0.7.4.tar.gz - conduit-1.2.3.1.tar.gz ++
 8196 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org