Hello community,

here is the log from the commit of package ghc-invariant for openSUSE:Leap:15.2 
checked in at 2020-02-19 18:39:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-invariant (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ghc-invariant.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-invariant"

Wed Feb 19 18:39:43 2020 rev:11 rq:771354 version:0.5.3

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-invariant/ghc-invariant.changes    
2020-01-15 15:02:12.481803306 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-invariant.new.26092/ghc-invariant.changes 
2020-02-19 18:39:43.782081182 +0100
@@ -1,0 +2,21 @@
+Fri Nov  8 16:14:04 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Fri May  3 02:03:06 UTC 2019 - [email protected]
+
+- Update invariant to version 0.5.3.
+  # 0.5.3 [2019.05.02]
+  * Implement `foldMap'` in the `Foldable` instance for `WrappedFunctor` when
+    building with `base-4.13` or later.
+
+-------------------------------------------------------------------
+Tue Apr 30 09:23:05 UTC 2019 - [email protected]
+
+- Update invariant to version 0.5.2.
+  # 0.5.2 [2019.04.26]
+  * Support `th-abstraction-0.3.0.0` or later.
+  * Only incur a `semigroups` dependency on old GHCs.
+
+-------------------------------------------------------------------

Old:
----
  invariant-0.5.1.tar.gz

New:
----
  invariant-0.5.3.tar.gz

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

Other differences:
------------------
++++++ ghc-invariant.spec ++++++
--- /var/tmp/diff_new_pack.8LuySK/_old  2020-02-19 18:39:44.974082645 +0100
+++ /var/tmp/diff_new_pack.8LuySK/_new  2020-02-19 18:39:45.006082685 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-invariant
 #
-# 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,11 +19,10 @@
 %global pkg_name invariant
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.5.1
+Version:        0.5.3
 Release:        0
 Summary:        Haskell98 invariant functors
 License:        BSD-2-Clause
-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
@@ -36,7 +35,6 @@
 BuildRequires:  ghc-contravariant-devel
 BuildRequires:  ghc-profunctors-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-stm-devel
 BuildRequires:  ghc-tagged-devel
 BuildRequires:  ghc-template-haskell-devel
@@ -58,7 +56,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}

++++++ invariant-0.5.1.tar.gz -> invariant-0.5.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/invariant-0.5.1/CHANGELOG.md 
new/invariant-0.5.3/CHANGELOG.md
--- old/invariant-0.5.1/CHANGELOG.md    2018-07-15 13:58:16.000000000 +0200
+++ new/invariant-0.5.3/CHANGELOG.md    2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,11 @@
+# 0.5.3 [2019.05.02]
+* Implement `foldMap'` in the `Foldable` instance for `WrappedFunctor` when
+  building with `base-4.13` or later.
+
+# 0.5.2 [2019.04.26]
+* Support `th-abstraction-0.3.0.0` or later.
+* Only incur a `semigroups` dependency on old GHCs.
+
 # 0.5.1 [2018.07.15]
 * Depend on `QuickCheck-2.11` or later in the test suite.
 * Some Haddock fixes in `Data.Functor.Invariant.TH`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/invariant-0.5.1/invariant.cabal 
new/invariant-0.5.3/invariant.cabal
--- old/invariant-0.5.1/invariant.cabal 2018-07-15 13:58:16.000000000 +0200
+++ new/invariant-0.5.3/invariant.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:                invariant
-version:             0.5.1
+version:             0.5.3
 synopsis:            Haskell98 invariant functors
 description:         Haskell98 invariant functors (also known as exponential 
functors).
                      .
@@ -24,8 +24,9 @@
                    , GHC == 7.10.3
                    , GHC == 8.0.2
                    , GHC == 8.2.2
-                   , GHC == 8.4.3
-                   , GHC == 8.6.1
+                   , GHC == 8.4.4
+                   , GHC == 8.6.5
+                   , GHC == 8.8.1
 extra-source-files:  CHANGELOG.md, README.md
 
 source-repository head
@@ -46,17 +47,19 @@
                      , contravariant        >= 0.5    && < 2
                      , ghc-prim
                      , profunctors          >= 5.2.1  && < 6
-                     , semigroups           >= 0.16.2 && < 1
                      , StateVar             >= 1.1    && < 2
                      , stm                  >= 2.2    && < 3
                      , tagged               >= 0.7.3  && < 1
-                     , template-haskell     >= 2.4    && < 2.15
-                     , th-abstraction       >= 0.2.2  && < 1
+                     , template-haskell     >= 2.4    && < 2.16
+                     , th-abstraction       >= 0.2.2  && < 0.4
                      , transformers         >= 0.2    && < 0.6
                      , transformers-compat  >= 0.3    && < 1
                      , unordered-containers >= 0.2.4  && < 0.3
   ghc-options:         -Wall
 
+  if !impl(ghc >= 8.0)
+    build-depends:     semigroups           >= 0.16.2 && < 1
+
 test-suite spec
   type:                exitcode-stdio-1.0
   hs-source-dirs:      test
@@ -67,6 +70,6 @@
                      , hspec            >= 1.8
                      , invariant
                      , QuickCheck       >= 2.11 && < 3
-                     , template-haskell >= 2.4  && < 2.15
+                     , template-haskell >= 2.4  && < 2.16
   build-tool-depends:  hspec-discover:hspec-discover
   ghc-options:         -Wall
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/invariant-0.5.1/src/Data/Functor/Invariant/TH.hs 
new/invariant-0.5.3/src/Data/Functor/Invariant/TH.hs
--- old/invariant-0.5.1/src/Data/Functor/Invariant/TH.hs        2018-07-15 
13:58:16.000000000 +0200
+++ new/invariant-0.5.3/src/Data/Functor/Invariant/TH.hs        2001-09-09 
03:46:40.000000000 +0200
@@ -269,26 +269,30 @@
 deriveInvariantClass iClass opts name = do
   info <- reifyDatatype name
   case info of
-    DatatypeInfo { datatypeContext = ctxt
-                 , datatypeName    = parentName
-                 , datatypeVars    = vars
-                 , datatypeVariant = variant
-                 , datatypeCons    = cons
+    DatatypeInfo { datatypeContext   = ctxt
+                 , datatypeName      = parentName
+#if MIN_VERSION_th_abstraction(0,3,0)
+                 , datatypeInstTypes = instTys
+#else
+                 , datatypeVars      = instTys
+#endif
+                 , datatypeVariant   = variant
+                 , datatypeCons      = cons
                  } -> do
       (instanceCxt, instanceType)
-        <- buildTypeInstance iClass parentName ctxt vars variant
+        <- buildTypeInstance iClass parentName ctxt instTys variant
       (:[]) `fmap` instanceD (return instanceCxt)
                              (return instanceType)
-                             (invmapDecs iClass opts parentName vars cons)
+                             (invmapDecs iClass opts parentName instTys cons)
 
 -- | Generates a declaration defining the primary function corresponding to a
 -- particular class (invmap for Invariant and invmap2 for Invariant2).
 invmapDecs :: InvariantClass -> Options -> Name -> [Type] -> [ConstructorInfo]
            -> [Q Dec]
-invmapDecs iClass opts parentName vars cons =
+invmapDecs iClass opts parentName instTys cons =
     [ funD (invmapName iClass)
            [ clause []
-                    (normalB $ makeInvmapForCons iClass opts parentName vars 
cons)
+                    (normalB $ makeInvmapForCons iClass opts parentName 
instTys cons)
                     []
            ]
     ]
@@ -299,29 +303,33 @@
 makeInvmapClass iClass opts name = do
   info <- reifyDatatype name
   case info of
-    DatatypeInfo { datatypeContext = ctxt
-                 , datatypeName    = parentName
-                 , datatypeVars    = vars
-                 , datatypeVariant = variant
-                 , datatypeCons    = cons
+    DatatypeInfo { datatypeContext   = ctxt
+                 , datatypeName      = parentName
+#if MIN_VERSION_th_abstraction(0,3,0)
+                 , datatypeInstTypes = instTys
+#else
+                 , datatypeVars      = instTys
+#endif
+                 , datatypeVariant   = variant
+                 , datatypeCons      = cons
                  } ->
       -- We force buildTypeInstance here since it performs some checks for 
whether
       -- or not the provided datatype can actually have invmap/invmap2
       -- implemented for it, and produces errors if it can't.
-      buildTypeInstance iClass parentName ctxt vars variant
-        >> makeInvmapForCons iClass opts parentName vars cons
+      buildTypeInstance iClass parentName ctxt instTys variant
+        >> makeInvmapForCons iClass opts parentName instTys cons
 
 -- | Generates a lambda expression for invmap(2) for the given constructors.
 -- All constructors must be from the same type.
 makeInvmapForCons :: InvariantClass -> Options -> Name -> [Type] -> 
[ConstructorInfo]
                   -> Q Exp
-makeInvmapForCons iClass opts _parentName vars cons = do
+makeInvmapForCons iClass opts _parentName instTys cons = do
     value      <- newName "value"
     covMaps    <- newNameList "covMap" numNbs
     contraMaps <- newNameList "contraMap" numNbs
 
     let mapFuns    = zip covMaps contraMaps
-        lastTyVars = map varTToName $ drop (length vars - fromEnum iClass) vars
+        lastTyVars = map varTToName $ drop (length instTys - fromEnum iClass) 
instTys
         tvMap      = Map.fromList $ zip lastTyVars mapFuns
         argNames   = concat (transpose [covMaps, contraMaps]) ++ [value]
     lamE (map varP argNames)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/invariant-0.5.1/src/Data/Functor/Invariant.hs 
new/invariant-0.5.3/src/Data/Functor/Invariant.hs
--- old/invariant-0.5.1/src/Data/Functor/Invariant.hs   2018-07-15 
13:58:16.000000000 +0200
+++ new/invariant-0.5.3/src/Data/Functor/Invariant.hs   2001-09-09 
03:46:40.000000000 +0200
@@ -592,6 +592,9 @@
   sum        = F.sum        . unwrapFunctor
   product    = F.product    . unwrapFunctor
 #endif
+#if MIN_VERSION_base(4,13,0)
+  foldMap' f = F.foldMap' f . unwrapFunctor
+#endif
 
 instance T.Traversable f => T.Traversable (WrappedFunctor f) where
   traverse f = fmap  WrapFunctor . T.traverse f . unwrapFunctor

++++++ invariant.cabal ++++++
--- /var/tmp/diff_new_pack.8LuySK/_old  2020-02-19 18:39:46.006083913 +0100
+++ /var/tmp/diff_new_pack.8LuySK/_new  2020-02-19 18:39:46.034083947 +0100
@@ -1,5 +1,5 @@
 name:                invariant
-version:             0.5.1
+version:             0.5.3
 x-revision: 1
 synopsis:            Haskell98 invariant functors
 description:         Haskell98 invariant functors (also known as exponential 
functors).
@@ -25,8 +25,9 @@
                    , GHC == 7.10.3
                    , GHC == 8.0.2
                    , GHC == 8.2.2
-                   , GHC == 8.4.3
-                   , GHC == 8.6.1
+                   , GHC == 8.4.4
+                   , GHC == 8.6.5
+                   , GHC == 8.8.1
 extra-source-files:  CHANGELOG.md, README.md
 
 source-repository head
@@ -47,17 +48,19 @@
                      , contravariant        >= 0.5    && < 2
                      , ghc-prim
                      , profunctors          >= 5.2.1  && < 6
-                     , semigroups           >= 0.16.2 && < 1
                      , StateVar             >= 1.1    && < 2
                      , stm                  >= 2.2    && < 3
                      , tagged               >= 0.7.3  && < 1
-                     , template-haskell     >= 2.4    && < 2.15
-                     , th-abstraction       >= 0.2.2  && < 0.3
+                     , template-haskell     >= 2.4    && < 2.17
+                     , th-abstraction       >= 0.2.2  && < 0.4
                      , transformers         >= 0.2    && < 0.6
                      , transformers-compat  >= 0.3    && < 1
                      , unordered-containers >= 0.2.4  && < 0.3
   ghc-options:         -Wall
 
+  if !impl(ghc >= 8.0)
+    build-depends:     semigroups           >= 0.16.2 && < 1
+
 test-suite spec
   type:                exitcode-stdio-1.0
   hs-source-dirs:      test
@@ -68,6 +71,6 @@
                      , hspec            >= 1.8
                      , invariant
                      , QuickCheck       >= 2.11 && < 3
-                     , template-haskell >= 2.4  && < 2.15
+                     , template-haskell >= 2.4  && < 2.17
   build-tool-depends:  hspec-discover:hspec-discover
   ghc-options:         -Wall


Reply via email to