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.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-conduit.new/ghc-conduit.changes 2016-08-25 09:57:54.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 17 18:45:50 UTC 2016 - [email protected] + +- 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.000000000 +0200 +++ /var/tmp/diff_new_pack.1LMSJt/_new 2016-08-25 09:57:55.000000000 +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.md 2016-05-05 14:29:07.000000000 +0200 +++ new/conduit-1.2.7/ChangeLog.md 2016-08-08 13:13:50.000000000 +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.hs 2016-05-05 14:29:07.000000000 +0200 +++ new/conduit-1.2.7/Data/Conduit/Internal/Conduit.hs 2016-08-08 13:13:50.000000000 +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.000000000 +0200 +++ new/conduit-1.2.7/Data/Conduit.hs 2016-08-08 13:13:50.000000000 +0200 @@ -3,7 +3,7 @@ {-# LANGUAGE Safe #-} -- | If this is your first time with conduit, you should probably start with -- the tutorial: --- <https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>. +-- <https://github.com/snoyberg/conduit#readme>. module Data.Conduit ( -- * Core interface -- ** Types @@ -27,6 +27,7 @@ -- ** Primitives , await , yield + , yieldM , leftover , runConduit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/conduit-1.2.6.6/conduit.cabal new/conduit-1.2.7/conduit.cabal --- old/conduit-1.2.6.6/conduit.cabal 2016-05-05 14:29:07.000000000 +0200 +++ new/conduit-1.2.7/conduit.cabal 2016-08-08 13:13:50.000000000 +0200 @@ -1,5 +1,5 @@ Name: conduit -Version: 1.2.6.6 +Version: 1.2.7 Synopsis: Streaming data processing library. description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/conduit>.
