Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-generic-data for
openSUSE:Factory checked in at 2021-10-12 21:49:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-generic-data (Old)
and /work/SRC/openSUSE:Factory/.ghc-generic-data.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-generic-data"
Tue Oct 12 21:49:14 2021 rev:3 rq:924069 version:0.9.2.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-generic-data/ghc-generic-data.changes
2020-12-22 11:39:44.657517500 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-generic-data.new.2443/ghc-generic-data.changes
2021-10-12 21:50:30.359970727 +0200
@@ -1,0 +2,9 @@
+Fri Oct 1 08:10:39 UTC 2021 - [email protected]
+
+- Update generic-data to version 0.9.2.1.
+ # 0.9.2.1
+
+ - No external changes.
+ - Use cabal-docspec instead of doctest
+
+-------------------------------------------------------------------
Old:
----
generic-data-0.9.2.0.tar.gz
New:
----
generic-data-0.9.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-generic-data.spec ++++++
--- /var/tmp/diff_new_pack.n9wDiB/_old 2021-10-12 21:50:30.863971449 +0200
+++ /var/tmp/diff_new_pack.n9wDiB/_new 2021-10-12 21:50:30.867971454 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-generic-data
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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-data
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.9.2.0
+Version: 0.9.2.1
Release: 0
Summary: Deriving instances with GHC.Generics and related utilities
License: MIT
@@ -28,15 +28,12 @@
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-ap-normalize-devel
BuildRequires: ghc-base-orphans-devel
-BuildRequires: ghc-cabal-doctest-devel
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-ghc-boot-th-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-show-combinators-devel
ExcludeArch: %{ix86}
%if %{with tests}
-BuildRequires: ghc-QuickCheck-devel
-BuildRequires: ghc-doctest-devel
BuildRequires: ghc-generic-lens-devel
BuildRequires: ghc-inspection-testing-devel
BuildRequires: ghc-one-liner-devel
++++++ generic-data-0.9.2.0.tar.gz -> generic-data-0.9.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-data-0.9.2.0/CHANGELOG.md
new/generic-data-0.9.2.1/CHANGELOG.md
--- old/generic-data-0.9.2.0/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-data-0.9.2.1/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,8 @@
+# 0.9.2.1
+
+- No external changes.
+- Use cabal-docspec instead of doctest
+
# 0.9.2.0
- Add instance of `Bounded` for `FiniteEnumeration` (the same as `Generically`)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-data-0.9.2.0/README.md
new/generic-data-0.9.2.1/README.md
--- old/generic-data-0.9.2.0/README.md 2001-09-09 03:46:40.000000000 +0200
+++ new/generic-data-0.9.2.1/README.md 2001-09-09 03:46:40.000000000 +0200
@@ -38,7 +38,7 @@
import Data.Semigroup (Semigroup(..))
-- generic-data
-import Generic.Data (gmappend)
+import Generic.Data (Generic, gmappend)
import Generic.Data.Orphans ()
```
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-data-0.9.2.0/Setup.hs
new/generic-data-0.9.2.1/Setup.hs
--- old/generic-data-0.9.2.0/Setup.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/generic-data-0.9.2.1/Setup.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,2 +1,2 @@
-import Distribution.Extra.Doctest (defaultMainWithDoctests)
-main = defaultMainWithDoctests "generic-data-doctest"
+import Distribution.Simple
+main = defaultMain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-data-0.9.2.0/generic-data.cabal
new/generic-data-0.9.2.1/generic-data.cabal
--- old/generic-data-0.9.2.0/generic-data.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-data-0.9.2.1/generic-data.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,5 @@
name: generic-data
-version: 0.9.2.0
+version: 0.9.2.1
synopsis: Deriving instances with GHC.Generics and related utilities
description:
Generic implementations of standard type classes.
@@ -12,16 +12,12 @@
maintainer: [email protected]
copyright: 2018-2020 Li-yao Xia
category: Generics
-build-type: Custom
+build-type: Simple
extra-source-files: README.md, CHANGELOG.md
cabal-version: >=1.10
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1,
GHC == 8.6.3, GHC == 8.6.5, GHC == 8.8.2
-custom-setup
- setup-depends:
- base, Cabal, cabal-doctest >= 1.0.6 && < 1.1
-
library
hs-source-dirs: src
exposed-modules:
@@ -145,20 +141,6 @@
if impl(ghc < 8.2) || os(windows)
buildable: False
-test-suite generic-data-doctest
- hs-source-dirs: test
- main-is: doctest.hs
- build-depends:
- doctest,
- QuickCheck,
- generic-data,
- base
- ghc-options: -Wall
- default-language: Haskell2010
- type: exitcode-stdio-1.0
- if !impl(ghc >= 8.6)
- buildable: False
-
benchmark bench
hs-source-dirs: test
main-is: bench.hs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-data-0.9.2.0/src/Generic/Data/Internal/Enum.hs
new/generic-data-0.9.2.1/src/Generic/Data/Internal/Enum.hs
--- old/generic-data-0.9.2.0/src/Generic/Data/Internal/Enum.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/generic-data-0.9.2.1/src/Generic/Data/Internal/Enum.hs 2001-09-09
03:46:40.000000000 +0200
@@ -253,26 +253,26 @@
-- | Extends the 'StandardEnum' option for 'GEnum' to allow all constructors
to
-- have arbitrary many fields. Each field type must be an instance of
--- both 'Enum' and 'Bounded'.
+-- both 'Enum' and 'Bounded'. Avoid fields of types 'Int' and 'Word'.
--
-- === __Details__
--
--- Two restrictions require the user's caution:
+-- Two restrictions require the user's attention:
--
-- * The 'Enum' instances of the field types need to start enumerating from 0.
--- Particularly 'Int' is an unfit field type, because the enumeration of the
+-- In particular, 'Int' is an unfit field type, because the enumeration of the
-- negative values starts before 0.
--
-- * There can only be up to @'maxBound' :: 'Int'@ values (because the
implementation
-- represents the cardinality explicitly as an 'Int'). This restriction makes
--- 'Word' an invalid field type. Notably, it is insufficient for each
+-- 'Word' an invalid field type as well. Notably, it is insufficient for each
-- individual field types to stay below this limit. Instead it applies to the
-- generic type as a whole.
--
--- The resulting 'GEnum' instance starts enumerating from @0@ up to
--- @(cardinality - 1)@ and respects the generic 'Ord' instance (defined by
--- 'Generic.Data.gcompare'). The values from different constructors are
enumerated
--- sequentially; they are not interleaved.
+-- Elements are numbered by 'toEnum', from @0@ up to @(cardinality - 1)@.
+-- The resulting ordering matches the generic 'Ord' instance defined by
+-- 'Generic.Data.gcompare'.
+-- The values from different constructors are enumerated sequentially.
--
-- @
-- data Example = C0 Bool Bool | C1 Bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-data-0.9.2.0/src/Generic/Data/Internal/Generically.hs
new/generic-data-0.9.2.1/src/Generic/Data/Internal/Generically.hs
--- old/generic-data-0.9.2.0/src/Generic/Data/Internal/Generically.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/generic-data-0.9.2.1/src/Generic/Data/Internal/Generically.hs
2001-09-09 03:46:40.000000000 +0200
@@ -31,13 +31,16 @@
import Generic.Data.Internal.Show
import Generic.Data.Internal.Traversable (GFoldable, GTraversable, gfoldMap,
gtraverse, gsequenceA)
+-- $setup
+-- >>> :set -XDerivingVia -XDeriveGeneric
+-- >>> import GHC.Generics (Generic, Generic1)
+
-- | Type with instances derived via 'Generic'.
--
-- === Examples
--
-- ==== __Deriving 'Eq', 'Ord', 'Show', 'Read'__
--
--- >>> :set -XDerivingVia -XDeriveGeneric
-- >>> :{
-- data T = C Int Bool
-- deriving Generic
@@ -48,6 +51,7 @@
--
-- The type must have only one constructor.
--
+-- >>> import Data.Monoid (Sum)
-- >>> :{
-- data U = D [Int] (Sum Int)
-- deriving Generic
@@ -164,6 +168,7 @@
-- deriving (Functor, Applicative) via (Generically1 G)
-- :}
--
+-- >>> import Control.Applicative (Alternative)
-- >>> :{
-- data G' a = G' (Maybe a) [a]
-- deriving Generic1
@@ -184,6 +189,7 @@
--
-- ==== __Deriving 'Eq1', 'Ord1'__
--
+-- >>> import Data.Functor.Classes (Eq1, Ord1)
-- >>> :{
-- data I a = I [a] (Maybe a)
-- deriving Generic1
@@ -271,7 +277,7 @@
--
-- === __Example__
--
--- >>> :set -XDeriveGeneric -XDerivingVia
+-- >>> import Data.Monoid (Sum(..))
-- >>> data Point a = Point a a deriving Generic
-- >>> :{
-- newtype Vector a = Vector (Point a)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-data-0.9.2.0/src/Generic/Data/Internal/Meta.hs
new/generic-data-0.9.2.1/src/Generic/Data/Internal/Meta.hs
--- old/generic-data-0.9.2.0/src/Generic/Data/Internal/Meta.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/generic-data-0.9.2.1/src/Generic/Data/Internal/Meta.hs 2001-09-09
03:46:40.000000000 +0200
@@ -94,6 +94,7 @@
-- | The fixity of the first constructor.
--
+-- >>> import GHC.Generics ((:*:)(..))
-- >>> gconFixity (Just 0)
-- Prefix
-- >>> gconFixity ([] :*: id)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-data-0.9.2.0/test/doctest.hs
new/generic-data-0.9.2.1/test/doctest.hs
--- old/generic-data-0.9.2.0/test/doctest.hs 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-data-0.9.2.1/test/doctest.hs 1970-01-01 01:00:00.000000000
+0100
@@ -1,7 +0,0 @@
-module Main (main) where
-
-import Test.DocTest (doctest)
-import Build_doctests (flags, pkgs, module_sources)
-
-main :: IO ()
-main = doctest (flags ++ pkgs ++ module_sources)