Hello community,

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

Package is "ghc-tagged"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-tagged/ghc-tagged.changes    2016-07-20 
09:20:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-tagged.new/ghc-tagged.changes       
2016-10-19 13:04:35.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 07:10:20 UTC 2016 - [email protected]
+
+- Update to version 0.8.5 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  tagged-0.8.4.tar.gz

New:
----
  tagged-0.8.5.tar.gz

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

Other differences:
------------------
++++++ ghc-tagged.spec ++++++
--- /var/tmp/diff_new_pack.9mBPgv/_old  2016-10-19 13:04:38.000000000 +0200
+++ /var/tmp/diff_new_pack.9mBPgv/_new  2016-10-19 13:04:38.000000000 +0200
@@ -18,20 +18,20 @@
 
 %global pkg_name tagged
 Name:           ghc-%{pkg_name}
-Version:        0.8.4
+Version:        0.8.5
 Release:        0
 Summary:        Haskell 98 phantom types to avoid unsafely passing dummy 
arguments
 License:        BSD-3-Clause
-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-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-transformers-compat-devel
+BuildRequires:  ghc-transformers-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 Haskell 98 phantom types to avoid unsafely passing dummy arguments.
@@ -50,15 +50,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++++++ tagged-0.8.4.tar.gz -> tagged-0.8.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tagged-0.8.4/.travis.yml new/tagged-0.8.5/.travis.yml
--- old/tagged-0.8.4/.travis.yml        2016-04-23 21:48:24.000000000 +0200
+++ new/tagged-0.8.5/.travis.yml        2016-07-23 15:07:54.000000000 +0200
@@ -14,6 +14,14 @@
 
 matrix:
   include:
+    - env: CABALVER=1.16 GHCVER=7.0.4 BUILD=cabal
+      compiler: ": #GHC 7.0.4"
+      addons: {apt: {packages: 
[cabal-install-1.16,ghc-7.0.4,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
+
+    - env: CABALVER=1.16 GHCVER=7.2.2 BUILD=cabal
+      compiler: ": #GHC 7.2.2"
+      addons: {apt: {packages: 
[cabal-install-1.16,ghc-7.2.2,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
+
     - env: CABALVER=1.16 GHCVER=7.4.2 BUILD=cabal
       compiler: ": #GHC 7.4.2"
       addons: {apt: {packages: 
[cabal-install-1.16,ghc-7.4.2,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
@@ -26,20 +34,20 @@
       compiler: ": #GHC 7.8.4"
       addons: {apt: {packages: 
[cabal-install-1.18,ghc-7.8.4,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
 
-    - env: BUILD=stack STACK_YAML=stack-7.8.yaml STACK_OPTIONS=--skip-ghc-check
-      compiler: ": #GHC 7.8.4"
-      addons: {apt: {packages: 
[cabal-install-1.18,ghc-7.8.4,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
+#    - env: BUILD=stack STACK_YAML=stack-7.8.yaml 
STACK_OPTIONS=--skip-ghc-check
+#      compiler: ": #GHC 7.8.4"
+#      addons: {apt: {packages: 
[cabal-install-1.18,ghc-7.8.4,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
 
-    - env: BUILD=stack STACK_YAML=stack-7.8.yaml
-      os: osx
+#    - env: BUILD=stack STACK_YAML=stack-7.8.yaml
+#      os: osx
 
     - env: CABALVER=1.22 GHCVER=7.10.1 BUILD=cabal
       compiler: ": #GHC 7.10.1"
       addons: {apt: {packages: 
[cabal-install-1.22,ghc-7.10.1,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
 
-    - env: BUILD=stack STACK_OPTIONS=--skip-ghc-check
-      compiler: ": #GHC 7.10.1"
-      addons: {apt: {packages: 
[cabal-install-1.22,ghc-7.10.1,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
+#    - env: BUILD=stack STACK_OPTIONS=--skip-ghc-check
+#      compiler: ": #GHC 7.10.1"
+#      addons: {apt: {packages: 
[cabal-install-1.22,ghc-7.10.1,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
 
     - env: CABALVER=1.22 GHCVER=7.10.3 BUILD=cabal
       compiler: ": #GHC 7.10.3"
@@ -49,9 +57,17 @@
       compiler: ": #GHC 8.0.1"
       addons: {apt: {packages: 
[cabal-install-1.24,ghc-8.0.1,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
 
-    - env: BUILD=stack
-      os: osx
-
+    - env: CABALVER=head GHCVER=head BUILD=cabal
+      compiler: ": #GHC head"
+      addons: {apt: {packages: 
[cabal-install-head,ghc-head,alex-3.1.4,happy-1.19.5], sources: [hvr-ghc]}}
+
+#    - env: BUILD=stack
+#      os: osx
+
+  allow_failures:
+    - env: CABALVER=1.16 GHCVER=7.0.4 BUILD=cabal
+    - env: CABALVER=1.16 GHCVER=7.2.2 BUILD=cabal
+    - env: CABALVER=head GHCVER=head BUILD=cabal
 
 before_install:
  - unset CC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tagged-0.8.4/CHANGELOG.markdown 
new/tagged-0.8.5/CHANGELOG.markdown
--- old/tagged-0.8.4/CHANGELOG.markdown 2016-04-23 21:48:24.000000000 +0200
+++ new/tagged-0.8.5/CHANGELOG.markdown 2016-07-23 15:07:54.000000000 +0200
@@ -1,3 +1,9 @@
+0.8.5
+-----
+* Support `Data.Bifoldable`/`Data.Bitraversable` in `base` for GHC 8.1+.
+* Backport the `Eq1`, `Ord1`, `Read1`, and `Show1` instances for `Proxy` from 
`base-4.9`
+* Add `Eq1`/`2`, `Ord1`/`2`, `Read1`/`2`, and `Show1`/`2` instances for 
`Tagged`
+
 0.8.4
 -----
 * Backport the `Alternative`, `MonadPlus`, and `MonadZip` instances for 
`Proxy` from `base-4.9`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tagged-0.8.4/README.markdown 
new/tagged-0.8.5/README.markdown
--- old/tagged-0.8.4/README.markdown    2016-04-23 21:48:24.000000000 +0200
+++ new/tagged-0.8.5/README.markdown    2016-07-23 15:07:54.000000000 +0200
@@ -1,4 +1,6 @@
 tagged
 ======
 
+[![Hackage](https://img.shields.io/hackage/v/tagged.svg)](https://hackage.haskell.org/package/tagged)
 [![Build 
Status](https://secure.travis-ci.org/ekmett/tagged.png?branch=master)](http://travis-ci.org/ekmett/tagged)
+
 Values carrying an extra [phantom type](https://wiki.haskell.org/Phantom_type) 
tag.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tagged-0.8.4/old/Data/Proxy.hs 
new/tagged-0.8.5/old/Data/Proxy.hs
--- old/tagged-0.8.4/old/Data/Proxy.hs  2016-04-23 21:48:24.000000000 +0200
+++ new/tagged-0.8.5/old/Data/Proxy.hs  2016-07-23 15:07:54.000000000 +0200
@@ -43,6 +43,9 @@
 #ifdef MIN_VERSION_deepseq
 import Control.DeepSeq (NFData(..))
 #endif
+#ifdef MIN_VERSION_transformers
+import Data.Functor.Classes (Eq1(..), Ord1(..), Read1(..), Show1(..))
+#endif
 import Data.Traversable (Traversable(..))
 import Data.Foldable (Foldable(..))
 import Data.Ix (Ix(..))
@@ -159,6 +162,35 @@
     rnf Proxy = ()
 #endif
 
+#ifdef MIN_VERSION_transformers
+# if MIN_VERSION_transformers(0,4,0) && !(MIN_VERSION_transformers(0,5,0))
+instance Eq1 Proxy where
+  eq1 = (==)
+
+instance Ord1 Proxy where
+  compare1 = compare
+
+instance Read1 Proxy where
+  readsPrec1 = readsPrec
+
+instance Show1 Proxy where
+  showsPrec1 = showsPrec
+# else
+instance Eq1 Proxy where
+  liftEq _ _ _ = True
+
+instance Ord1 Proxy where
+  liftCompare _ _ _ = EQ
+
+instance Show1 Proxy where
+  liftShowsPrec _ _ _ _ = showString "Proxy"
+
+instance Read1 Proxy where
+  liftReadsPrec _ _ d =
+    readParen (d > 10) (\r -> [(Proxy, s) | ("Proxy",s) <- lex r ])
+# endif
+#endif
+
 instance Functor Proxy where
     fmap _ _ = Proxy
     {-# INLINE fmap #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tagged-0.8.4/src/Data/Tagged.hs 
new/tagged-0.8.5/src/Data/Tagged.hs
--- old/tagged-0.8.4/src/Data/Tagged.hs 2016-04-23 21:48:24.000000000 +0200
+++ new/tagged-0.8.5/src/Data/Tagged.hs 2016-07-23 15:07:54.000000000 +0200
@@ -55,10 +55,21 @@
 #ifdef MIN_VERSION_deepseq
 import Control.DeepSeq (NFData(..))
 #endif
+#ifdef MIN_VERSION_transformers
+import Data.Functor.Classes ( Eq1(..), Ord1(..), Read1(..), Show1(..)
+# if !(MIN_VERSION_transformers(0,4,0)) || MIN_VERSION_transformers(0,5,0)
+                            , Eq2(..), Ord2(..), Read2(..), Show2(..)
+# endif
+                            )
+#endif
 import Control.Monad (liftM)
 #if __GLASGOW_HASKELL__ >= 709
 import Data.Bifunctor
 #endif
+#if __GLASGOW_HASKELL__ >= 801
+import Data.Bifoldable (Bifoldable(..))
+import Data.Bitraversable (Bitraversable(..))
+#endif
 #ifdef __GLASGOW_HASKELL__
 import Data.Data
 #endif
@@ -171,11 +182,68 @@
     {-# INLINE bimap #-}
 #endif
 
+#if __GLASGOW_HASKELL__ >= 801
+-- these instances are provided by the bifunctors package for GHC<8.1
+instance Bifoldable Tagged where
+    bifoldMap _ g (Tagged b) = g b
+    {-# INLINE bifoldMap #-}
+
+instance Bitraversable Tagged where
+    bitraverse _ g (Tagged b) = Tagged <$> g b
+    {-# INLINE bitraverse #-}
+#endif
+
 #ifdef MIN_VERSION_deepseq
 instance NFData b => NFData (Tagged s b) where
     rnf (Tagged b) = rnf b
 #endif
 
+#ifdef MIN_VERSION_transformers
+# if MIN_VERSION_transformers(0,4,0) && !(MIN_VERSION_transformers(0,5,0))
+instance Eq1 (Tagged s) where
+    eq1 = (==)
+
+instance Ord1 (Tagged s) where
+    compare1 = compare
+
+instance Read1 (Tagged s) where
+    readsPrec1 = readsPrec
+
+instance Show1 (Tagged s) where
+    showsPrec1 = showsPrec
+# else
+instance Eq1 (Tagged s) where
+    liftEq eq (Tagged a) (Tagged b) = eq a b
+
+instance Ord1 (Tagged s) where
+    liftCompare cmp (Tagged a) (Tagged b) = cmp a b
+
+instance Read1 (Tagged s) where
+    liftReadsPrec rp _ d = readParen (d > 10) $ \r ->
+        [(Tagged a, t) | ("Tagged", s) <- lex r, (a, t) <- rp 11 s]
+
+instance Show1 (Tagged s) where
+    liftShowsPrec sp _ n (Tagged b) = showParen (n > 10) $
+        showString "Tagged " .
+        sp 11 b
+
+instance Eq2 Tagged where
+    liftEq2 _ eq (Tagged a) (Tagged b) = eq a b
+
+instance Ord2 Tagged where
+    liftCompare2 _ cmp (Tagged a) (Tagged b) = cmp a b
+
+instance Read2 Tagged where
+    liftReadsPrec2 _ _ rp _ d = readParen (d > 10) $ \r ->
+        [(Tagged a, t) | ("Tagged", s) <- lex r, (a, t) <- rp 11 s]
+
+instance Show2 Tagged where
+    liftShowsPrec2 _ _ sp _ n (Tagged b) = showParen (n > 10) $
+        showString "Tagged " .
+        sp 11 b
+# endif
+#endif
+
 instance Applicative (Tagged s) where
     pure = Tagged
     {-# INLINE pure #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tagged-0.8.4/tagged.cabal 
new/tagged-0.8.5/tagged.cabal
--- old/tagged-0.8.4/tagged.cabal       2016-04-23 21:48:24.000000000 +0200
+++ new/tagged-0.8.5/tagged.cabal       2016-07-23 15:07:54.000000000 +0200
@@ -1,5 +1,5 @@
 name:           tagged
-version:        0.8.4
+version:        0.8.5
 license:        BSD3
 license-file:   LICENSE
 author:         Edward A. Kmett
@@ -27,6 +27,14 @@
   default: True
   manual: True
 
+flag transformers
+  description:
+    You can disable the use of the `transformers` and `transformers-compat` 
packages using `-f-transformers`.
+    .
+    Disable this is an unsupported configuration, but it may be useful for 
accelerating builds in sandboxes for expert users.
+  default: True
+  manual: True
+
 library
   default-language: Haskell98
   other-extensions: CPP
@@ -53,3 +61,7 @@
 
   if flag(deepseq)
     build-depends: deepseq >= 1.1 && < 1.5
+
+  if flag(transformers)
+    build-depends: transformers        >= 0.2 && < 0.6,
+                   transformers-compat >= 0.5 && < 1


Reply via email to