Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-attoparsec for openSUSE:Factory checked in at 2021-03-10 08:56:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-attoparsec (Old) and /work/SRC/openSUSE:Factory/.ghc-attoparsec.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-attoparsec" Wed Mar 10 08:56:10 2021 rev:23 rq:877975 version:0.13.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-attoparsec/ghc-attoparsec.changes 2020-12-22 11:35:01.993232625 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-attoparsec.new.2378/ghc-attoparsec.changes 2021-03-10 08:58:02.130937303 +0100 @@ -1,0 +2,13 @@ +Wed Mar 3 16:37:14 UTC 2021 - psim...@suse.com + +- Update attoparsec to version 0.13.2.5 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Wed Feb 10 13:04:58 UTC 2021 - psim...@suse.com + +- Update attoparsec to version 0.13.2.5. + Upstream has not updated the file "changelog.md" since the last + release. + +------------------------------------------------------------------- Old: ---- attoparsec-0.13.2.4.tar.gz New: ---- attoparsec-0.13.2.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-attoparsec.spec ++++++ --- /var/tmp/diff_new_pack.ITn8OC/_old 2021-03-10 08:58:02.650937840 +0100 +++ /var/tmp/diff_new_pack.ITn8OC/_new 2021-03-10 08:58:02.654937844 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-attoparsec # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name attoparsec %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.13.2.4 +Version: 0.13.2.5 Release: 0 Summary: Fast combinator parsing for bytestrings and text License: BSD-3-Clause ++++++ attoparsec-0.13.2.4.tar.gz -> attoparsec-0.13.2.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attoparsec-0.13.2.4/Data/Attoparsec/ByteString/Buffer.hs new/attoparsec-0.13.2.5/Data/Attoparsec/ByteString/Buffer.hs --- old/attoparsec-0.13.2.4/Data/Attoparsec/ByteString/Buffer.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/attoparsec-0.13.2.5/Data/Attoparsec/ByteString/Buffer.hs 2001-09-09 03:46:40.000000000 +0200 @@ -56,6 +56,7 @@ import Control.Exception (assert) import Data.ByteString.Internal (ByteString(..), memcpy, nullForeignPtr) import Data.Attoparsec.Internal.Fhthagn (inlinePerformIO) +import Data.Attoparsec.Internal.Compat import Data.List (foldl1') import Data.Monoid as Mon (Monoid(..)) import Data.Semigroup (Semigroup(..)) @@ -82,10 +83,10 @@ -- copies in the (hopefully) common case of no further input being fed -- to us. buffer :: ByteString -> Buffer -buffer (PS fp off len) = Buf fp off len len 0 +buffer bs = withPS bs $ \fp off len -> Buf fp off len len 0 unbuffer :: Buffer -> ByteString -unbuffer (Buf fp off len _ _) = PS fp off len +unbuffer (Buf fp off len _ _) = mkPS fp off len instance Semigroup Buffer where (Buf _ _ _ 0 _) <> b = b @@ -102,7 +103,7 @@ pappend :: Buffer -> ByteString -> Buffer pappend (Buf _ _ _ 0 _) bs = buffer bs -pappend buf (PS fp off len) = append buf fp off len +pappend buf bs = withPS bs $ \fp off len -> append buf fp off len append :: Buffer -> ForeignPtr a -> Int -> Int -> Buffer append (Buf fp0 off0 len0 cap0 gen0) !fp1 !off1 !len1 = @@ -146,11 +147,11 @@ substring s l (Buf fp off len _ _) = assert (s >= 0 && s <= len) . assert (l >= 0 && l <= len-s) $ - PS fp (off+s) l + mkPS fp (off+s) l {-# INLINE substring #-} unsafeDrop :: Int -> Buffer -> ByteString unsafeDrop s (Buf fp off len _ _) = assert (s >= 0 && s <= len) $ - PS fp (off+s) (len-s) + mkPS fp (off+s) (len-s) {-# INLINE unsafeDrop #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attoparsec-0.13.2.4/Data/Attoparsec/ByteString/Internal.hs new/attoparsec-0.13.2.5/Data/Attoparsec/ByteString/Internal.hs --- old/attoparsec-0.13.2.4/Data/Attoparsec/ByteString/Internal.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/attoparsec-0.13.2.5/Data/Attoparsec/ByteString/Internal.hs 2001-09-09 03:46:40.000000000 +0200 @@ -75,6 +75,7 @@ import Data.Attoparsec.ByteString.FastSet (charClass, memberWord8) import Data.Attoparsec.Combinator ((<?>)) import Data.Attoparsec.Internal +import Data.Attoparsec.Internal.Compat import Data.Attoparsec.Internal.Fhthagn (inlinePerformIO) import Data.Attoparsec.Internal.Types hiding (Parser, Failure, Success) import Data.ByteString (ByteString) @@ -303,7 +304,7 @@ scan_ f s0 p = go [] s0 where go acc s1 = do - let scanner (B.PS fp off len) = + let scanner bs = withPS bs $ \fp off len -> withForeignPtr fp $ \ptr0 -> do let start = ptr0 `plusPtr` off end = start `plusPtr` len diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attoparsec-0.13.2.4/Data/Attoparsec/Internal/Compat.hs new/attoparsec-0.13.2.5/Data/Attoparsec/Internal/Compat.hs --- old/attoparsec-0.13.2.4/Data/Attoparsec/Internal/Compat.hs 1970-01-01 01:00:00.000000000 +0100 +++ new/attoparsec-0.13.2.5/Data/Attoparsec/Internal/Compat.hs 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,27 @@ +{-# LANGUAGE CPP #-} +{-# LANGUAGE MagicHash #-} +module Data.Attoparsec.Internal.Compat where + +import Data.ByteString.Internal (ByteString(..)) +import Data.Word (Word8) +import Foreign.ForeignPtr (ForeignPtr) + +#if MIN_VERSION_bytestring(0,11,0) +import Data.ByteString.Internal (plusForeignPtr) +#endif + +withPS :: ByteString -> (ForeignPtr Word8 -> Int -> Int -> r) -> r +#if MIN_VERSION_bytestring(0,11,0) +withPS (BS fp len) kont = kont fp 0 len +#else +withPS (PS fp off len) kont = kont fp off len +#endif +{-# INLINE withPS #-} + +mkPS :: ForeignPtr Word8 -> Int -> Int -> ByteString +#if MIN_VERSION_bytestring(0,11,0) +mkPS fp off len = BS (plusForeignPtr fp off) len +#else +mkPS fp off len = PS fp off len +#endif +{-# INLINE mkPS #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/attoparsec-0.13.2.4/attoparsec.cabal new/attoparsec-0.13.2.5/attoparsec.cabal --- old/attoparsec-0.13.2.4/attoparsec.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/attoparsec-0.13.2.5/attoparsec.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,16 +1,16 @@ name: attoparsec -version: 0.13.2.4 +version: 0.13.2.5 license: BSD3 license-file: LICENSE category: Text, Parsing author: Bryan O'Sullivan <b...@serpentine.com> maintainer: Bryan O'Sullivan <b...@serpentine.com>, Ben Gamari <b...@smart-cactus.org> stability: experimental -tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.1, GHC==8.10.1 +tested-with: GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.1, GHC==8.10.1 synopsis: Fast combinator parsing for bytestrings and text -cabal-version: >= 1.8 -homepage: https://github.com/bos/attoparsec -bug-reports: https://github.com/bos/attoparsec/issues +cabal-version: 2.0 +homepage: https://github.com/bgamari/attoparsec +bug-reports: https://github.com/bgamari/attoparsec/issues build-type: Simple description: A fast parser combinator library, aimed particularly at dealing @@ -40,12 +40,13 @@ library build-depends: array, base >= 4.3 && < 5, - bytestring, + bytestring <0.12, containers, deepseq, scientific >= 0.3.1 && < 0.4, transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.6, - text >= 1.1.1.3 + text >= 1.1.1.3, + ghc-prim <0.7 if impl(ghc < 7.4) build-depends: bytestring < 0.10.4.0 @@ -72,12 +73,15 @@ other-modules: Data.Attoparsec.ByteString.Buffer Data.Attoparsec.ByteString.FastSet Data.Attoparsec.ByteString.Internal + Data.Attoparsec.Internal.Compat Data.Attoparsec.Internal.Fhthagn Data.Attoparsec.Text.Buffer Data.Attoparsec.Text.FastSet Data.Attoparsec.Text.Internal ghc-options: -O2 -Wall + default-language: Haskell2010 + if flag(developer) ghc-prof-options: -auto-all ghc-options: -Werror @@ -106,6 +110,7 @@ Data.Attoparsec.ByteString.Lazy Data.Attoparsec.Combinator Data.Attoparsec.Internal + Data.Attoparsec.Internal.Compat Data.Attoparsec.Internal.Fhthagn Data.Attoparsec.Internal.Types Data.Attoparsec.Number @@ -127,7 +132,7 @@ base, bytestring, deepseq >= 1.1, - QuickCheck >= 2.13.2 && < 2.14, + QuickCheck >= 2.13.2 && < 2.15, quickcheck-unicode, scientific, tasty >= 0.11, @@ -136,6 +141,8 @@ transformers, vector + default-language: Haskell2010 + if !impl(ghc >= 8.0) -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ build-depends: fail == 4.9.*, @@ -182,6 +189,8 @@ unordered-containers, vector + default-language: Haskell2010 + if !impl(ghc >= 8.0) -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ build-depends: fail == 4.9.*, @@ -189,5 +198,5 @@ source-repository head type: git - location: https://github.com/bos/attoparsec + location: https://github.com/bgamari/attoparsec ++++++ attoparsec.cabal ++++++ --- /var/tmp/diff_new_pack.ITn8OC/_old 2021-03-10 08:58:02.762937955 +0100 +++ /var/tmp/diff_new_pack.ITn8OC/_new 2021-03-10 08:58:02.762937955 +0100 @@ -1,196 +1,203 @@ -name: attoparsec -version: 0.13.2.4 -x-revision: 1 -license: BSD3 -license-file: LICENSE -category: Text, Parsing -author: Bryan O'Sullivan <b...@serpentine.com> -maintainer: Bryan O'Sullivan <b...@serpentine.com>, Ben Gamari <b...@smart-cactus.org> -stability: experimental -tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.1, GHC==8.10.1 -synopsis: Fast combinator parsing for bytestrings and text -cabal-version: >= 1.8 -homepage: https://github.com/bos/attoparsec -bug-reports: https://github.com/bos/attoparsec/issues -build-type: Simple -description: - A fast parser combinator library, aimed particularly at dealing - efficiently with network protocols and complicated text/binary - file formats. -extra-source-files: - README.markdown - benchmarks/*.cabal - benchmarks/*.hs - benchmarks/*.txt - benchmarks/json-data/*.json - benchmarks/Makefile - benchmarks/med.txt.bz2 - changelog.md - examples/*.c - examples/*.hs - examples/Makefile - tests/*.hs - tests/QC/*.hs - tests/QC/IPv6/*.hs - -Flag developer - Description: Whether to build the library in development mode - Default: False - Manual: True - -library - build-depends: bytestring <0.11 - - build-depends: array, - base >= 4.3 && < 5, - bytestring <0.11, - containers, - deepseq, - scientific >= 0.3.1 && < 0.4, - transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.6, - text >= 1.1.1.3 - if impl(ghc < 7.4) - build-depends: - bytestring < 0.10.4.0 - - if !impl(ghc >= 8.0) - -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ - build-depends: fail == 4.9.*, - semigroups >=0.16.1 && <0.20 - - exposed-modules: Data.Attoparsec - Data.Attoparsec.ByteString - Data.Attoparsec.ByteString.Char8 - Data.Attoparsec.ByteString.Lazy - Data.Attoparsec.Char8 - Data.Attoparsec.Combinator - Data.Attoparsec.Internal - Data.Attoparsec.Internal.Types - Data.Attoparsec.Lazy - Data.Attoparsec.Number - Data.Attoparsec.Text - Data.Attoparsec.Text.Lazy - Data.Attoparsec.Types - Data.Attoparsec.Zepto - other-modules: Data.Attoparsec.ByteString.Buffer - Data.Attoparsec.ByteString.FastSet - Data.Attoparsec.ByteString.Internal - Data.Attoparsec.Internal.Fhthagn - Data.Attoparsec.Text.Buffer - Data.Attoparsec.Text.FastSet - Data.Attoparsec.Text.Internal - ghc-options: -O2 -Wall - - if flag(developer) - ghc-prof-options: -auto-all - ghc-options: -Werror - -test-suite tests - type: exitcode-stdio-1.0 - hs-source-dirs: tests . - main-is: QC.hs - other-modules: QC.Buffer - QC.ByteString - QC.Combinator - QC.Common - QC.IPv6.Internal - QC.IPv6.Types - QC.Rechunked - QC.Simple - QC.Text - QC.Text.FastSet - QC.Text.Regressions - - other-modules: Data.Attoparsec.ByteString - Data.Attoparsec.ByteString.Buffer - Data.Attoparsec.ByteString.Char8 - Data.Attoparsec.ByteString.FastSet - Data.Attoparsec.ByteString.Internal - Data.Attoparsec.ByteString.Lazy - Data.Attoparsec.Combinator - Data.Attoparsec.Internal - Data.Attoparsec.Internal.Fhthagn - Data.Attoparsec.Internal.Types - Data.Attoparsec.Number - Data.Attoparsec.Text - Data.Attoparsec.Text.Buffer - Data.Attoparsec.Text.FastSet - Data.Attoparsec.Text.Internal - Data.Attoparsec.Text.Lazy - Data.Attoparsec.Zepto - - ghc-options: - -Wall -threaded -rtsopts - - if flag(developer) - ghc-options: -Werror - - build-depends: - array, - base, - bytestring <0.11, - deepseq >= 1.1, - QuickCheck >= 2.13.2 && < 2.14, - quickcheck-unicode, - scientific, - tasty >= 0.11, - tasty-quickcheck >= 0.8, - text, - transformers, - vector - - if !impl(ghc >= 8.0) - -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ - build-depends: fail == 4.9.*, - semigroups >=0.16.1 && <0.19 - -benchmark benchmarks - type: exitcode-stdio-1.0 - hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1 . - ghc-options: -O2 -Wall -rtsopts - main-is: Benchmarks.hs - other-modules: - Common - HeadersByteString - HeadersByteString.Atto - HeadersText - Links - Network.Wai.Handler.Warp.ReadInt - Network.Wai.Handler.Warp.RequestHeader - Numbers - Sets - TextFastSet - Warp - ghc-options: -O2 -Wall - - if flag(developer) - ghc-options: -Werror - - build-depends: - array, - base == 4.*, - bytestring >= 0.10.4.0, - case-insensitive, - containers, - criterion >= 1.0, - deepseq >= 1.1, - directory, - filepath, - ghc-prim, - http-types, - parsec >= 3.1.2, - scientific, - text >= 1.1.1.0, - transformers, - unordered-containers, - vector - - if !impl(ghc >= 8.0) - -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ - build-depends: fail == 4.9.*, - semigroups >=0.16.1 && <0.19 - -source-repository head - type: git - location: https://github.com/bos/attoparsec - +name: attoparsec +version: 0.13.2.5 +x-revision: 1 +license: BSD3 +license-file: LICENSE +category: Text, Parsing +author: Bryan O'Sullivan <b...@serpentine.com> +maintainer: Bryan O'Sullivan <b...@serpentine.com>, Ben Gamari <b...@smart-cactus.org> +stability: experimental +tested-with: GHC == 7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.3, GHC ==8.0.2, GHC ==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.1, GHC==8.10.1 +synopsis: Fast combinator parsing for bytestrings and text +cabal-version: 2.0 +homepage: https://github.com/bgamari/attoparsec +bug-reports: https://github.com/bgamari/attoparsec/issues +build-type: Simple +description: + A fast parser combinator library, aimed particularly at dealing + efficiently with network protocols and complicated text/binary + file formats. +extra-source-files: + README.markdown + benchmarks/*.cabal + benchmarks/*.hs + benchmarks/*.txt + benchmarks/json-data/*.json + benchmarks/Makefile + benchmarks/med.txt.bz2 + changelog.md + examples/*.c + examples/*.hs + examples/Makefile + tests/*.hs + tests/QC/*.hs + tests/QC/IPv6/*.hs + +Flag developer + Description: Whether to build the library in development mode + Default: False + Manual: True + +library + build-depends: array, + base >= 4.3 && < 5, + bytestring <0.12, + containers, + deepseq, + scientific >= 0.3.1 && < 0.4, + transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.6, + text >= 1.1.1.3, + ghc-prim <0.8 + if impl(ghc < 7.4) + build-depends: + bytestring < 0.10.4.0 + + if !impl(ghc >= 8.0) + -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ + build-depends: fail == 4.9.*, + semigroups >=0.16.1 && <0.20 + + exposed-modules: Data.Attoparsec + Data.Attoparsec.ByteString + Data.Attoparsec.ByteString.Char8 + Data.Attoparsec.ByteString.Lazy + Data.Attoparsec.Char8 + Data.Attoparsec.Combinator + Data.Attoparsec.Internal + Data.Attoparsec.Internal.Types + Data.Attoparsec.Lazy + Data.Attoparsec.Number + Data.Attoparsec.Text + Data.Attoparsec.Text.Lazy + Data.Attoparsec.Types + Data.Attoparsec.Zepto + other-modules: Data.Attoparsec.ByteString.Buffer + Data.Attoparsec.ByteString.FastSet + Data.Attoparsec.ByteString.Internal + Data.Attoparsec.Internal.Compat + Data.Attoparsec.Internal.Fhthagn + Data.Attoparsec.Text.Buffer + Data.Attoparsec.Text.FastSet + Data.Attoparsec.Text.Internal + ghc-options: -O2 -Wall + + default-language: Haskell2010 + + if flag(developer) + ghc-prof-options: -auto-all + ghc-options: -Werror + +test-suite tests + type: exitcode-stdio-1.0 + hs-source-dirs: tests . + main-is: QC.hs + other-modules: QC.Buffer + QC.ByteString + QC.Combinator + QC.Common + QC.IPv6.Internal + QC.IPv6.Types + QC.Rechunked + QC.Simple + QC.Text + QC.Text.FastSet + QC.Text.Regressions + + other-modules: Data.Attoparsec.ByteString + Data.Attoparsec.ByteString.Buffer + Data.Attoparsec.ByteString.Char8 + Data.Attoparsec.ByteString.FastSet + Data.Attoparsec.ByteString.Internal + Data.Attoparsec.ByteString.Lazy + Data.Attoparsec.Combinator + Data.Attoparsec.Internal + Data.Attoparsec.Internal.Compat + Data.Attoparsec.Internal.Fhthagn + Data.Attoparsec.Internal.Types + Data.Attoparsec.Number + Data.Attoparsec.Text + Data.Attoparsec.Text.Buffer + Data.Attoparsec.Text.FastSet + Data.Attoparsec.Text.Internal + Data.Attoparsec.Text.Lazy + Data.Attoparsec.Zepto + + ghc-options: + -Wall -threaded -rtsopts + + if flag(developer) + ghc-options: -Werror + + build-depends: + array, + base, + bytestring, + deepseq >= 1.1, + QuickCheck >= 2.13.2 && < 2.15, + quickcheck-unicode, + scientific, + tasty >= 0.11, + tasty-quickcheck >= 0.8, + text, + transformers, + vector + + default-language: Haskell2010 + + if !impl(ghc >= 8.0) + -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ + build-depends: fail == 4.9.*, + semigroups >=0.16.1 && <0.19 + +benchmark benchmarks + type: exitcode-stdio-1.0 + hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1 . + ghc-options: -O2 -Wall -rtsopts + main-is: Benchmarks.hs + other-modules: + Common + HeadersByteString + HeadersByteString.Atto + HeadersText + Links + Network.Wai.Handler.Warp.ReadInt + Network.Wai.Handler.Warp.RequestHeader + Numbers + Sets + TextFastSet + Warp + ghc-options: -O2 -Wall + + if flag(developer) + ghc-options: -Werror + + build-depends: + array, + base == 4.*, + bytestring >= 0.10.4.0, + case-insensitive, + containers, + criterion >= 1.0, + deepseq >= 1.1, + directory, + filepath, + ghc-prim, + http-types, + parsec >= 3.1.2, + scientific, + text >= 1.1.1.0, + transformers, + unordered-containers, + vector + + default-language: Haskell2010 + + if !impl(ghc >= 8.0) + -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ + build-depends: fail == 4.9.*, + semigroups >=0.16.1 && <0.19 + +source-repository head + type: git + location: https://github.com/bgamari/attoparsec +