commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2020-09-07 21:21:57 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.3399 (New) Package is "ghc-hspec-core" Mon Sep 7 21:21:57 2020 rev:14 rq:831210 version:2.7.4 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2019-12-27 13:54:09.428681168 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.3399/ghc-hspec-core.changes 2020-09-07 21:22:04.573014917 +0200 @@ -1,0 +2,6 @@ +Tue Sep 1 14:41:20 UTC 2020 - psim...@suse.com + +- Update hspec-core to version 2.7.4. + Upstream does not provide a change log file. + +--- Old: hspec-core-2.7.1.tar.gz hspec-core.cabal New: hspec-core-2.7.4.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.ABE7b5/_old 2020-09-07 21:22:08.941016921 +0200 +++ /var/tmp/diff_new_pack.ABE7b5/_new 2020-09-07 21:22:08.945016923 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-hspec-core # -# Copyright (c) 2019 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 @@ -19,13 +19,12 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.7.1 +Version:2.7.4 Release:0 Summary:A Testing Framework for Haskell License:MIT URL:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -66,8 +65,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build ++ hspec-core-2.7.1.tar.gz -> hspec-core-2.7.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.7.1/hspec-core.cabal new/hspec-core-2.7.4/hspec-core.cabal --- old/hspec-core-2.7.1/hspec-core.cabal 2019-03-29 13:56:43.0 +0100 +++ new/hspec-core-2.7.4/hspec-core.cabal 2020-09-01 14:11:21.0 +0200 @@ -1,13 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.0. +-- This file has been generated from package.yaml by hpack version 0.34.2. -- -- see: https://github.com/sol/hpack --- --- hash: 82bf612e65db816a15de01c4c432597ef4492ceeb81f46063dcdd57b74ec523a name: hspec-core -version: 2.7.1 +version: 2.7.4 license: MIT license-file: LICENSE copyright:(c) 2011-2019 Simon Hengel, @@ -39,7 +37,7 @@ , array , base >=4.5.0.0 && <5 , call-stack -, clock +, clock >=0.7.1 , deepseq , directory , filepath @@ -73,6 +71,7 @@ Test.Hspec.Core.Formatters.Monad Test.Hspec.Core.QuickCheckUtil Test.Hspec.Core.Runner.Eval + Test.Hspec.Core.Shuffle Test.Hspec.Core.Spec.Monad Test.Hspec.Core.Timer Test.Hspec.Core.Tree @@ -92,12 +91,12 @@ cpp-options: -DTEST build-depends: HUnit ==1.6.* -, QuickCheck >=2.13.1 +, QuickCheck >=2.14 , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 , call-stack -, clock +, clock >=0.7.1 , deepseq , directory , filepath @@ -134,6 +133,7 @@ Test.Hspec.Core.QuickCheckUtil Test.Hspec.Core.Runner Test.Hspec.Core.Runner.Eval + Test.Hspec.Core.Shuffle Test.Hspec.Core.Spec Test.Hspec.Core.Spec.Monad Test.Hspec.Core.Timer @@ -158,6 +158,7 @@ Test.Hspec.Core.QuickCheckUtilSpec Test.Hspec.Core.Runner.EvalSpec Test.Hspec.Core.RunnerSpec + Test.Hspec.Core.ShuffleSpec Test.Hspec.Core.SpecSpec Test.Hspec.Core.TimerSpec Test.Hspec.Core.UtilSpec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.7.1/src/Test/Hspec/Core/Clock.hs new/hspec-core-2.7.4/src/Test/Hspec/Core/Clock.hs --- old/hspec-core-2.7.1/src/Test/Hspec/Core/Clock.hs 2019-03-29 13:56:43.0 +0100 +++ new/hspec-core-2.7.4/src/Test/Hspec/Core/Clock.hs 2020-09-01 14:11
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2019-12-27 13:54:07 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.6675 (New) Package is "ghc-hspec-core" Fri Dec 27 13:54:07 2019 rev:13 rq:759417 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2019-04-03 09:27:26.311798945 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.6675/ghc-hspec-core.changes 2019-12-27 13:54:09.428681168 +0100 @@ -1,0 +2,5 @@ +Fri Nov 8 16:13:55 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- New: hspec-core.cabal Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.02FypN/_old 2019-12-27 13:54:10.076681481 +0100 +++ /var/tmp/diff_new_pack.02FypN/_new 2019-12-27 13:54:10.080681483 +0100 @@ -23,9 +23,9 @@ Release:0 Summary:A Testing Framework for Haskell 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -57,7 +57,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} @@ -68,6 +67,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ hspec-core.cabal ++ cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.31.0. -- -- see: https://github.com/sol/hpack -- -- hash: 82bf612e65db816a15de01c4c432597ef4492ceeb81f46063dcdd57b74ec523a name: hspec-core version: 2.7.1 x-revision: 1 license: MIT license-file: LICENSE copyright:(c) 2011-2019 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel build-type: Simple category: Testing stability:experimental bug-reports: https://github.com/hspec/hspec/issues homepage: http://hspec.github.io/ synopsis: A Testing Framework for Haskell description: This package exposes internal types and functions that can be used to extend Hspec's functionality. source-repository head type: git location: https://github.com/hspec/hspec subdir: hspec-core library -- toNanoSecs is since 0.7.1 build-depends: clock >=0.7.1 hs-source-dirs: src vendor ghc-options: -Wall build-depends: HUnit ==1.6.* , QuickCheck >=2.13.1 , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 , call-stack , clock , deepseq , directory , filepath , hspec-expectations ==0.8.2.* , quickcheck-io >=0.2.0 , random , setenv , stm >=2.2 , tf-random , transformers >=0.2.2.0 exposed-modules: Test.Hspec.Core.Spec Test.Hspec.Core.Hooks Test.Hspec.Core.Runner Test.Hspec.Core.Formatters Test.Hspec.Core.QuickCheck Test.Hspec.Core.Util other-modules: Test.Hspec.Core.Clock Test.Hspec.Core.Compat Test.Hspec.Core.Config Test.Hspec.Core.Config.Options Test.Hspec.Core.Config.Util Test.Hspec.Core.Example Test.Hspec.Core.Example.Location Test.Hspec.Core.FailureReport Test.Hspec.Core.Format Test.Hspec.Core.Formatters.Diff Test.Hspec.Core.Formatters.Free Test.Hspec.Core.Formatters.Internal Test.Hspec.Core.Formatters.Monad Test.Hspec.Core.QuickCheckUtil Test.Hspec.Core.Runner.Eval Test.Hspec.Core.Spec.Monad Test.Hspec.Core.Timer Test.Hspec.Core.Tree Control.Concurrent.Async Data.Algorithm.Diff Paths_hspec_core default-language: Haskell2010 test-suite spec type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: src vendor test ghc-options: -Wall cpp-options: -DTEST build-depends: HUnit ==1.6.* , QuickCheck >=2.13.1 , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 , call-stack , clock , deepseq , directory , filepath , hspec-expectations ==0.8.2.* , hspec-meta >
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2019-04-03 09:27:25 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.25356 (New) Package is "ghc-hspec-core" Wed Apr 3 09:27:25 2019 rev:12 rq:690182 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2019-01-25 22:43:20.563229871 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.25356/ghc-hspec-core.changes 2019-04-03 09:27:26.311798945 +0200 @@ -1,0 +2,6 @@ +Sat Mar 30 03:03:29 UTC 2019 - psim...@suse.com + +- Update hspec-core to version 2.7.1. + Upstream does not provide a change log file. + +--- Old: hspec-core-2.7.0.tar.gz New: hspec-core-2.7.1.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.ckSNPU/_old 2019-04-03 09:27:27.255799390 +0200 +++ /var/tmp/diff_new_pack.ckSNPU/_new 2019-04-03 09:27:27.259799392 +0200 @@ -19,7 +19,7 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.7.0 +Version:2.7.1 Release:0 Summary:A Testing Framework for Haskell License:MIT ++ hspec-core-2.7.0.tar.gz -> hspec-core-2.7.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.7.0/hspec-core.cabal new/hspec-core-2.7.1/hspec-core.cabal --- old/hspec-core-2.7.0/hspec-core.cabal 2019-01-17 15:23:45.0 +0100 +++ new/hspec-core-2.7.1/hspec-core.cabal 2019-03-29 13:56:43.0 +0100 @@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack -- --- hash: 39dc148675f73276544e876331589928821112ae13bb688991d3c5c5ee686cee +-- hash: 82bf612e65db816a15de01c4c432597ef4492ceeb81f46063dcdd57b74ec523a name: hspec-core -version: 2.7.0 +version: 2.7.1 license: MIT license-file: LICENSE copyright:(c) 2011-2019 Simon Hengel, @@ -34,7 +34,7 @@ ghc-options: -Wall build-depends: HUnit ==1.6.* -, QuickCheck ==2.12.* +, QuickCheck >=2.13.1 , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 @@ -92,7 +92,7 @@ cpp-options: -DTEST build-depends: HUnit ==1.6.* -, QuickCheck ==2.12.* +, QuickCheck >=2.13.1 , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.7.0/test/Test/Hspec/Core/ExampleSpec.hs new/hspec-core-2.7.1/test/Test/Hspec/Core/ExampleSpec.hs --- old/hspec-core-2.7.0/test/Test/Hspec/Core/ExampleSpec.hs2019-01-17 15:23:45.0 +0100 +++ new/hspec-core-2.7.1/test/Test/Hspec/Core/ExampleSpec.hs2019-03-29 13:56:43.0 +0100 @@ -145,7 +145,7 @@ it "shows what falsified it" $ do Result "" (Failure _ r) <- evaluateExample $ property $ \ (x :: Int) (y :: Int) -> (x == 0 && y == 1) ==> False r `shouldBe` (Reason . intercalate "\n") [ -"Falsifiable (after 1 test):" +"Falsified (after 1 test):" , " 0" , " 1" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.7.0/test/Test/Hspec/Core/QuickCheckUtilSpec.hs new/hspec-core-2.7.1/test/Test/Hspec/Core/QuickCheckUtilSpec.hs --- old/hspec-core-2.7.0/test/Test/Hspec/Core/QuickCheckUtilSpec.hs 2019-01-17 15:23:45.0 +0100 +++ new/hspec-core-2.7.1/test/Test/Hspec/Core/QuickCheckUtilSpec.hs 2019-03-29 13:56:43.0 +0100 @@ -91,7 +91,7 @@ , "0" , "" , "Passed:" -, "-39" +, "28" ] parseQuickCheckResult <$> quickCheckWithResult args {maxSuccess = 2} (verbose p) `shouldReturn` QuickCheckResult 2 info (QuickCheckOtherFailure "Passed 2 tests (expected failure).") @@ -113,7 +113,7 @@ , "0" , "" , "Passed:" - , "-39" + , "28" , "" , "+++ OK, passed 2 tests." , "" @@ -133,29 +133,29 @@ , quickCheckFailureException = Nothing , quickCheckFailureReason = "Insufficient coverage" , quickCheckFailureCounterexample = [ -" 1.0% is 23" +" 0.8% is 23" , "" - , "Only 1.0% is 23, but expected 10.0%" + , "Only 0.8% is 23, but expected 10.0%" ] } it "parses result" $ do
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2019-01-25 22:43:18 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.28833 (New) Package is "ghc-hspec-core" Fri Jan 25 22:43:18 2019 rev:11 rq:667137 version:2.7.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2018-11-09 07:52:16.815858499 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new.28833/ghc-hspec-core.changes 2019-01-25 22:43:20.563229871 +0100 @@ -1,0 +2,12 @@ +Fri Jan 18 03:02:23 UTC 2019 - psim...@suse.com + +- Update hspec-core to version 2.7.0. + Upstream does not provide a change log file. + +--- +Tue Jan 1 19:13:25 UTC 2019 - psim...@suse.com + +- Update hspec-core to version 2.6.1. + Upstream does not provide a change log file. + +--- Old: hspec-core-2.6.0.tar.gz New: hspec-core-2.7.0.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.ojiFmR/_old 2019-01-25 22:43:21.523228688 +0100 +++ /var/tmp/diff_new_pack.ojiFmR/_new 2019-01-25 22:43:21.527228683 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-hspec-core # -# 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 hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.6.0 +Version:2.7.0 Release:0 Summary:A Testing Framework for Haskell License:MIT ++ hspec-core-2.6.0.tar.gz -> hspec-core-2.7.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.6.0/LICENSE new/hspec-core-2.7.0/LICENSE --- old/hspec-core-2.6.0/LICENSE2018-11-04 02:37:12.0 +0100 +++ new/hspec-core-2.7.0/LICENSE2019-01-17 15:23:45.0 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2011-2018 Simon Hengel +Copyright (c) 2011-2019 Simon Hengel Copyright (c) 2011-2012 Trystan Spangler Copyright (c) 2011-2011 Greg Weber diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.6.0/hspec-core.cabal new/hspec-core-2.7.0/hspec-core.cabal --- old/hspec-core-2.6.0/hspec-core.cabal 2018-11-04 02:37:12.0 +0100 +++ new/hspec-core-2.7.0/hspec-core.cabal 2019-01-17 15:23:45.0 +0100 @@ -4,13 +4,13 @@ -- -- see: https://github.com/sol/hpack -- --- hash: fef917dc0cb43c6da4719fb2d080d28e01d8bc888b679a3fa1c61559f02d9848 +-- hash: 39dc148675f73276544e876331589928821112ae13bb688991d3c5c5ee686cee name: hspec-core -version: 2.6.0 +version: 2.7.0 license: MIT license-file: LICENSE -copyright:(c) 2011-2018 Simon Hengel, +copyright:(c) 2011-2019 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.6.0/src/Test/Hspec/Core/Config/Options.hs new/hspec-core-2.7.0/src/Test/Hspec/Core/Config/Options.hs --- old/hspec-core-2.6.0/src/Test/Hspec/Core/Config/Options.hs 2018-11-04 02:37:12.0 +0100 +++ new/hspec-core-2.7.0/src/Test/Hspec/Core/Config/Options.hs 2019-01-17 15:23:45.0 +0100 @@ -33,6 +33,8 @@ data Config = Config { configIgnoreConfigFile :: Bool , configDryRun :: Bool +, configFocusedOnly :: Bool +, configFailOnFocused :: Bool , configPrintCpuTime :: Bool , configFastFail :: Bool , configFailureReport :: Maybe FilePath @@ -61,6 +63,8 @@ defaultConfig = Config { configIgnoreConfigFile = False , configDryRun = False +, configFocusedOnly = False +, configFailOnFocused = False , configPrintCpuTime = False , configFastFail = False , configFailureReport = Nothing @@ -190,10 +194,13 @@ ] runnerOptions :: Monad m => [OptDescr (Result m -> Result m)] -runnerOptions = [ -Option [] ["dry-run"] (NoArg setDryRun) "pretend that everything passed; don't verify anything" - , Option [] ["fail-fast"] (NoArg setFastFail) "abort on first failure" - , Option "r" ["rerun"] (NoArg setRerun) "rerun all examples that failed in the previous test run (only works in combination with --failure-report or in GHCi)" +runnerOptions = concat [ +mkFlag "dry-run" setDryRun "pretend that ev
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2018-11-09 07:52:04 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Fri Nov 9 07:52:04 2018 rev:10 rq:646355 version:2.6.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2018-10-25 08:17:19.848044797 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2018-11-09 07:52:16.815858499 +0100 @@ -1,0 +2,6 @@ +Sun Nov 4 03:01:36 UTC 2018 - psim...@suse.com + +- Update hspec-core to version 2.6.0. + Upstream does not provide a change log file. + +--- Old: hspec-core-2.5.8.tar.gz New: hspec-core-2.6.0.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.zqOuqI/_old 2018-11-09 07:52:20.099854720 +0100 +++ /var/tmp/diff_new_pack.zqOuqI/_new 2018-11-09 07:52:20.103854716 +0100 @@ -19,7 +19,7 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.5.8 +Version:2.6.0 Release:0 Summary:A Testing Framework for Haskell License:MIT ++ hspec-core-2.5.8.tar.gz -> hspec-core-2.6.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.8/hspec-core.cabal new/hspec-core-2.6.0/hspec-core.cabal --- old/hspec-core-2.5.8/hspec-core.cabal 2018-09-30 20:45:10.0 +0200 +++ new/hspec-core-2.6.0/hspec-core.cabal 2018-11-04 02:37:12.0 +0100 @@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.30.0. +-- This file has been generated from package.yaml by hpack version 0.31.0. -- -- see: https://github.com/sol/hpack -- --- hash: 2816c495eba299470f8178ab0162b41c33ff43fdd8c7d53ed3743386b018f184 +-- hash: fef917dc0cb43c6da4719fb2d080d28e01d8bc888b679a3fa1c61559f02d9848 name: hspec-core -version: 2.5.8 +version: 2.6.0 license: MIT license-file: LICENSE copyright:(c) 2011-2018 Simon Hengel, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.8/src/Test/Hspec/Core/Example/Location.hs new/hspec-core-2.6.0/src/Test/Hspec/Core/Example/Location.hs --- old/hspec-core-2.5.8/src/Test/Hspec/Core/Example/Location.hs 2018-09-30 20:45:10.0 +0200 +++ new/hspec-core-2.6.0/src/Test/Hspec/Core/Example/Location.hs 2018-11-04 02:37:12.0 +0100 @@ -26,7 +26,11 @@ } deriving (Eq, Show, Read) extractLocation :: SomeException -> Maybe Location -extractLocation e = locationFromErrorCall e <|> locationFromPatternMatchFail e <|> locationFromIOException e +extractLocation e = + locationFromErrorCall e + <|> locationFromPatternMatchFail e + <|> locationFromRecConError e + <|> locationFromIOException e locationFromErrorCall :: SomeException -> Maybe Location locationFromErrorCall e = case fromException e of @@ -44,6 +48,11 @@ Just (PatternMatchFail s) -> listToMaybe (words s) >>= parseSourceSpan Nothing -> Nothing +locationFromRecConError :: SomeException -> Maybe Location +locationFromRecConError e = case fromException e of + Just (RecConError s) -> listToMaybe (words s) >>= parseSourceSpan + Nothing -> Nothing + locationFromIOException :: SomeException -> Maybe Location locationFromIOException e = case fromException e of Just (IOError {ioe_type = UserError, ioe_description = xs}) -> fromPatternMatchFailureInDoExpression xs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.8/src/Test/Hspec/Core/Formatters/Internal.hs new/hspec-core-2.6.0/src/Test/Hspec/Core/Formatters/Internal.hs --- old/hspec-core-2.5.8/src/Test/Hspec/Core/Formatters/Internal.hs 2018-09-30 20:45:10.0 +0200 +++ new/hspec-core-2.6.0/src/Test/Hspec/Core/Formatters/Internal.hs 2018-11-04 02:37:12.0 +0100 @@ -68,6 +68,7 @@ , environmentWithSuccessColor = withSuccessColor , environmentWithPendingColor = withPendingColor , environmentWithInfoColor = withInfoColor +, environmentUseDiff = gets (formatConfigUseDiff . stateConfig) , environmentExtraChunk = extraChunk , environmentMissingChunk = missingChunk , environmentLiftIO = liftIO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.8/src/Test/Hspec/Core/Formatters/Monad.hs new/hspec-core-2.6.0/src/Test/Hspec/Core/Formatters/Monad.hs --- old/hspec-core-2.
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2018-10-25 08:16:44 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Thu Oct 25 08:16:44 2018 rev:9 rq:642866 version:2.5.8 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2018-07-24 17:19:50.359104142 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2018-10-25 08:17:19.848044797 +0200 @@ -1,0 +2,6 @@ +Wed Oct 10 19:23:52 UTC 2018 - psim...@suse.com + +- Update hspec-core to version 2.5.8. + Upstream does not provide a change log file. + +--- Old: hspec-core-2.5.5.tar.gz New: hspec-core-2.5.8.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.2sLoZi/_old 2018-10-25 08:17:20.384044563 +0200 +++ /var/tmp/diff_new_pack.2sLoZi/_new 2018-10-25 08:17:20.388044561 +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 hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.5.5 +Version:2.5.8 Release:0 Summary:A Testing Framework for Haskell License:MIT ++ hspec-core-2.5.5.tar.gz -> hspec-core-2.5.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.5/hspec-core.cabal new/hspec-core-2.5.8/hspec-core.cabal --- old/hspec-core-2.5.5/hspec-core.cabal 2018-07-16 22:34:21.0 +0200 +++ new/hspec-core-2.5.8/hspec-core.cabal 2018-09-30 20:45:10.0 +0200 @@ -1,13 +1,13 @@ -cabal-version: >= 1.10 +cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.29.5. +-- This file has been generated from package.yaml by hpack version 0.30.0. -- -- see: https://github.com/sol/hpack -- --- hash: 18722f32fa5f70fec923fb16bae44075fdcc96cfab7622d6d9146d22fb7faed5 +-- hash: 2816c495eba299470f8178ab0162b41c33ff43fdd8c7d53ed3743386b018f184 name: hspec-core -version: 2.5.5 +version: 2.5.8 license: MIT license-file: LICENSE copyright:(c) 2011-2018 Simon Hengel, @@ -33,8 +33,8 @@ vendor ghc-options: -Wall build-depends: - HUnit >=1.5.0.0 -, QuickCheck >=2.10 + HUnit ==1.6.* +, QuickCheck ==2.12.* , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 @@ -91,8 +91,8 @@ ghc-options: -Wall cpp-options: -DTEST build-depends: - HUnit >=1.5.0.0 -, QuickCheck >=2.10 + HUnit ==1.6.* +, QuickCheck ==2.12.* , ansi-terminal >=0.5 , array , base >=4.5.0.0 && <5 @@ -112,6 +112,8 @@ , temporary , tf-random , transformers >=0.2.2.0 + build-tool-depends: + hspec-meta:hspec-meta-discover other-modules: Test.Hspec.Core.Clock Test.Hspec.Core.Compat diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.5/src/Test/Hspec/Core/QuickCheck.hs new/hspec-core-2.5.8/src/Test/Hspec/Core/QuickCheck.hs --- old/hspec-core-2.5.5/src/Test/Hspec/Core/QuickCheck.hs 2018-07-16 22:34:21.0 +0200 +++ new/hspec-core-2.5.8/src/Test/Hspec/Core/QuickCheck.hs 2018-09-30 20:45:10.0 +0200 @@ -1,9 +1,10 @@ -- | Stability: provisional module Test.Hspec.Core.QuickCheck ( - modifyMaxSuccess + modifyArgs +, modifyMaxSuccess , modifyMaxDiscardRatio , modifyMaxSize - +, modifyMaxShrinks ) where import Test.QuickCheck @@ -30,6 +31,14 @@ modify :: (Int -> Int) -> Args -> Args modify f args = args {maxSize = f (maxSize args)} +-- | Use a modified `maxShrinks` for given spec. +modifyMaxShrinks :: (Int -> Int) -> SpecWith a -> SpecWith a +modifyMaxShrinks = modifyArgs . modify + where +modify :: (Int -> Int) -> Args -> Args +modify f args = args {maxShrinks = f (maxShrinks args)} + +-- | Use modified `Args` for given spec. modifyArgs :: (Args -> Args) -> SpecWith a -> SpecWith a modifyArgs = modifyParams . modify where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.5/src/Test/Hspec/Core/QuickCheckUtil.hs new/hspec-core-2.5.8/src/Test/Hspec/Core/QuickCheckUtil.hs --- old/hspec-core-2.5.5/src/Test/Hspec/Core/QuickCheckUtil.hs 2018-07-16 22:34:21.00
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2018-07-24 17:19:45 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Tue Jul 24 17:19:45 2018 rev:8 rq:623789 version:2.5.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2018-05-30 12:25:59.828956516 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2018-07-24 17:19:50.359104142 +0200 @@ -1,0 +2,18 @@ +Wed Jul 18 14:26:27 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- +Tue Jul 17 19:31:17 UTC 2018 - psim...@suse.com + +- Update hspec-core to version 2.5.5. + Upstream does not provide a change log file. + +--- +Fri Jul 13 14:31:56 UTC 2018 - psim...@suse.com + +- Update hspec-core to version 2.5.4. + Upstream does not provide a change log file. + +--- @@ -51 +68,0 @@ - Old: hspec-core-2.5.0.tar.gz New: hspec-core-2.5.5.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.HMJyn3/_old 2018-07-24 17:19:50.943104892 +0200 +++ /var/tmp/diff_new_pack.HMJyn3/_new 2018-07-24 17:19:50.947104897 +0200 @@ -19,7 +19,7 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.5.0 +Version:2.5.5 Release:0 Summary:A Testing Framework for Haskell License:MIT ++ hspec-core-2.5.0.tar.gz -> hspec-core-2.5.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.0/LICENSE new/hspec-core-2.5.5/LICENSE --- old/hspec-core-2.5.0/LICENSE2018-03-14 10:17:41.0 +0100 +++ new/hspec-core-2.5.5/LICENSE2018-07-16 22:34:21.0 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2011-2017 Simon Hengel +Copyright (c) 2011-2018 Simon Hengel Copyright (c) 2011-2012 Trystan Spangler Copyright (c) 2011-2011 Greg Weber diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.0/hspec-core.cabal new/hspec-core-2.5.5/hspec-core.cabal --- old/hspec-core-2.5.0/hspec-core.cabal 2018-03-14 10:17:41.0 +0100 +++ new/hspec-core-2.5.5/hspec-core.cabal 2018-07-16 22:34:21.0 +0200 @@ -1,19 +1,20 @@ --- This file has been generated from package.yaml by hpack version 0.25.0. +cabal-version: >= 1.10 + +-- This file has been generated from package.yaml by hpack version 0.29.5. -- -- see: https://github.com/sol/hpack -- --- hash: b85e0f85042731ca2893e4ab243f2694f46c7b9d527d7d0d81bd05fc2bdfcd32 +-- hash: 18722f32fa5f70fec923fb16bae44075fdcc96cfab7622d6d9146d22fb7faed5 name: hspec-core -version: 2.5.0 +version: 2.5.5 license: MIT license-file: LICENSE -copyright:(c) 2011-2017 Simon Hengel, +copyright:(c) 2011-2018 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel build-type: Simple -cabal-version:>= 1.10 category: Testing stability:experimental bug-reports: https://github.com/hspec/hspec/issues diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.0/src/Test/Hspec/Core/Compat.hs new/hspec-core-2.5.5/src/Test/Hspec/Core/Compat.hs --- old/hspec-core-2.5.0/src/Test/Hspec/Core/Compat.hs 2018-03-14 10:17:41.0 +0100 +++ new/hspec-core-2.5.5/src/Test/Hspec/Core/Compat.hs 2018-07-16 22:34:21.0 +0200 @@ -9,6 +9,7 @@ , module Prelude , module Control.Applicative +, module Control.Monad , module Data.Foldable , module Data.Traversable , module Data.Monoid @@ -22,6 +23,15 @@ ) where import Control.Applicative +import Control.Monad hiding ( +mapM + , mapM_ + , forM + , forM_ + , msum + , sequence + , sequence_ + ) import Data.Foldable import Data.Traversable import Data.Monoid diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.5.0/src/Test/Hspec/Core/Config/Options.hs new/hspec-core-2.5.5/src/Test/Hspec/Core/Config/Options.hs --- old/hspec-core-2.5.0/src/Test/Hspec/Core/Config/Options.hs 2018-03-14 10:17:41.0 +0100 +++ new/hspec-core-2.5.5/src/Test/Hs
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2018-05-30 12:09:11 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Wed May 30 12:09:11 2018 rev:7 rq:607815 version:2.5.0 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2017-09-15 21:49:50.534029496 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2018-05-30 12:25:59.828956516 +0200 @@ -1,0 +2,6 @@ +Mon May 14 17:02:11 UTC 2018 - psim...@suse.com + +- Update hspec-core to version 2.5.0. + Upstream does not provide a changelog. + +--- Old: hspec-core-2.4.4.tar.gz New: hspec-core-2.5.0.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.01q43o/_old 2018-05-30 12:26:00.700927341 +0200 +++ /var/tmp/diff_new_pack.01q43o/_new 2018-05-30 12:26:00.704927208 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-hspec-core # -# 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 hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.4.4 +Version:2.5.0 Release:0 Summary:A Testing Framework for Haskell License:MIT @@ -31,8 +31,8 @@ BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-array-devel -BuildRequires: ghc-async-devel BuildRequires: ghc-call-stack-devel +BuildRequires: ghc-clock-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel @@ -41,8 +41,8 @@ BuildRequires: ghc-random-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-setenv-devel +BuildRequires: ghc-stm-devel BuildRequires: ghc-tf-random-devel -BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel %if %{with tests} BuildRequires: ghc-hspec-meta-devel @@ -85,7 +85,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files ++ hspec-core-2.4.4.tar.gz -> hspec-core-2.5.0.tar.gz ++ 5330 lines of diff (skipped)
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2017-09-15 21:49:49 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Fri Sep 15 21:49:49 2017 rev:6 rq:524795 version:2.4.4 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2017-08-31 20:47:46.928563976 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2017-09-15 21:49:50.534029496 +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-hspec-core.spec ++ --- /var/tmp/diff_new_pack.8WJtbE/_old 2017-09-15 21:49:51.293922386 +0200 +++ /var/tmp/diff_new_pack.8WJtbE/_new 2017-09-15 21:49:51.297921823 +0200 @@ -23,8 +23,8 @@ Release:0 Summary:A Testing Framework for Haskell 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-HUnit-devel @@ -44,7 +44,6 @@ BuildRequires: ghc-tf-random-devel BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-hspec-meta-devel BuildRequires: ghc-process-devel @@ -58,7 +57,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} @@ -86,10 +85,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2017-08-31 20:47:45 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Thu Aug 31 20:47:45 2017 rev:5 rq:513391 version:2.4.4 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2017-06-22 10:37:52.502922147 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2017-08-31 20:47:46.928563976 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:06:42 UTC 2017 - psim...@suse.com + +- Update to version 2.4.4. + +--- Old: hspec-core-2.4.3.tar.gz hspec-core.cabal New: hspec-core-2.4.4.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.o8gyl4/_old 2017-08-31 20:47:48.092400613 +0200 +++ /var/tmp/diff_new_pack.o8gyl4/_new 2017-08-31 20:47:48.104398929 +0200 @@ -19,14 +19,13 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.4.3 +Version:2.4.4 Release:0 Summary:A Testing Framework for Haskell License:MIT 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 -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -70,7 +69,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ hspec-core-2.4.3.tar.gz -> hspec-core-2.4.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.4.3/hspec-core.cabal new/hspec-core-2.4.4/hspec-core.cabal --- old/hspec-core-2.4.3/hspec-core.cabal 2017-03-25 12:27:37.0 +0100 +++ new/hspec-core-2.4.4/hspec-core.cabal 2017-06-16 11:08:23.0 +0200 @@ -1,9 +1,9 @@ --- This file has been generated from package.yaml by hpack version 0.17.0. +-- This file has been generated from package.yaml by hpack version 0.18.0. -- -- see: https://github.com/sol/hpack name: hspec-core -version: 2.4.3 +version: 2.4.4 license: MIT license-file: LICENSE copyright:(c) 2011-2017 Simon Hengel, @@ -40,7 +40,7 @@ , deepseq , HUnit >= 1.2.5 , QuickCheck >= 2.5.1 -, quickcheck-io +, quickcheck-io >= 0.2.0 , hspec-expectations == 0.8.2.* , async >= 2 , call-stack @@ -93,7 +93,7 @@ , deepseq , HUnit >= 1.2.5 , QuickCheck >= 2.5.1 -, quickcheck-io +, quickcheck-io >= 0.2.0 , hspec-expectations == 0.8.2.* , async >= 2 , call-stack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.4.3/src/Test/Hspec/Core/Example.hs new/hspec-core-2.4.4/src/Test/Hspec/Core/Example.hs --- old/hspec-core-2.4.3/src/Test/Hspec/Core/Example.hs 2017-03-25 12:27:37.0 +0100 +++ new/hspec-core-2.4.4/src/Test/Hspec/Core/Example.hs 2017-06-16 11:08:23.0 +0200 @@ -185,10 +185,12 @@ sanitizeFailureMessage r = let m = QC.output r in strip $ #if MIN_VERSION_QuickCheck(2,7,0) case QC.theException r of - Just e -> let numbers = formatNumbers r in -"uncaught exception: " ++ formatException e ++ " " ++ numbers ++ "\n" ++ case lines m of - x:xs | x == (exceptionPrefix ++ show e ++ "' " ++ numbers ++ ": ") -> unlines xs - _ -> m + Just e -> case E.fromException e :: Maybe (HUnit.HUnitFailure) of +Just _ -> (addFalsifiable . stripFailed) m +Nothing -> let numbers = formatNumbers r in + "uncaught exception: " ++ formatException e ++ " " ++ numbers ++ "\n" ++ case lines m of +x:xs | x == (exceptionPrefix ++ show e ++ "' " ++ numbers ++ ": ") -> unlines xs +_ -> m Nothing -> #endif (addFalsifiable . stripFailed) m
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2017-06-22 10:37:51 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Thu Jun 22 10:37:51 2017 rev:4 rq:504076 version:2.4.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2017-04-14 13:38:11.931339803 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2017-06-22 10:37:52.502922147 +0200 @@ -1,0 +2,5 @@ +Sat May 27 12:27:51 UTC 2017 - psim...@suse.com + +- Update to version 2.4.3 revision 1. + +--- New: hspec-core.cabal Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.KjMLx1/_old 2017-06-22 10:37:53.326805998 +0200 +++ /var/tmp/diff_new_pack.KjMLx1/_new 2017-06-22 10:37:53.330805434 +0200 @@ -26,6 +26,7 @@ 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -69,6 +70,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ hspec-core.cabal ++ -- This file has been generated from package.yaml by hpack version 0.17.0. -- -- see: https://github.com/sol/hpack name: hspec-core version: 2.4.3 x-revision: 1 license: MIT license-file: LICENSE copyright:(c) 2011-2017 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel build-type: Simple cabal-version:>= 1.10 category: Testing stability:experimental bug-reports: https://github.com/hspec/hspec/issues homepage: http://hspec.github.io/ synopsis: A Testing Framework for Haskell description: This package exposes internal types and functions that can be used to extend Hspec's functionality. source-repository head type: git location: https://github.com/hspec/hspec subdir: hspec-core library hs-source-dirs: src vendor ghc-options: -Wall build-depends: base >= 4.5.0.0 && < 5 , random , tf-random , setenv , ansi-terminal >= 0.5 , time , transformers >= 0.2.2.0 , deepseq , HUnit >= 1.2.5 , QuickCheck >= 2.5.1 , quickcheck-io < 0.2.0 , hspec-expectations == 0.8.2.* , async >= 2 , call-stack , directory , filepath , array exposed-modules: Test.Hspec.Core.Spec Test.Hspec.Core.Hooks Test.Hspec.Core.Runner Test.Hspec.Core.Formatters Test.Hspec.Core.QuickCheck Test.Hspec.Core.Util other-modules: Test.Hspec.Core.Compat Test.Hspec.Core.Config Test.Hspec.Core.Example Test.Hspec.Core.FailureReport Test.Hspec.Core.Formatters.Diff Test.Hspec.Core.Formatters.Free Test.Hspec.Core.Formatters.Internal Test.Hspec.Core.Formatters.Monad Test.Hspec.Core.Options Test.Hspec.Core.QuickCheckUtil Test.Hspec.Core.Runner.Eval Test.Hspec.Core.Spec.Monad Test.Hspec.Core.Timer Test.Hspec.Core.Tree Data.Algorithm.Diff Paths_hspec_core default-language: Haskell2010 test-suite spec type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: src vendor test ghc-options: -Wall cpp-options: -DTEST build-depends: base >= 4.5.0.0 && < 5 , random , tf-random , setenv , ansi-terminal >= 0.5 , time , transformers >= 0.2.2.0 , deepseq , HUnit >= 1.2.5 , QuickCheck >= 2.5.1 , quickcheck-io < 0.2.0 , hspec-expectations == 0.8.2.* , async >= 2 , call-stack , directory , filepath , array , hspec-meta >= 2.3.2 , silently >= 1.2.4 , process , temporary other-modules: Test.Hspec.Core.Compat Test.Hspec.Core.Config Test.Hspec.Core.Example Test.Hspec.Core.FailureReport Test.Hspec.Core.Formatters Test.Hspec.Core.Formatters.Diff Test.Hspec.Core.Formatters.Free Test.Hspec.Core.Formatters.Internal Test.Hspec.Core.Formatters.Monad Test.Hspec.Core.Hooks Test.Hspec.Core.Options Test.Hspec.Core.QuickCheck Test.Hspec.Core.QuickCheckUtil Test.Hspec.Core.Runner
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2017-04-14 13:38:08 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Fri Apr 14 13:38:08 2017 rev:3 rq:485133 version:2.4.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2017-03-20 17:07:07.686496855 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2017-04-14 13:38:11.931339803 +0200 @@ -1,0 +2,5 @@ +Mon Mar 27 12:41:16 UTC 2017 - psim...@suse.com + +- Update to version 2.4.3 with cabal2obs. + +--- Old: hspec-core-2.4.2.tar.gz New: hspec-core-2.4.3.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.bDVRNG/_old 2017-04-14 13:38:14.243013096 +0200 +++ /var/tmp/diff_new_pack.bDVRNG/_new 2017-04-14 13:38:14.243013096 +0200 @@ -19,7 +19,7 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.4.2 +Version:2.4.3 Release:0 Summary:A Testing Framework for Haskell License:MIT ++ hspec-core-2.4.2.tar.gz -> hspec-core-2.4.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.4.2/hspec-core.cabal new/hspec-core-2.4.3/hspec-core.cabal --- old/hspec-core-2.4.2/hspec-core.cabal 2017-02-24 08:46:45.0 +0100 +++ new/hspec-core-2.4.3/hspec-core.cabal 2017-03-25 12:27:37.0 +0100 @@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: hspec-core -version: 2.4.2 +version: 2.4.3 license: MIT license-file: LICENSE copyright:(c) 2011-2017 Simon Hengel, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.4.2/src/Test/Hspec/Core/Compat.hs new/hspec-core-2.4.3/src/Test/Hspec/Core/Compat.hs --- old/hspec-core-2.4.2/src/Test/Hspec/Core/Compat.hs 2017-02-24 08:46:45.0 +0100 +++ new/hspec-core-2.4.3/src/Test/Hspec/Core/Compat.hs 2017-03-25 12:27:37.0 +0100 @@ -51,7 +51,7 @@ import Data.IORef import System.Environment -import Data.Typeable.Internal (tyConModule, tyConName) +import Data.Typeable (tyConModule, tyConName) import Control.Concurrent #if !MIN_VERSION_base(4,6,0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.4.2/src/Test/Hspec/Core/Config.hs new/hspec-core-2.4.3/src/Test/Hspec/Core/Config.hs --- old/hspec-core-2.4.2/src/Test/Hspec/Core/Config.hs 2017-02-24 08:46:45.0 +0100 +++ new/hspec-core-2.4.3/src/Test/Hspec/Core/Config.hs 2017-03-25 12:27:37.0 +0100 @@ -11,7 +11,8 @@ #endif ) where -import Control.Applicative +import Prelude () + import Control.Exception import Control.Monad import Data.Maybe @@ -23,6 +24,7 @@ import qualified Test.QuickCheck as QC import Test.Hspec.Core.Util +import Test.Hspec.Core.Compat import Test.Hspec.Core.Options import Test.Hspec.Core.FailureReport import Test.Hspec.Core.QuickCheckUtil (mkGen) @@ -85,7 +87,8 @@ case ignore of True -> return [] False -> readConfigFiles - case parseOptions opts_ prog configFiles args of + envVar <- fmap words <$> lookupEnv envVarName + case parseOptions opts_ prog configFiles envVar args of Left (err, msg) -> exitWithMessage err msg Right opts -> do r <- if configRerun opts then readFailureReport opts else return Nothing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hspec-core-2.4.2/src/Test/Hspec/Core/Options.hs new/hspec-core-2.4.3/src/Test/Hspec/Core/Options.hs --- old/hspec-core-2.4.2/src/Test/Hspec/Core/Options.hs 2017-02-24 08:46:45.0 +0100 +++ new/hspec-core-2.4.3/src/Test/Hspec/Core/Options.hs 2017-03-25 12:27:37.0 +0100 @@ -6,6 +6,7 @@ , parseOptions , ConfigFile , ignoreConfigFile +, envVarName ) where import Prelude () @@ -20,9 +21,15 @@ import Test.Hspec.Core.Util import Test.Hspec.Core.Example (Params(..), defaultParams) import Data.Functor.Identity +import Data.Maybe type ConfigFile = (FilePath, [String]) +type EnvVar = [String] + +envVarName :: String +envVarName = "HSPEC_OPTIONS" + data Config = Config { configIgnoreConfigFile :: Bool , configDryRun :: Bool @@ -225,9 +
commit ghc-hspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-hspec-core for openSUSE:Factory checked in at 2017-03-20 17:07:06 Comparing /work/SRC/openSUSE:Factory/ghc-hspec-core (Old) and /work/SRC/openSUSE:Factory/.ghc-hspec-core.new (New) Package is "ghc-hspec-core" Mon Mar 20 17:07:06 2017 rev:2 rq:477449 version:2.4.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-hspec-core/ghc-hspec-core.changes 2016-11-16 13:32:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hspec-core.new/ghc-hspec-core.changes 2017-03-20 17:07:07.686496855 +0100 @@ -1,0 +2,20 @@ +Mon Feb 27 10:12:17 UTC 2017 - psim...@suse.com + +- Update to version 2.4.2 with cabal2obs. + +--- +Sun Feb 12 14:08:50 UTC 2017 - psim...@suse.com + +- Update to version 2.4.1 with cabal2obs. + +--- +Tue Nov 1 18:14:50 UTC 2016 - psim...@suse.com + +- Update to version 2.2.4 revision 1 with cabal2obs. + +--- +Thu Oct 6 13:54:06 UTC 2016 - psim...@suse.com + +- Update to version 2.2.3 revision 1 with cabal2obs. + +--- Old: hspec-core-2.2.3.tar.gz New: hspec-core-2.4.2.tar.gz Other differences: -- ++ ghc-hspec-core.spec ++ --- /var/tmp/diff_new_pack.BdKxQi/_old 2017-03-20 17:07:08.474385605 +0100 +++ /var/tmp/diff_new_pack.BdKxQi/_new 2017-03-20 17:07:08.478385040 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-hspec-core # -# 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,20 +19,23 @@ %global pkg_name hspec-core %bcond_with tests Name: ghc-%{pkg_name} -Version:2.2.3 +Version:2.4.2 Release:0 Summary:A Testing Framework for Haskell 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-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-ansi-terminal-devel +BuildRequires: ghc-array-devel BuildRequires: ghc-async-devel +BuildRequires: ghc-call-stack-devel BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-filepath-devel BuildRequires: ghc-hspec-expectations-devel BuildRequires: ghc-quickcheck-io-devel BuildRequires: ghc-random-devel @@ -46,8 +49,8 @@ BuildRequires: ghc-hspec-meta-devel BuildRequires: ghc-process-devel BuildRequires: ghc-silently-devel +BuildRequires: ghc-temporary-devel %endif -# End cabal-rpm deps %description This package exposes internal types and functions that can be used to extend @@ -67,20 +70,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 ++ hspec-core-2.2.3.tar.gz -> hspec-core-2.4.2.tar.gz ++ 4080 lines of diff (skipped)