Hello community,

here is the log from the commit of package ghc-comonad for openSUSE:Factory 
checked in at 2015-08-05 06:50:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-comonad (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-comonad.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-comonad"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-comonad/ghc-comonad.changes  2015-05-23 
13:07:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-comonad.new/ghc-comonad.changes     
2015-08-05 06:50:47.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jul 27 07:08:24 UTC 2015 - [email protected]
+
+- update to 4.2.7.2
+* Compiles warning-free on GHC 7.10
+* Use CPP
+* Trustworthy fixes for GHC 7.2
+
+-------------------------------------------------------------------

Old:
----
  comonad-4.2.6.tar.gz

New:
----
  comonad-4.2.7.2.tar.gz

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

Other differences:
------------------
++++++ ghc-comonad.spec ++++++
--- /var/tmp/diff_new_pack.uGyqlA/_old  2015-08-05 06:50:48.000000000 +0200
+++ /var/tmp/diff_new_pack.uGyqlA/_new  2015-08-05 06:50:48.000000000 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:           ghc-comonad
-Version:        4.2.6
+Version:        4.2.7.2
 Release:        0
 Summary:        Comonads
 License:        BSD-2-Clause

++++++ comonad-4.2.6.tar.gz -> comonad-4.2.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/.travis.yml 
new/comonad-4.2.7.2/.travis.yml
--- old/comonad-4.2.6/.travis.yml       2015-05-14 21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/.travis.yml     2015-07-24 15:42:09.000000000 +0200
@@ -1,23 +1,43 @@
-language: haskell
-before_install:
-  # Uncomment whenever hackage is down.
-  # - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update
-  - cabal update
+env:
+ - GHCVER=7.0.1 CABALVER=1.16
+ - GHCVER=7.0.4 CABALVER=1.16
+ - GHCVER=7.2.2 CABALVER=1.16
+ - GHCVER=7.4.2 CABALVER=1.16
+ - GHCVER=7.6.3 CABALVER=1.16
+ - GHCVER=7.8.4 CABALVER=1.18
+ - GHCVER=7.10.1 CABALVER=1.22
+ - GHCVER=head CABALVER=1.22
+
+matrix:
+  allow_failures:
+   - env: GHCVER=7.0.1 CABALVER=1.16
+   - env: GHCVER=7.0.4 CABALVER=1.16
+   - env: GHCVER=7.2.2 CABALVER=1.16
+   - env: GHCVER=head CABALVER=1.22
 
-  # Try installing some of the build-deps with apt-get for speed.
-  - travis/cabal-apt-install $mode
-  - cabal install packdeps packunused
+before_install:
+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
+ - travis_retry sudo apt-get update
+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
+ - cabal --version
 
 install:
-  - cabal configure -flib-Werror $mode
-  - cabal build --ghc-options=-ddump-minimal-imports
+ - travis_retry cabal update
+ - cabal install --enable-tests --only-dependencies
 
 script:
-  - $script
-  - hlint src --cpp-define HLINT
-  - packdeps comonad.cabal
-  - packunused --ignore-package=transformers-compat
-
+ - cabal configure -v2 --enable-tests
+ - cabal build
+ - cabal sdist
+ - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
+   cd dist/;
+   if [ -f "$SRC_TGZ" ]; then
+      cabal install "$SRC_TGZ";
+   else
+      echo "expected '$SRC_TGZ' not found";
+      exit 1;
+   fi
 
 notifications:
   irc:
@@ -25,7 +45,4 @@
       - "irc.freenode.org#haskell-lens"
     skip_join: true
     template:
-      - "\x0313comonad\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 
%{build_url} %{message}"
-
-env:
-  - mode="--enable-tests" script="cabal test --show-details=always"
+      - "\x0313comonad\x0f/\x0306%{branch}\x0f \x0314%{commit}\x0f %{message} 
\x0302\x1f%{build_url}\x0f"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/CHANGELOG.markdown 
new/comonad-4.2.7.2/CHANGELOG.markdown
--- old/comonad-4.2.6/CHANGELOG.markdown        2015-05-14 21:34:10.000000000 
+0200
+++ new/comonad-4.2.7.2/CHANGELOG.markdown      2015-07-24 15:42:09.000000000 
+0200
@@ -1,3 +1,15 @@
+4.2.7.2
+-------
+* Compiles warning-free on GHC 7.10
+
+4.2.7.1
+-------
+* Use CPP
+
+4.2.7
+-----
+* `Trustworthy` fixes for GHC 7.2
+
 4.2.6
 -----
 * Re-export `(Data.Functor.$>)` rather than supply our own on GHC 7.8+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/comonad.cabal 
new/comonad-4.2.7.2/comonad.cabal
--- old/comonad-4.2.6/comonad.cabal     2015-05-14 21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/comonad.cabal   2015-07-24 15:42:09.000000000 +0200
@@ -1,6 +1,6 @@
 name:          comonad
 category:      Control, Comonads
-version:       4.2.6
+version:       4.2.7.2
 license:       BSD3
 cabal-version: >= 1.10
 license-file:  LICENSE
@@ -14,6 +14,7 @@
 synopsis:      Comonads
 description:   Comonads
 build-type:    Custom
+tested-with:   GHC==7.0.1, GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 
7.6.3, GHC == 7.8.4, GHC == 7.10.1
 extra-source-files:
   .ghci
   .gitignore
@@ -68,7 +69,6 @@
 library
   hs-source-dirs: src
   default-language: Haskell2010
-  other-extensions: CPP
   ghc-options: -Wall
 
   build-depends:
@@ -105,8 +105,8 @@
     Data.Functor.Composition
     Data.Functor.Coproduct
 
-  default-extensions: CPP
   other-extensions:
+    CPP
     RankNTypes
     MultiParamTypeClasses
     FunctionalDependencies
@@ -128,6 +128,3 @@
       directory      >= 1.0,
       doctest        >= 0.9.10,
       filepath
-
-  if impl(ghc<7.6.1)
-    ghc-options: -Werror
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Env/Class.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Env/Class.hs
--- old/comonad-4.2.6/src/Control/Comonad/Env/Class.hs  2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Env/Class.hs        2015-07-24 
15:42:09.000000000 +0200
@@ -3,8 +3,10 @@
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE UndecidableInstances #-}
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Env.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Env.hs
--- old/comonad-4.2.6/src/Control/Comonad/Env.hs        2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Env.hs      2015-07-24 
15:42:09.000000000 +0200
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Identity.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Identity.hs
--- old/comonad-4.2.6/src/Control/Comonad/Identity.hs   2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Identity.hs 2015-07-24 
15:42:09.000000000 +0200
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Store/Class.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Store/Class.hs
--- old/comonad-4.2.6/src/Control/Comonad/Store/Class.hs        2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Store/Class.hs      2015-07-24 
15:42:09.000000000 +0200
@@ -1,8 +1,8 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE FunctionalDependencies #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE UndecidableInstances #-}
-{-# LANGUAGE CPP #-}
 #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
 {-# LANGUAGE Safe #-}
 #endif
@@ -28,7 +28,9 @@
 import qualified Control.Comonad.Trans.Store as Store
 import Control.Comonad.Trans.Traced
 import Control.Comonad.Trans.Identity
+#if __GLASGOW_HASKELL__ < 710
 import Data.Semigroup
+#endif
 
 class Comonad w => ComonadStore s w | w -> s where
   pos :: w a -> s
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Store.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Store.hs
--- old/comonad-4.2.6/src/Control/Comonad/Store.hs      2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Store.hs    2015-07-24 
15:42:09.000000000 +0200
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Traced/Class.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Traced/Class.hs
--- old/comonad-4.2.6/src/Control/Comonad/Traced/Class.hs       2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Traced/Class.hs     2015-07-24 
15:42:09.000000000 +0200
@@ -1,8 +1,8 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE FunctionalDependencies #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE UndecidableInstances #-}
-{-# LANGUAGE CPP #-}
 #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
 {-# LANGUAGE Safe #-}
 #endif
@@ -27,7 +27,9 @@
 import Control.Comonad.Trans.Store
 import qualified Control.Comonad.Trans.Traced as Traced
 import Control.Comonad.Trans.Identity
+#if __GLASGOW_HASKELL__ < 710
 import Data.Semigroup
+#endif
 
 class Comonad w => ComonadTraced m w | w -> m where
   trace :: m -> w a -> a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Traced.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Traced.hs
--- old/comonad-4.2.6/src/Control/Comonad/Traced.hs     2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Traced.hs   2015-07-24 
15:42:09.000000000 +0200
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Trans/Class.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Trans/Class.hs
--- old/comonad-4.2.6/src/Control/Comonad/Trans/Class.hs        2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Trans/Class.hs      2015-07-24 
15:42:09.000000000 +0200
@@ -1,11 +1,13 @@
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Control.Comonad.Trans.Class
--- Copyright   :  (C) 2008-2011 Edward Kmett
+-- Copyright   :  (C) 2008-2015 Edward Kmett
 -- License     :  BSD-style (see the file LICENSE)
 --
 -- Maintainer  :  Edward Kmett <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Trans/Env.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Trans/Env.hs
--- old/comonad-4.2.6/src/Control/Comonad/Trans/Env.hs  2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Trans/Env.hs        2015-07-24 
15:42:09.000000000 +0200
@@ -62,8 +62,10 @@
 import Control.Comonad
 import Control.Comonad.Hoist.Class
 import Control.Comonad.Trans.Class
+#if __GLASGOW_HASKELL__ < 710
 import Data.Foldable
 import Data.Traversable
+#endif
 import Data.Functor.Identity
 import Data.Semigroup
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Trans/Identity.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Trans/Identity.hs
--- old/comonad-4.2.6/src/Control/Comonad/Trans/Identity.hs     2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Trans/Identity.hs   2015-07-24 
15:42:09.000000000 +0200
@@ -1,3 +1,9 @@
+{-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 704
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
+#endif
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Control.Comonad.Trans.Identity
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Trans/Store.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Trans/Store.hs
--- old/comonad-4.2.6/src/Control/Comonad/Trans/Store.hs        2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Trans/Store.hs      2015-07-24 
15:42:09.000000000 +0200
@@ -75,7 +75,9 @@
   , experiment
   ) where
 
+#if __GLASGOW_HASKELL__ < 710
 import Control.Applicative
+#endif
 import Control.Comonad
 import Control.Comonad.Hoist.Class
 import Control.Comonad.Trans.Class
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Control/Comonad/Trans/Traced.hs 
new/comonad-4.2.7.2/src/Control/Comonad/Trans/Traced.hs
--- old/comonad-4.2.6/src/Control/Comonad/Trans/Traced.hs       2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Control/Comonad/Trans/Traced.hs     2015-07-24 
15:42:09.000000000 +0200
@@ -36,22 +36,32 @@
   , censor
   ) where
 
+#if __GLASGOW_HASKELL__ < 710
 import Control.Applicative
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 707
+#endif
+
+#if __GLASGOW_HASKELL__ < 707
 import Control.Monad.Instances ()
 #endif
+
 import Control.Monad (ap)
 import Control.Comonad
 import Control.Comonad.Hoist.Class
 import Control.Comonad.Trans.Class
-import Data.Functor.Identity
-import Data.Semigroup
-import Data.Typeable
 
 #ifdef MIN_VERSION_distributive
 import Data.Distributive
 #endif
 
+import Data.Functor.Identity
+
+#if __GLASGOW_HASKELL__ < 710
+import Data.Semigroup
+#endif
+
+import Data.Typeable
+
+
 type Traced m = TracedT m Identity
 
 traced :: (m -> a) -> Traced m a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/src/Data/Functor/Coproduct.hs 
new/comonad-4.2.7.2/src/Data/Functor/Coproduct.hs
--- old/comonad-4.2.6/src/Data/Functor/Coproduct.hs     2015-05-14 
21:34:10.000000000 +0200
+++ new/comonad-4.2.7.2/src/Data/Functor/Coproduct.hs   2015-07-24 
15:42:09.000000000 +0200
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702
+#if __GLASGOW_HASKELL__ >= 704
 {-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
 #endif
 -----------------------------------------------------------------------------
 -- |
@@ -20,8 +22,10 @@
   ) where
 
 import Control.Comonad
+#if __GLASGOW_HASKELL__ < 710
 import Data.Foldable
 import Data.Traversable
+#endif
 
 #ifdef MIN_VERSION_contravariant
 import Data.Functor.Contravariant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/comonad-4.2.6/tests/doctests.hsc 
new/comonad-4.2.7.2/tests/doctests.hsc
--- old/comonad-4.2.6/tests/doctests.hsc        2015-05-14 21:34:10.000000000 
+0200
+++ new/comonad-4.2.7.2/tests/doctests.hsc      2015-07-24 15:42:09.000000000 
+0200
@@ -16,7 +16,9 @@
 module Main where
 
 import Build_doctests (deps)
+#if __GLASGOW_HASKELL__ < 710
 import Control.Applicative
+#endif
 import Control.Monad
 import Data.List
 import System.Directory


Reply via email to