Hello community,

here is the log from the commit of package ghc-tasty for openSUSE:Factory 
checked in at 2016-10-22 13:20:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-tasty (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-tasty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-tasty"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-tasty/ghc-tasty.changes      2016-07-21 
08:15:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tasty.new/ghc-tasty.changes 2016-10-22 
13:20:46.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Sep 15 06:42:44 UTC 2016 - [email protected]
+
+- Update to version 0.11.0.4 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
+Wed Aug 17 18:24:09 UTC 2016 - [email protected]
+
+- Update to version 0.11.0.3 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  tasty-0.11.0.3.tar.gz

New:
----
  tasty-0.11.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-tasty.spec ++++++
--- /var/tmp/diff_new_pack.jeJ8QB/_old  2016-10-22 13:20:47.000000000 +0200
+++ /var/tmp/diff_new_pack.jeJ8QB/_new  2016-10-22 13:20:47.000000000 +0200
@@ -18,15 +18,14 @@
 
 %global pkg_name tasty
 Name:           ghc-%{pkg_name}
-Version:        0.11.0.3
+Version:        0.11.0.4
 Release:        0
 Summary:        Modern and extensible testing framework
 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-ansi-terminal-devel
 BuildRequires:  ghc-async-devel
 BuildRequires:  ghc-clock-devel
@@ -40,7 +39,6 @@
 BuildRequires:  ghc-tagged-devel
 BuildRequires:  ghc-unbounded-delays-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 Tasty is a modern testing framework for Haskell. It lets you combine your unit
@@ -61,15 +59,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++++++ tasty-0.11.0.3.tar.gz -> tasty-0.11.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-0.11.0.3/CHANGELOG.md 
new/tasty-0.11.0.4/CHANGELOG.md
--- old/tasty-0.11.0.3/CHANGELOG.md     2016-04-29 08:31:43.000000000 +0200
+++ new/tasty-0.11.0.4/CHANGELOG.md     2016-08-23 15:39:28.000000000 +0200
@@ -1,6 +1,11 @@
 Changes
 =======
 
+Version 0.11.0.4
+----------------
+
+Fix compatibility with `optparse-applicative-0.13`
+
 Version 0.11.0.3
 ----------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-0.11.0.3/Test/Tasty/CmdLine.hs 
new/tasty-0.11.0.4/Test/Tasty/CmdLine.hs
--- old/tasty-0.11.0.3/Test/Tasty/CmdLine.hs    2015-01-19 16:27:56.000000000 
+0100
+++ new/tasty-0.11.0.4/Test/Tasty/CmdLine.hs    2016-05-04 11:04:52.000000000 
+0200
@@ -32,7 +32,11 @@
 suiteOptionParser ins tree = optionParser $ suiteOptions ins tree
 
 -- | Parse the command line arguments and run the tests using the provided
--- ingredient list
+-- ingredient list.
+--
+-- When the tests finish, this function calls 'exitWith' with the exit code
+-- that indicates whether any tests have failed. See 'defaultMain' for
+-- details.
 defaultMainWithIngredients :: [Ingredient] -> TestTree -> IO ()
 defaultMainWithIngredients ins testTree = do
   cmdlineOpts <- execParser $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-0.11.0.3/Test/Tasty/Options/Core.hs 
new/tasty-0.11.0.4/Test/Tasty/Options/Core.hs
--- old/tasty-0.11.0.3/Test/Tasty/Options/Core.hs       2015-04-25 
08:58:11.000000000 +0200
+++ new/tasty-0.11.0.4/Test/Tasty/Options/Core.hs       2016-08-23 
15:35:57.000000000 +0200
@@ -14,6 +14,7 @@
 import Data.Proxy
 import Data.Tagged
 import Data.Fixed
+import Data.Monoid
 import Options.Applicative
 import GHC.Conc
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-0.11.0.3/Test/Tasty/Patterns.hs 
new/tasty-0.11.0.4/Test/Tasty/Patterns.hs
--- old/tasty-0.11.0.3/Test/Tasty/Patterns.hs   2015-01-19 16:27:56.000000000 
+0100
+++ new/tasty-0.11.0.4/Test/Tasty/Patterns.hs   2016-08-23 15:30:33.000000000 
+0200
@@ -47,6 +47,7 @@
 import Data.Tagged
 
 import Options.Applicative
+import Data.Monoid
 
 data Token = SlashToken
            | WildcardToken
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-0.11.0.3/Test/Tasty.hs 
new/tasty-0.11.0.4/Test/Tasty.hs
--- old/tasty-0.11.0.3/Test/Tasty.hs    2015-01-19 16:27:56.000000000 +0100
+++ new/tasty-0.11.0.4/Test/Tasty.hs    2016-05-04 11:05:36.000000000 +0200
@@ -45,7 +45,29 @@
 defaultIngredients :: [Ingredient]
 defaultIngredients = [listingTests, consoleTestReporter]
 
--- | Parse the command line arguments and run the tests
+-- | Parse the command line arguments and run the tests.
+--
+-- When the tests finish, this function calls 'exitWith' with the exit code
+-- that indicates whether any tests have failed. Most external systems
+-- (stack, cabal, travis-ci, jenkins etc.) rely on the exit code to detect
+-- whether the tests pass. If you want to do something else after
+-- `defaultMain` returns, you need to catch the exception and then re-throw
+-- it. Example:
+--
+-- >import Test.Tasty
+-- >import Test.Tasty.HUnit
+-- >import System.Exit
+-- >import Control.Exception
+-- >
+-- >test = testCase "Test 1" (2 @?= 3)
+-- >
+-- >main = defaultMain test
+-- >  `catch` (\e -> do
+-- >    if e == ExitSuccess
+-- >      then putStrLn "Yea"
+-- >      else putStrLn "Nay"
+-- >    throwIO e)
+
 defaultMain :: TestTree -> IO ()
 defaultMain = defaultMainWithIngredients defaultIngredients
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tasty-0.11.0.3/tasty.cabal 
new/tasty-0.11.0.4/tasty.cabal
--- old/tasty-0.11.0.3/tasty.cabal      2016-04-29 08:31:55.000000000 +0200
+++ new/tasty-0.11.0.4/tasty.cabal      2016-08-23 15:38:28.000000000 +0200
@@ -2,7 +2,7 @@
 --  see http://haskell.org/cabal/users-guide/
 
 name:                tasty
-version:             0.11.0.3
+version:             0.11.0.4
 synopsis:            Modern and extensible testing framework
 description:         Tasty is a modern testing framework for Haskell.
                      It lets you combine your unit tests, golden


Reply via email to