Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-generic-lens for
openSUSE:Factory checked in at 2022-02-11 23:08:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-generic-lens (Old)
and /work/SRC/openSUSE:Factory/.ghc-generic-lens.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-generic-lens"
Fri Feb 11 23:08:57 2022 rev:6 rq:953461 version:2.2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-generic-lens/ghc-generic-lens.changes
2021-08-25 20:57:42.517200545 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-generic-lens.new.1956/ghc-generic-lens.changes
2022-02-11 23:10:48.799189583 +0100
@@ -1,0 +2,7 @@
+Sat Jan 22 22:53:12 UTC 2022 - Peter Simons <[email protected]>
+
+- Update generic-lens to version 2.2.1.0.
+ ## generic-lens-2.2.1.0 (2022-01-22)
+ - GHC 9.2 compatibility
+
+-------------------------------------------------------------------
Old:
----
generic-lens-2.2.0.0.tar.gz
New:
----
generic-lens-2.2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-generic-lens.spec ++++++
--- /var/tmp/diff_new_pack.GkOMNE/_old 2022-02-11 23:10:49.199190740 +0100
+++ /var/tmp/diff_new_pack.GkOMNE/_new 2022-02-11 23:10:49.207190764 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-generic-lens
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# 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 generic-lens
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.2.0.0
+Version: 2.2.1.0
Release: 0
Summary: Generically derive traversals, lenses and prisms
License: BSD-3-Clause
++++++ generic-lens-2.2.0.0.tar.gz -> generic-lens-2.2.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-lens-2.2.0.0/ChangeLog.md
new/generic-lens-2.2.1.0/ChangeLog.md
--- old/generic-lens-2.2.0.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-lens-2.2.1.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,6 @@
+## generic-lens-2.2.1.0 (2022-01-22)
+- GHC 9.2 compatibility
+
## generic-lens-2.2.0.0 (2021-07-13)
- GHC 9.0 compatibility
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-lens-2.2.0.0/generic-lens.cabal
new/generic-lens-2.2.1.0/generic-lens.cabal
--- old/generic-lens-2.2.0.0/generic-lens.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-lens-2.2.1.0/generic-lens.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,5 @@
name: generic-lens
-version: 2.2.0.0
+version: 2.2.1.0
synopsis: Generically derive traversals, lenses and prisms.
description: This library uses GHC.Generics to derive efficient
optics (traversals, lenses and prisms) for algebraic data types in a
type-directed way, with a focus on good type inference and error messages when
possible.
.
@@ -14,7 +14,7 @@
category: Generics, Records, Lens
build-type: Simple
cabal-version: >= 1.10
-Tested-With: GHC == 8.4.1, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4,
GHC == 8.10.3
+Tested-With: GHC == 8.4.1, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4,
GHC == 8.10.3, GHC == 9.0.1, GHC == 9.2.1
extra-source-files: examples/StarWars.hs
, examples/Examples.hs
@@ -45,7 +45,7 @@
, Data.Generics.Internal.VL.Iso
build-depends: base >= 4.11 && < 5
- , generic-lens-core == 2.2.0.0
+ , generic-lens-core == 2.2.1.0
, profunctors
, text >= 1.2 && < 1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.2.0.0/src/Data/Generics/Product/Fields.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Product/Fields.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Product/Fields.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Product/Fields.hs
2001-09-09 03:46:40.000000000 +0200
@@ -2,6 +2,7 @@
{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
+{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
@@ -155,7 +156,7 @@
-- field f s = field' @field f s
-- | See Note [Uncluttering type signatures]
--- >>> :t field
+-- >>> :t +d field
-- field
-- :: (HasField field s t a b, Functor f) => (a -> f b) -> s -> f t
instance {-# OVERLAPPING #-} HasField f (Void1 a) (Void1 b) a b where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.2.0.0/src/Data/Generics/Product/Positions.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Product/Positions.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Product/Positions.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Product/Positions.hs
2001-09-09 03:46:40.000000000 +0200
@@ -129,7 +129,7 @@
{-# INLINE position #-}
-- | See Note [Uncluttering type signatures]
--- >>> :t position
+-- >>> :t +d position
-- position
-- :: (HasPosition i s t a b, Functor f) => (a -> f b) -> s -> f t
instance {-# OVERLAPPING #-} HasPosition f (Void1 a) (Void1 b) a b where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.2.0.0/src/Data/Generics/Product/Subtype.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Product/Subtype.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Product/Subtype.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Product/Subtype.hs
2001-09-09 03:46:40.000000000 +0200
@@ -118,14 +118,14 @@
super = id
-- | See Note [Uncluttering type signatures]
--- >>> :t super
+-- >>> :t +d super
-- super
-- :: (Subtype sup sub, Functor f) => (sup -> f sup) -> sub -> f sub
instance {-# OVERLAPPING #-} Subtype a Void where
super = undefined
-- | See Note [Uncluttering type signatures]
--- >>> :t super @Int
+-- >>> :t +d super @Int
-- super @Int
-- :: (Subtype Int sub, Functor f) => (Int -> f Int) -> sub -> f sub
instance {-# OVERLAPPING #-} Subtype Void a where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.2.0.0/src/Data/Generics/Product/Typed.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Product/Typed.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Product/Typed.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Product/Typed.hs 2001-09-09
03:46:40.000000000 +0200
@@ -110,7 +110,7 @@
{-# INLINE setTyped #-}
-- | See Note [Uncluttering type signatures]
--- >>> :t typed
+-- >>> :t +d typed
-- typed :: (HasType a s, Functor f) => (a -> f a) -> s -> f s
--
-- Note that this might not longer be needed given the above 'HasType a a'
instance.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.2.0.0/src/Data/Generics/Sum/Constructors.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Sum/Constructors.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Sum/Constructors.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Sum/Constructors.hs
2001-09-09 03:46:40.000000000 +0200
@@ -130,7 +130,7 @@
{-# INLINE _Ctor #-}
-- | See Note [Uncluttering type signatures]
--- >>> :t _Ctor
+-- >>> :t +d _Ctor
-- _Ctor
-- :: (AsConstructor ctor s t a b, Choice p, Applicative f) =>
-- p a (f b) -> p s (f t)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.2.0.0/src/Data/Generics/Sum/Subtype.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Sum/Subtype.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Sum/Subtype.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Sum/Subtype.hs 2001-09-09
03:46:40.000000000 +0200
@@ -125,7 +125,7 @@
projectSub = undefined
-- | See Note [Uncluttering type signatures]
--- >>> :t _Sub @Int
+-- >>> :t +d _Sub @Int
-- _Sub @Int
-- :: (AsSubtype Int sup, Choice p, Applicative f) =>
-- p Int (f Int) -> p sup (f sup)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-lens-2.2.0.0/src/Data/Generics/Sum/Typed.hs
new/generic-lens-2.2.1.0/src/Data/Generics/Sum/Typed.hs
--- old/generic-lens-2.2.0.0/src/Data/Generics/Sum/Typed.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/generic-lens-2.2.1.0/src/Data/Generics/Sum/Typed.hs 2001-09-09
03:46:40.000000000 +0200
@@ -102,7 +102,7 @@
{-# INLINE _Typed #-}
-- | See Note [Uncluttering type signatures]
--- >>> :t _Typed
+-- >>> :t +d _Typed
-- _Typed
-- :: (AsType a s, Choice p, Applicative f) => p a (f a) -> p s (f s)
instance {-# OVERLAPPING #-} AsType a Void where
@@ -111,7 +111,7 @@
projectTyped = undefined
-- | See Note [Uncluttering type signatures]
--- >>> :t _Typed @Int
+-- >>> :t +d _Typed @Int
-- _Typed @Int
-- :: (AsType Int s, Choice p, Applicative f) =>
-- p Int (f Int) -> p s (f s)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-lens-2.2.0.0/test/Spec.hs
new/generic-lens-2.2.1.0/test/Spec.hs
--- old/generic-lens-2.2.0.0/test/Spec.hs 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-lens-2.2.1.0/test/Spec.hs 2001-09-09 03:46:40.000000000
+0200
@@ -243,7 +243,7 @@
, $(inspectTest $ 'fieldALensManual === 'fieldALensType)
, $(inspectTest $ 'fieldALensManual === 'fieldALensPos)
, $(inspectTest $ 'fieldALensManual === 'fieldALensPos_)
- , $(inspectTest $ 'subtypeLensManual === 'subtypeLensGeneric)
+ -- , $(inspectTest $ 'subtypeLensManual === 'subtypeLensGeneric)
-- TODO fails >=9.2
, $(inspectTest $ 'typeChangingManual === 'typeChangingGeneric)
, $(inspectTest $ 'typeChangingManual === 'typeChangingGenericPos)
, $(inspectTest $ 'typeChangingManualCompose === 'typeChangingGenericCompose)
@@ -256,9 +256,9 @@
, $(inspectTest $ 'sum2PrismManualChar === 'sum2TypePrismChar)
, $(inspectTest $ 'sum1PrismManual === 'sum1TypePrism)
, $(inspectTest $ 'intTraversalManual === 'intTraversalDerived)
- , $(inspectTest $ 'sum3Param0Manual === 'sum3Param0Derived)
- , $(inspectTest $ 'sum3Param1Manual === 'sum3Param1Derived)
- , $(inspectTest $ 'sum3Param2Manual === 'sum3Param2Derived)
+ -- , $(inspectTest $ 'sum3Param0Manual === 'sum3Param0Derived)
-- TODO fails >=9.0
+ -- , $(inspectTest $ 'sum3Param1Manual === 'sum3Param1Derived)
-- TODO fails >=9.0
+ -- , $(inspectTest $ 'sum3Param2Manual === 'sum3Param2Derived)
-- TODO fails >=9.0
] ++
-- Tests for overloaded labels
[ (valLabel ^. #_foo ) ~=? 3