Hello community, here is the log from the commit of package ghc-opml-conduit for openSUSE:Factory checked in at 2017-08-31 20:57:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-opml-conduit (Old) and /work/SRC/openSUSE:Factory/.ghc-opml-conduit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-opml-conduit" Thu Aug 31 20:57:40 2017 rev:2 rq:513443 version:0.6.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-opml-conduit/ghc-opml-conduit.changes 2017-05-17 10:50:05.310832266 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-opml-conduit.new/ghc-opml-conduit.changes 2017-08-31 20:57:41.713032884 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:34 UTC 2017 - [email protected] + +- Update to version 0.6.0.3. + +------------------------------------------------------------------- Old: ---- opml-conduit-0.6.0.1.tar.gz New: ---- opml-conduit-0.6.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-opml-conduit.spec ++++++ --- /var/tmp/diff_new_pack.AJUDDT/_old 2017-08-31 20:57:42.400936231 +0200 +++ /var/tmp/diff_new_pack.AJUDDT/_new 2017-08-31 20:57:42.404935669 +0200 @@ -19,7 +19,7 @@ %global pkg_name opml-conduit %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6.0.1 +Version: 0.6.0.3 Release: 0 Summary: Streaming parser/renderer for the OPML 2.0 format License: WTFPL ++++++ opml-conduit-0.6.0.1.tar.gz -> opml-conduit-0.6.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opml-conduit-0.6.0.1/Text/OPML/Conduit/Parse.hs new/opml-conduit-0.6.0.3/Text/OPML/Conduit/Parse.hs --- old/opml-conduit-0.6.0.1/Text/OPML/Conduit/Parse.hs 2016-10-04 22:30:49.000000000 +0200 +++ new/opml-conduit-0.6.0.3/Text/OPML/Conduit/Parse.hs 2017-06-14 23:10:08.000000000 +0200 @@ -21,7 +21,7 @@ -- {{{ Imports import Conduit hiding (throwM) -import Control.Applicative hiding(many) +import Control.Applicative hiding (many) import Control.Exception.Safe as Exception import Control.Monad import Control.Monad.Fix @@ -106,19 +106,19 @@ asCategories :: Text -> [NonEmpty (NonNull Text)] asCategories = mapMaybe (nonEmpty . mapMaybe fromNullable . split (== '/')) . split (== ',') -dateTag :: (MonadThrow m) => Name -> ConduitM Event o m (Maybe UTCTime) +dateTag :: (MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe UTCTime) dateTag name = tagIgnoreAttrs name $ content >>= asTime -uriTag :: (MonadThrow m) => Name -> ConduitM Event o m (Maybe URI) +uriTag :: (MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe URI) uriTag name = tagIgnoreAttrs name $ content >>= asURI expansionStateTag :: (MonadThrow m, Integral a) => ConduitM Event o m (Maybe [a]) expansionStateTag = tagIgnoreAttrs "expansionState" $ content >>= asExpansionState -textTag :: (MonadThrow m) => Name -> ConduitM Event o m (Maybe Text) +textTag :: (MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe Text) textTag name = tagIgnoreAttrs name content -decimalTag :: (Integral a, MonadThrow m) => Name -> ConduitM Event o m (Maybe a) +decimalTag :: (Integral i, MonadThrow m) => NameMatcher a -> ConduitM Event o m (Maybe i) decimalTag name = tagIgnoreAttrs name $ content >>= asDecimal projectC :: Monad m => Fold a a' b b' -> Conduit a m b @@ -153,7 +153,7 @@ -- - each sub-element may be repeated, in which case only the first occurrence is taken into account; -- - each unknown sub-element is ignored. parseOpmlHead :: (MonadCatch m) => ConduitM Event o m (Maybe OpmlHead) -parseOpmlHead = tagIgnoreAttrs "head" $ (manyYield' (choose piece) <* many ignoreAllTreesContent) =$= zipConduit where +parseOpmlHead = tagIgnoreAttrs "head" $ (manyYield' (choose piece) <* many ignoreAnyTreeContent) =$= zipConduit where zipConduit = getZipConduit $ OpmlHead <$> ZipConduit (projectC _HeadTitle =$= headDefC mempty) <*> ZipConduit (projectC _HeadCreated =$= headC) @@ -187,7 +187,7 @@ -- | Parse an @\<outline\>@ section. -- The value of type attributes are not case-sensitive, that is @type=\"LINK\"@ has the same meaning as @type="link"@. parseOpmlOutline :: (MonadCatch m) => ConduitM Event o m (Maybe (Tree OpmlOutline)) -parseOpmlOutline = tagName "outline" attributes handler where +parseOpmlOutline = tag' "outline" attributes handler where attributes = do otype <- optional $ requireAttr "type" case mk <$> otype of @@ -222,9 +222,9 @@ -- | Parse the top-level @\<opml\>@ element. parseOpml :: (MonadCatch m) => ConduitM Event o m (Maybe Opml) -parseOpml = tagName "opml" attributes handler where +parseOpml = tag' "opml" attributes handler where attributes = (requireAttr "version" >>= asVersion) <* ignoreAttrs - handler version = (manyYield' (choose piece) <* many ignoreAllTreesContent) =$= zipConduit version + handler version = (manyYield' (choose piece) <* many ignoreAnyTreeContent) =$= zipConduit version zipConduit version = getZipConduit $ Opml version <$> ZipConduit (projectC _DocHead =$= headDefC mkOpmlHead) <*> ZipConduit (projectC _DocBody =$= headDefC mempty) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opml-conduit-0.6.0.1/Text/OPML/Lens.hs new/opml-conduit-0.6.0.3/Text/OPML/Lens.hs --- old/opml-conduit-0.6.0.1/Text/OPML/Lens.hs 2016-10-04 22:30:49.000000000 +0200 +++ new/opml-conduit-0.6.0.3/Text/OPML/Lens.hs 2017-06-14 23:10:08.000000000 +0200 @@ -1,7 +1,7 @@ {-# OPTIONS_GHC -fno-warn-missing-signatures #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE TemplateHaskell #-} -module Text.OPML.Lens where +module Text.OPML.Lens (module Text.OPML.Lens) where -- {{{ Imports import Lens.Simple @@ -34,7 +34,7 @@ ] ''OpmlHead expansionStateL :: Traversal' OpmlHead Int -expansionStateL inj a@OpmlHead { expansionState = es } = (\x -> a { expansionState = x }) <$> sequenceA (map inj es) +expansionStateL inj a@OpmlHead { expansionState = es } = (\x -> a { expansionState = x }) <$> traverse inj es {-# INLINE expansionStateL #-} -- * 'OutlineSubscription' lenses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opml-conduit-0.6.0.1/Text/OPML/Types.hs new/opml-conduit-0.6.0.3/Text/OPML/Types.hs --- old/opml-conduit-0.6.0.1/Text/OPML/Types.hs 2016-08-19 08:24:54.000000000 +0200 +++ new/opml-conduit-0.6.0.3/Text/OPML/Types.hs 2017-06-14 23:10:08.000000000 +0200 @@ -1,7 +1,6 @@ {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} -{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE StandaloneDeriving #-} -- | OPML is an XML format for outlines. -- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opml-conduit-0.6.0.1/opml-conduit.cabal new/opml-conduit-0.6.0.3/opml-conduit.cabal --- old/opml-conduit-0.6.0.1/opml-conduit.cabal 2016-10-04 22:56:00.000000000 +0200 +++ new/opml-conduit-0.6.0.3/opml-conduit.cabal 2017-06-14 23:10:08.000000000 +0200 @@ -1,5 +1,5 @@ name: opml-conduit -version: 0.6.0.1 +version: 0.6.0.3 synopsis: Streaming parser/renderer for the OPML 2.0 format. description: This library implements the OPML 2.0 standard (<http://dev.opml.org/spec2.html>) as a 'conduit' parser/renderer. @@ -45,7 +45,7 @@ , time >= 1.5 , timerep >= 2.0.0 , uri-bytestring >= 0.2 - , xml-conduit >= 1.3 + , xml-conduit >= 1.5 , xml-types default-language: Haskell2010 ghc-options: -Wall -fno-warn-unused-do-bind diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/opml-conduit-0.6.0.1/test/Arbitrary.hs new/opml-conduit-0.6.0.3/test/Arbitrary.hs --- old/opml-conduit-0.6.0.1/test/Arbitrary.hs 2016-10-04 22:32:29.000000000 +0200 +++ new/opml-conduit-0.6.0.3/test/Arbitrary.hs 2017-06-14 23:10:08.000000000 +0200 @@ -7,7 +7,7 @@ {-# LANGUAGE StandaloneDeriving #-} -- | External 'Arbitrary' instances used by OPML types. -- All instances are defined through the 'OpmlGen' wrapper to avoid conflicts. -module Arbitrary where +module Arbitrary (module Arbitrary) where -- {{{ Imports import Data.ByteString (ByteString)
