From fa1c7abfc76287cc3d3a5ecb826ed0d262ffef89198dd34427cd1fde70811f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 28 Dec 2019 14:40:49 +0000 Subject: [PATCH 1/7] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-generic-deriving revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=49 --- ghc-generic-deriving.changes | 177 +---------------------------------- 1 file changed, 3 insertions(+), 174 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 72f8739..1b00245 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,183 +1,12 @@ ------------------------------------------------------------------- -Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com +Wed Nov 27 03:00:27 UTC 2019 - psimons@suse.com - Update generic-deriving to version 1.13.1. # 1.13.1 [2019.11.26] * Backport the `Generic(1)` instances for `Kleisli` introduced in `base-4.14`. ------------------------------------------------------------------- -Fri Nov 8 16:13:47 UTC 2019 - Peter Simons +Wed Aug 28 17:31:15 UTC 2019 - psimons@suse.com -- Drop obsolete group attributes. +- Add generic-deriving at version 1.13. -------------------------------------------------------------------- -Wed Aug 28 02:02:35 UTC 2019 - psimons@suse.com - -- Update generic-deriving to version 1.13. - # 1.13 [2019.08.27] - * Make `GSemigroup` a superclass of `GMonoid`. Similarly, make - `GSemigroup'` a superclass of `GMonoid'`. - * In the instance `GMonoid (Maybe a)`, relax the constraint on `a` from - `GMonoid` to `GSemigroup`. - -------------------------------------------------------------------- -Tue Jun 11 14:29:10 UTC 2019 - Peter Simons - -- Update Cabal file for more accurate build dependencies. - -------------------------------------------------------------------- -Tue Apr 30 09:23:03 UTC 2019 - psimons@suse.com - -- Update generic-deriving to version 1.12.4. - # 1.12.4 [2019.04.26] - * Support `th-abstraction-0.3.0.0` or later. - -------------------------------------------------------------------- -Sun Feb 10 03:02:15 UTC 2019 - psimons@suse.com - -- Update generic-deriving to version 1.12.3. - # 1.12.3 [2019.02.09] - * Support `template-haskell-2.15`. - * Add a `gshowList` method to `GShow`, which lets us avoid the need for - `OverlappingInstances` in `Generics.Deriving.TH`. As a consequence, the - `GShow String` instance has been removed, as it is now fully subsumed by - the `GShow [a]` instance (with which it previously overlapped). - * Functions in `Generics.Deriving.TH` now balance groups of `(:*:)` and `(:+:)` - as much as possible (`deriving Generic` was already performing this - optimization, and now `generic-deriving` does too). - * Add a `Generics.Deriving.Default` module demonstrating and explaining - how and why to use `DerivingVia`. There is also a test suite with - further examples. - -------------------------------------------------------------------- -Sat Oct 20 11:31:33 UTC 2018 - Peter Simons - -- Use https URL to refer to bugs.opensuse.org. - -------------------------------------------------------------------- -Wed Jul 18 14:26:25 UTC 2018 - psimons@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -------------------------------------------------------------------- -Fri Jul 13 14:31:34 UTC 2018 - psimons@suse.com - -- Update generic-deriving to version 1.12.2. - # 1.12.2 [2018.06.28] - * Backport the `Generic(1)` instances for `Data.Ord.Down`, introduced in - `base-4.12`. Add `GEq`, `GShow`, `GSemigroup`, `GMonoid`, `GFunctor`, - `GFoldable`, `GTraversable`, and `GCopoint` instances for `Down`. - * Refactor internals using `th-abstraction`. - * Adapt to `Maybe` moving to `GHC.Maybe` in GHC 8.6. - -------------------------------------------------------------------- -Mon May 14 17:02:11 UTC 2018 - psimons@suse.com - -- Update generic-deriving to version 1.12.1 revision 1. - * Adapt to the `EmptyDataDeriving` proposal (introduced in GHC 8.4): - * `Generics.Deriving.TH` now derives `to(1)` and `from(1)` implementations - for empty data types that are strict in the argument. - * Introduce an `EmptyCaseOptions` field to `Options` in - `Generics.Deriving.TH`, which controls whether generated `from(1)`/`to(1)` - implementations for empty data types should use the `EmptyCase` extension - or not (as is the case in GHC 8.4). - * Add `mkFrom0Options`, `mkFrom1Options`, `mkTo0Options`, and `mkTo1Options` - functions to `Generics.Deriving.TH`, which take `EmptyCaseOptions` as - arguments. - * The backported instances for `V1` are now maximally lazy, as per - `EmptyDataDeriving`. (Previously, some instances would unnecessarily force - their argument, such as the `Eq` and `Ord` instances.) - * Add instances for `V1` in `Generics.Deriving.Copoint`, `.Eq`, `.Foldable`, - `.Functor`, `.Show`, and `.Traversable`. - * Remove the bitrotting `simplInstance` function from `Generics.Deriving.TH`. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Wed Apr 19 13:32:43 UTC 2017 - psimons@suse.com - -- Update to version 1.11.2 with cabal2obs. - -------------------------------------------------------------------- -Fri Apr 7 10:28:59 UTC 2017 - psimons@suse.com - -- Update to version 1.11.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Thu Sep 15 06:48:32 UTC 2016 - psimons@suse.com - -- Update to version 1.11.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:06:54 UTC 2016 - psimons@suse.com - -- Update to version 1.10.5 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jun 19 14:47:57 UTC 2016 - mimi.vx@gmail.com - -- update to 1.10.5 -* Apply an optimization to generated to(1)/from(1) instances that factors - out common occurrences of M1 -* Export internal typeclass names -* Fix Haddock issues with GHC 7.8 - -------------------------------------------------------------------- -Mon May 23 21:09:37 UTC 2016 - mimi.vx@gmail.com - -- update to 1.10.4.1 -* Fix Haddock parsing issue on GHC 8.0 -* Backported MonadPlus and MonadZip instances for U1, and made the Functor, - Foldable, Traversable, Alternative, and Monad instances for U1 lazier to - correspond with base-4.9 -* Backported Enum, Bounded, Ix, Functor, Applicative, Monad, MonadFix, MonadPlus, - MonadZip, Foldable, Traversable, and Data instances (introduced in base-4.9) - for datatypes in the Generics.Deriving.Base module -* Added Generics.Deriving.Semigroup -* Added GMonoid instance for Data.Monoid.Alt -* Fixed a bug in the GEnum instances for unsigned Integral types -* Added Safe/Trustworthy pragmas -* Made instances polykinded where possible -* On GHC 8.0 and up, Generics.Deriving.TH uses the new type literal-based machinery -* Rewrote the Template Haskell code to be robust. Among other things, this fixes - a bug with deriving Generic1 instances on GHC 7.8, and makes it easier to - derive Generic1 instances for datatypes that utilize GHC 8.0's - -XTypeInType extension. -* Added deriveAll0 and makeRep0 for symmetry with deriveAll1 and makeRep1 -* AddedmakeRep0FromType and makeRep1FromType to make it easier to pass in the type - instance -* Added functions with the suffix -WithKindSigs to allow generating type synonyms - with explicit kind signatures in the presence of kind-polymorphic type - variables. This is necessary for some datatypes that use -XTypeInType to have - derived Generic(1) instances, but is not turned on by default since the TH - kind inference is not perfect and would cause otherwise valid code to be - rejected. Use only if you know what you are doing. -* Fixed bug where a datatype with a single, nullary constructor would generate - incorrect Generic instances -* More sensible GEnum instances for fixed-size integral types -* Added GCopoint, GEnum, GEq, GFoldable, GFunctor, GMonoid, GShow, and GTraversable - instances for datatypes introduced in GHC 8.0 -* Backported Generic(1) instances added in GHC 8.0. Specifically, Generic instances - for Complex (base-4.4 and later) ExitCode, and Version; and Generic1 instances - for Complex (base-4.4 and later) and Proxy (base-4.7 and later). Added GEnum, - GEq, GFoldable, GFunctor, GIx, GShow, and GTraversable instances for these - datatypes where appropriate. - -------------------------------------------------------------------- -Mon May 16 11:06:21 UTC 2016 - mimi.vx@gmail.com - -- package ghc-generic-deriving updated by st2obs - -------------------------------------------------------------------- -Wed May 11 19:06:19 UTC 2016 - mimi.vx@gmail.com - -- package ghc-generic-deriving updated by st2obs - -------------------------------------------------------------------- -Sat Feb 13 18:24:02 UTC 2016 - mimi.vx@gmail.com - -- ghc-generic-deriving generated by st2obs scritpt From 73d54dd961bc53d4a36915b82914609bca6aecae8877a78065edfd23cabbab6e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 02:02:41 +0000 Subject: [PATCH 2/7] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-generic-deriving revision:11, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=50 --- ghc-generic-deriving.changes | 177 ++++++++++++++++++++++++++++++++++- 1 file changed, 174 insertions(+), 3 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 1b00245..72f8739 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,12 +1,183 @@ ------------------------------------------------------------------- -Wed Nov 27 03:00:27 UTC 2019 - psimons@suse.com +Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com - Update generic-deriving to version 1.13.1. # 1.13.1 [2019.11.26] * Backport the `Generic(1)` instances for `Kleisli` introduced in `base-4.14`. ------------------------------------------------------------------- -Wed Aug 28 17:31:15 UTC 2019 - psimons@suse.com +Fri Nov 8 16:13:47 UTC 2019 - Peter Simons -- Add generic-deriving at version 1.13. +- Drop obsolete group attributes. +------------------------------------------------------------------- +Wed Aug 28 02:02:35 UTC 2019 - psimons@suse.com + +- Update generic-deriving to version 1.13. + # 1.13 [2019.08.27] + * Make `GSemigroup` a superclass of `GMonoid`. Similarly, make + `GSemigroup'` a superclass of `GMonoid'`. + * In the instance `GMonoid (Maybe a)`, relax the constraint on `a` from + `GMonoid` to `GSemigroup`. + +------------------------------------------------------------------- +Tue Jun 11 14:29:10 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + +------------------------------------------------------------------- +Tue Apr 30 09:23:03 UTC 2019 - psimons@suse.com + +- Update generic-deriving to version 1.12.4. + # 1.12.4 [2019.04.26] + * Support `th-abstraction-0.3.0.0` or later. + +------------------------------------------------------------------- +Sun Feb 10 03:02:15 UTC 2019 - psimons@suse.com + +- Update generic-deriving to version 1.12.3. + # 1.12.3 [2019.02.09] + * Support `template-haskell-2.15`. + * Add a `gshowList` method to `GShow`, which lets us avoid the need for + `OverlappingInstances` in `Generics.Deriving.TH`. As a consequence, the + `GShow String` instance has been removed, as it is now fully subsumed by + the `GShow [a]` instance (with which it previously overlapped). + * Functions in `Generics.Deriving.TH` now balance groups of `(:*:)` and `(:+:)` + as much as possible (`deriving Generic` was already performing this + optimization, and now `generic-deriving` does too). + * Add a `Generics.Deriving.Default` module demonstrating and explaining + how and why to use `DerivingVia`. There is also a test suite with + further examples. + +------------------------------------------------------------------- +Sat Oct 20 11:31:33 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +------------------------------------------------------------------- +Wed Jul 18 14:26:25 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Fri Jul 13 14:31:34 UTC 2018 - psimons@suse.com + +- Update generic-deriving to version 1.12.2. + # 1.12.2 [2018.06.28] + * Backport the `Generic(1)` instances for `Data.Ord.Down`, introduced in + `base-4.12`. Add `GEq`, `GShow`, `GSemigroup`, `GMonoid`, `GFunctor`, + `GFoldable`, `GTraversable`, and `GCopoint` instances for `Down`. + * Refactor internals using `th-abstraction`. + * Adapt to `Maybe` moving to `GHC.Maybe` in GHC 8.6. + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update generic-deriving to version 1.12.1 revision 1. + * Adapt to the `EmptyDataDeriving` proposal (introduced in GHC 8.4): + * `Generics.Deriving.TH` now derives `to(1)` and `from(1)` implementations + for empty data types that are strict in the argument. + * Introduce an `EmptyCaseOptions` field to `Options` in + `Generics.Deriving.TH`, which controls whether generated `from(1)`/`to(1)` + implementations for empty data types should use the `EmptyCase` extension + or not (as is the case in GHC 8.4). + * Add `mkFrom0Options`, `mkFrom1Options`, `mkTo0Options`, and `mkTo1Options` + functions to `Generics.Deriving.TH`, which take `EmptyCaseOptions` as + arguments. + * The backported instances for `V1` are now maximally lazy, as per + `EmptyDataDeriving`. (Previously, some instances would unnecessarily force + their argument, such as the `Eq` and `Ord` instances.) + * Add instances for `V1` in `Generics.Deriving.Copoint`, `.Eq`, `.Foldable`, + `.Functor`, `.Show`, and `.Traversable`. + * Remove the bitrotting `simplInstance` function from `Generics.Deriving.TH`. + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Wed Apr 19 13:32:43 UTC 2017 - psimons@suse.com + +- Update to version 1.11.2 with cabal2obs. + +------------------------------------------------------------------- +Fri Apr 7 10:28:59 UTC 2017 - psimons@suse.com + +- Update to version 1.11.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Thu Sep 15 06:48:32 UTC 2016 - psimons@suse.com + +- Update to version 1.11.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:06:54 UTC 2016 - psimons@suse.com + +- Update to version 1.10.5 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jun 19 14:47:57 UTC 2016 - mimi.vx@gmail.com + +- update to 1.10.5 +* Apply an optimization to generated to(1)/from(1) instances that factors + out common occurrences of M1 +* Export internal typeclass names +* Fix Haddock issues with GHC 7.8 + +------------------------------------------------------------------- +Mon May 23 21:09:37 UTC 2016 - mimi.vx@gmail.com + +- update to 1.10.4.1 +* Fix Haddock parsing issue on GHC 8.0 +* Backported MonadPlus and MonadZip instances for U1, and made the Functor, + Foldable, Traversable, Alternative, and Monad instances for U1 lazier to + correspond with base-4.9 +* Backported Enum, Bounded, Ix, Functor, Applicative, Monad, MonadFix, MonadPlus, + MonadZip, Foldable, Traversable, and Data instances (introduced in base-4.9) + for datatypes in the Generics.Deriving.Base module +* Added Generics.Deriving.Semigroup +* Added GMonoid instance for Data.Monoid.Alt +* Fixed a bug in the GEnum instances for unsigned Integral types +* Added Safe/Trustworthy pragmas +* Made instances polykinded where possible +* On GHC 8.0 and up, Generics.Deriving.TH uses the new type literal-based machinery +* Rewrote the Template Haskell code to be robust. Among other things, this fixes + a bug with deriving Generic1 instances on GHC 7.8, and makes it easier to + derive Generic1 instances for datatypes that utilize GHC 8.0's + -XTypeInType extension. +* Added deriveAll0 and makeRep0 for symmetry with deriveAll1 and makeRep1 +* AddedmakeRep0FromType and makeRep1FromType to make it easier to pass in the type + instance +* Added functions with the suffix -WithKindSigs to allow generating type synonyms + with explicit kind signatures in the presence of kind-polymorphic type + variables. This is necessary for some datatypes that use -XTypeInType to have + derived Generic(1) instances, but is not turned on by default since the TH + kind inference is not perfect and would cause otherwise valid code to be + rejected. Use only if you know what you are doing. +* Fixed bug where a datatype with a single, nullary constructor would generate + incorrect Generic instances +* More sensible GEnum instances for fixed-size integral types +* Added GCopoint, GEnum, GEq, GFoldable, GFunctor, GMonoid, GShow, and GTraversable + instances for datatypes introduced in GHC 8.0 +* Backported Generic(1) instances added in GHC 8.0. Specifically, Generic instances + for Complex (base-4.4 and later) ExitCode, and Version; and Generic1 instances + for Complex (base-4.4 and later) and Proxy (base-4.7 and later). Added GEnum, + GEq, GFoldable, GFunctor, GIx, GShow, and GTraversable instances for these + datatypes where appropriate. + +------------------------------------------------------------------- +Mon May 16 11:06:21 UTC 2016 - mimi.vx@gmail.com + +- package ghc-generic-deriving updated by st2obs + +------------------------------------------------------------------- +Wed May 11 19:06:19 UTC 2016 - mimi.vx@gmail.com + +- package ghc-generic-deriving updated by st2obs + +------------------------------------------------------------------- +Sat Feb 13 18:24:02 UTC 2016 - mimi.vx@gmail.com + +- ghc-generic-deriving generated by st2obs scritpt From d3375294106c370ca3bc3ffe12640af3a7e0e3ce7a6f0fd8c848bd6c988e5cf2 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 26 Aug 2020 01:01:24 +0000 Subject: [PATCH 3/7] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-generic-deriving revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=51 --- ghc-generic-deriving.changes | 182 +---------------------------------- ghc-generic-deriving.spec | 4 +- 2 files changed, 4 insertions(+), 182 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 72f8739..c301aac 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,183 +1,5 @@ ------------------------------------------------------------------- -Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com +Tue Aug 25 10:19:04 UTC 2020 - psimons@suse.com -- Update generic-deriving to version 1.13.1. - # 1.13.1 [2019.11.26] - * Backport the `Generic(1)` instances for `Kleisli` introduced in `base-4.14`. +- Add generic-deriving at version 1.13.1. -------------------------------------------------------------------- -Fri Nov 8 16:13:47 UTC 2019 - Peter Simons - -- Drop obsolete group attributes. - -------------------------------------------------------------------- -Wed Aug 28 02:02:35 UTC 2019 - psimons@suse.com - -- Update generic-deriving to version 1.13. - # 1.13 [2019.08.27] - * Make `GSemigroup` a superclass of `GMonoid`. Similarly, make - `GSemigroup'` a superclass of `GMonoid'`. - * In the instance `GMonoid (Maybe a)`, relax the constraint on `a` from - `GMonoid` to `GSemigroup`. - -------------------------------------------------------------------- -Tue Jun 11 14:29:10 UTC 2019 - Peter Simons - -- Update Cabal file for more accurate build dependencies. - -------------------------------------------------------------------- -Tue Apr 30 09:23:03 UTC 2019 - psimons@suse.com - -- Update generic-deriving to version 1.12.4. - # 1.12.4 [2019.04.26] - * Support `th-abstraction-0.3.0.0` or later. - -------------------------------------------------------------------- -Sun Feb 10 03:02:15 UTC 2019 - psimons@suse.com - -- Update generic-deriving to version 1.12.3. - # 1.12.3 [2019.02.09] - * Support `template-haskell-2.15`. - * Add a `gshowList` method to `GShow`, which lets us avoid the need for - `OverlappingInstances` in `Generics.Deriving.TH`. As a consequence, the - `GShow String` instance has been removed, as it is now fully subsumed by - the `GShow [a]` instance (with which it previously overlapped). - * Functions in `Generics.Deriving.TH` now balance groups of `(:*:)` and `(:+:)` - as much as possible (`deriving Generic` was already performing this - optimization, and now `generic-deriving` does too). - * Add a `Generics.Deriving.Default` module demonstrating and explaining - how and why to use `DerivingVia`. There is also a test suite with - further examples. - -------------------------------------------------------------------- -Sat Oct 20 11:31:33 UTC 2018 - Peter Simons - -- Use https URL to refer to bugs.opensuse.org. - -------------------------------------------------------------------- -Wed Jul 18 14:26:25 UTC 2018 - psimons@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -------------------------------------------------------------------- -Fri Jul 13 14:31:34 UTC 2018 - psimons@suse.com - -- Update generic-deriving to version 1.12.2. - # 1.12.2 [2018.06.28] - * Backport the `Generic(1)` instances for `Data.Ord.Down`, introduced in - `base-4.12`. Add `GEq`, `GShow`, `GSemigroup`, `GMonoid`, `GFunctor`, - `GFoldable`, `GTraversable`, and `GCopoint` instances for `Down`. - * Refactor internals using `th-abstraction`. - * Adapt to `Maybe` moving to `GHC.Maybe` in GHC 8.6. - -------------------------------------------------------------------- -Mon May 14 17:02:11 UTC 2018 - psimons@suse.com - -- Update generic-deriving to version 1.12.1 revision 1. - * Adapt to the `EmptyDataDeriving` proposal (introduced in GHC 8.4): - * `Generics.Deriving.TH` now derives `to(1)` and `from(1)` implementations - for empty data types that are strict in the argument. - * Introduce an `EmptyCaseOptions` field to `Options` in - `Generics.Deriving.TH`, which controls whether generated `from(1)`/`to(1)` - implementations for empty data types should use the `EmptyCase` extension - or not (as is the case in GHC 8.4). - * Add `mkFrom0Options`, `mkFrom1Options`, `mkTo0Options`, and `mkTo1Options` - functions to `Generics.Deriving.TH`, which take `EmptyCaseOptions` as - arguments. - * The backported instances for `V1` are now maximally lazy, as per - `EmptyDataDeriving`. (Previously, some instances would unnecessarily force - their argument, such as the `Eq` and `Ord` instances.) - * Add instances for `V1` in `Generics.Deriving.Copoint`, `.Eq`, `.Foldable`, - `.Functor`, `.Show`, and `.Traversable`. - * Remove the bitrotting `simplInstance` function from `Generics.Deriving.TH`. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Wed Apr 19 13:32:43 UTC 2017 - psimons@suse.com - -- Update to version 1.11.2 with cabal2obs. - -------------------------------------------------------------------- -Fri Apr 7 10:28:59 UTC 2017 - psimons@suse.com - -- Update to version 1.11.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Thu Sep 15 06:48:32 UTC 2016 - psimons@suse.com - -- Update to version 1.11.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:06:54 UTC 2016 - psimons@suse.com - -- Update to version 1.10.5 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jun 19 14:47:57 UTC 2016 - mimi.vx@gmail.com - -- update to 1.10.5 -* Apply an optimization to generated to(1)/from(1) instances that factors - out common occurrences of M1 -* Export internal typeclass names -* Fix Haddock issues with GHC 7.8 - -------------------------------------------------------------------- -Mon May 23 21:09:37 UTC 2016 - mimi.vx@gmail.com - -- update to 1.10.4.1 -* Fix Haddock parsing issue on GHC 8.0 -* Backported MonadPlus and MonadZip instances for U1, and made the Functor, - Foldable, Traversable, Alternative, and Monad instances for U1 lazier to - correspond with base-4.9 -* Backported Enum, Bounded, Ix, Functor, Applicative, Monad, MonadFix, MonadPlus, - MonadZip, Foldable, Traversable, and Data instances (introduced in base-4.9) - for datatypes in the Generics.Deriving.Base module -* Added Generics.Deriving.Semigroup -* Added GMonoid instance for Data.Monoid.Alt -* Fixed a bug in the GEnum instances for unsigned Integral types -* Added Safe/Trustworthy pragmas -* Made instances polykinded where possible -* On GHC 8.0 and up, Generics.Deriving.TH uses the new type literal-based machinery -* Rewrote the Template Haskell code to be robust. Among other things, this fixes - a bug with deriving Generic1 instances on GHC 7.8, and makes it easier to - derive Generic1 instances for datatypes that utilize GHC 8.0's - -XTypeInType extension. -* Added deriveAll0 and makeRep0 for symmetry with deriveAll1 and makeRep1 -* AddedmakeRep0FromType and makeRep1FromType to make it easier to pass in the type - instance -* Added functions with the suffix -WithKindSigs to allow generating type synonyms - with explicit kind signatures in the presence of kind-polymorphic type - variables. This is necessary for some datatypes that use -XTypeInType to have - derived Generic(1) instances, but is not turned on by default since the TH - kind inference is not perfect and would cause otherwise valid code to be - rejected. Use only if you know what you are doing. -* Fixed bug where a datatype with a single, nullary constructor would generate - incorrect Generic instances -* More sensible GEnum instances for fixed-size integral types -* Added GCopoint, GEnum, GEq, GFoldable, GFunctor, GMonoid, GShow, and GTraversable - instances for datatypes introduced in GHC 8.0 -* Backported Generic(1) instances added in GHC 8.0. Specifically, Generic instances - for Complex (base-4.4 and later) ExitCode, and Version; and Generic1 instances - for Complex (base-4.4 and later) and Proxy (base-4.7 and later). Added GEnum, - GEq, GFoldable, GFunctor, GIx, GShow, and GTraversable instances for these - datatypes where appropriate. - -------------------------------------------------------------------- -Mon May 16 11:06:21 UTC 2016 - mimi.vx@gmail.com - -- package ghc-generic-deriving updated by st2obs - -------------------------------------------------------------------- -Wed May 11 19:06:19 UTC 2016 - mimi.vx@gmail.com - -- package ghc-generic-deriving updated by st2obs - -------------------------------------------------------------------- -Sat Feb 13 18:24:02 UTC 2016 - mimi.vx@gmail.com - -- ghc-generic-deriving generated by st2obs scritpt diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 8688c7c..22f344f 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-deriving # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,7 +57,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build From a616b457fd369e32bd7899259c0404cce61792801dc6d052ce8fb237c1aab4dd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 1 Sep 2020 15:05:59 +0000 Subject: [PATCH 4/7] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-generic-deriving revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=52 --- ghc-generic-deriving.changes | 182 ++++++++++++++++++++++++++++++++++- ghc-generic-deriving.spec | 2 +- 2 files changed, 181 insertions(+), 3 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index c301aac..72f8739 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,5 +1,183 @@ ------------------------------------------------------------------- -Tue Aug 25 10:19:04 UTC 2020 - psimons@suse.com +Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com -- Add generic-deriving at version 1.13.1. +- Update generic-deriving to version 1.13.1. + # 1.13.1 [2019.11.26] + * Backport the `Generic(1)` instances for `Kleisli` introduced in `base-4.14`. +------------------------------------------------------------------- +Fri Nov 8 16:13:47 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +------------------------------------------------------------------- +Wed Aug 28 02:02:35 UTC 2019 - psimons@suse.com + +- Update generic-deriving to version 1.13. + # 1.13 [2019.08.27] + * Make `GSemigroup` a superclass of `GMonoid`. Similarly, make + `GSemigroup'` a superclass of `GMonoid'`. + * In the instance `GMonoid (Maybe a)`, relax the constraint on `a` from + `GMonoid` to `GSemigroup`. + +------------------------------------------------------------------- +Tue Jun 11 14:29:10 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + +------------------------------------------------------------------- +Tue Apr 30 09:23:03 UTC 2019 - psimons@suse.com + +- Update generic-deriving to version 1.12.4. + # 1.12.4 [2019.04.26] + * Support `th-abstraction-0.3.0.0` or later. + +------------------------------------------------------------------- +Sun Feb 10 03:02:15 UTC 2019 - psimons@suse.com + +- Update generic-deriving to version 1.12.3. + # 1.12.3 [2019.02.09] + * Support `template-haskell-2.15`. + * Add a `gshowList` method to `GShow`, which lets us avoid the need for + `OverlappingInstances` in `Generics.Deriving.TH`. As a consequence, the + `GShow String` instance has been removed, as it is now fully subsumed by + the `GShow [a]` instance (with which it previously overlapped). + * Functions in `Generics.Deriving.TH` now balance groups of `(:*:)` and `(:+:)` + as much as possible (`deriving Generic` was already performing this + optimization, and now `generic-deriving` does too). + * Add a `Generics.Deriving.Default` module demonstrating and explaining + how and why to use `DerivingVia`. There is also a test suite with + further examples. + +------------------------------------------------------------------- +Sat Oct 20 11:31:33 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +------------------------------------------------------------------- +Wed Jul 18 14:26:25 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Fri Jul 13 14:31:34 UTC 2018 - psimons@suse.com + +- Update generic-deriving to version 1.12.2. + # 1.12.2 [2018.06.28] + * Backport the `Generic(1)` instances for `Data.Ord.Down`, introduced in + `base-4.12`. Add `GEq`, `GShow`, `GSemigroup`, `GMonoid`, `GFunctor`, + `GFoldable`, `GTraversable`, and `GCopoint` instances for `Down`. + * Refactor internals using `th-abstraction`. + * Adapt to `Maybe` moving to `GHC.Maybe` in GHC 8.6. + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update generic-deriving to version 1.12.1 revision 1. + * Adapt to the `EmptyDataDeriving` proposal (introduced in GHC 8.4): + * `Generics.Deriving.TH` now derives `to(1)` and `from(1)` implementations + for empty data types that are strict in the argument. + * Introduce an `EmptyCaseOptions` field to `Options` in + `Generics.Deriving.TH`, which controls whether generated `from(1)`/`to(1)` + implementations for empty data types should use the `EmptyCase` extension + or not (as is the case in GHC 8.4). + * Add `mkFrom0Options`, `mkFrom1Options`, `mkTo0Options`, and `mkTo1Options` + functions to `Generics.Deriving.TH`, which take `EmptyCaseOptions` as + arguments. + * The backported instances for `V1` are now maximally lazy, as per + `EmptyDataDeriving`. (Previously, some instances would unnecessarily force + their argument, such as the `Eq` and `Ord` instances.) + * Add instances for `V1` in `Generics.Deriving.Copoint`, `.Eq`, `.Foldable`, + `.Functor`, `.Show`, and `.Traversable`. + * Remove the bitrotting `simplInstance` function from `Generics.Deriving.TH`. + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Wed Apr 19 13:32:43 UTC 2017 - psimons@suse.com + +- Update to version 1.11.2 with cabal2obs. + +------------------------------------------------------------------- +Fri Apr 7 10:28:59 UTC 2017 - psimons@suse.com + +- Update to version 1.11.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Thu Sep 15 06:48:32 UTC 2016 - psimons@suse.com + +- Update to version 1.11.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:06:54 UTC 2016 - psimons@suse.com + +- Update to version 1.10.5 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jun 19 14:47:57 UTC 2016 - mimi.vx@gmail.com + +- update to 1.10.5 +* Apply an optimization to generated to(1)/from(1) instances that factors + out common occurrences of M1 +* Export internal typeclass names +* Fix Haddock issues with GHC 7.8 + +------------------------------------------------------------------- +Mon May 23 21:09:37 UTC 2016 - mimi.vx@gmail.com + +- update to 1.10.4.1 +* Fix Haddock parsing issue on GHC 8.0 +* Backported MonadPlus and MonadZip instances for U1, and made the Functor, + Foldable, Traversable, Alternative, and Monad instances for U1 lazier to + correspond with base-4.9 +* Backported Enum, Bounded, Ix, Functor, Applicative, Monad, MonadFix, MonadPlus, + MonadZip, Foldable, Traversable, and Data instances (introduced in base-4.9) + for datatypes in the Generics.Deriving.Base module +* Added Generics.Deriving.Semigroup +* Added GMonoid instance for Data.Monoid.Alt +* Fixed a bug in the GEnum instances for unsigned Integral types +* Added Safe/Trustworthy pragmas +* Made instances polykinded where possible +* On GHC 8.0 and up, Generics.Deriving.TH uses the new type literal-based machinery +* Rewrote the Template Haskell code to be robust. Among other things, this fixes + a bug with deriving Generic1 instances on GHC 7.8, and makes it easier to + derive Generic1 instances for datatypes that utilize GHC 8.0's + -XTypeInType extension. +* Added deriveAll0 and makeRep0 for symmetry with deriveAll1 and makeRep1 +* AddedmakeRep0FromType and makeRep1FromType to make it easier to pass in the type + instance +* Added functions with the suffix -WithKindSigs to allow generating type synonyms + with explicit kind signatures in the presence of kind-polymorphic type + variables. This is necessary for some datatypes that use -XTypeInType to have + derived Generic(1) instances, but is not turned on by default since the TH + kind inference is not perfect and would cause otherwise valid code to be + rejected. Use only if you know what you are doing. +* Fixed bug where a datatype with a single, nullary constructor would generate + incorrect Generic instances +* More sensible GEnum instances for fixed-size integral types +* Added GCopoint, GEnum, GEq, GFoldable, GFunctor, GMonoid, GShow, and GTraversable + instances for datatypes introduced in GHC 8.0 +* Backported Generic(1) instances added in GHC 8.0. Specifically, Generic instances + for Complex (base-4.4 and later) ExitCode, and Version; and Generic1 instances + for Complex (base-4.4 and later) and Proxy (base-4.7 and later). Added GEnum, + GEq, GFoldable, GFunctor, GIx, GShow, and GTraversable instances for these + datatypes where appropriate. + +------------------------------------------------------------------- +Mon May 16 11:06:21 UTC 2016 - mimi.vx@gmail.com + +- package ghc-generic-deriving updated by st2obs + +------------------------------------------------------------------- +Wed May 11 19:06:19 UTC 2016 - mimi.vx@gmail.com + +- package ghc-generic-deriving updated by st2obs + +------------------------------------------------------------------- +Sat Feb 13 18:24:02 UTC 2016 - mimi.vx@gmail.com + +- ghc-generic-deriving generated by st2obs scritpt diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 22f344f..7b51511 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-deriving # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From ec1a8a60c64e05d25c0ad6d8a01db76804249be7ef47f70e7135cd72ca0b8634 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 11:41:12 +0000 Subject: [PATCH 5/7] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-generic-deriving revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=53 --- ghc-generic-deriving.changes | 5 +++++ ghc-generic-deriving.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 72f8739..9c23490 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 4 10:49:28 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + ------------------------------------------------------------------- Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 7b51511..22f344f 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-deriving # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From 5c85ee4e19d135248d23169185a067ee12a6bc07199be69304a84fb3fefa34b5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 15:03:22 +0000 Subject: [PATCH 6/7] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-generic-deriving revision:11, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=54 --- ghc-generic-deriving.changes | 5 ----- ghc-generic-deriving.spec | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 9c23490..72f8739 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Fri Sep 4 10:49:28 UTC 2020 - Peter Simons - -- Replace %setup -q with the more modern %autosetup macro. - ------------------------------------------------------------------- Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 22f344f..8688c7c 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-deriving # -# Copyright (c) 2020 SUSE LLC +# 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 @@ -57,7 +57,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%autosetup -n %{pkg_name}-%{version} +%setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build From a26b0d11ca1cdd2c4000a435f0e2d581b39445b95763aa594f236473bbe7a127 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 15:10:33 +0000 Subject: [PATCH 7/7] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-generic-deriving revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=55 --- ghc-generic-deriving.changes | 5 +++++ ghc-generic-deriving.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 72f8739..9c23490 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 4 10:49:28 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + ------------------------------------------------------------------- Wed Nov 27 03:00:49 UTC 2019 - psimons@suse.com diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 8688c7c..22f344f 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-deriving # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,7 +57,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build