From 9ed453b90be9c65f6be6ed7e4b469b1b5f414e343a9b6169aac9920fc02c085a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 21 Dec 2017 19:49:02 +0000 Subject: [PATCH 1/8] osc copypac from project:devel:languages:haskell:lts:10 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=20 --- generic-deriving-1.11.2.tar.gz | 3 --- generic-deriving-1.12.tar.gz | 3 +++ ghc-generic-deriving.changes | 6 ++++++ ghc-generic-deriving.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 generic-deriving-1.11.2.tar.gz create mode 100644 generic-deriving-1.12.tar.gz diff --git a/generic-deriving-1.11.2.tar.gz b/generic-deriving-1.11.2.tar.gz deleted file mode 100644 index 49e811a..0000000 --- a/generic-deriving-1.11.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:29960f2aa810abffc2f02658e7fa523cbfa4c92102e02d252482f9551bc122f9 -size 66546 diff --git a/generic-deriving-1.12.tar.gz b/generic-deriving-1.12.tar.gz new file mode 100644 index 0000000..8b4001b --- /dev/null +++ b/generic-deriving-1.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73976bfaa05983b4c5e4a05127cbb66e7b4ad5de6aec97c9c6cf92b20413d426 +size 67994 diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 47e70c8..2c458a1 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 19:12:43 UTC 2017 - psimons@suse.com + +- Update to version 1.12. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index d957aa6..46f9cfe 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -19,7 +19,7 @@ %global pkg_name generic-deriving %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.11.2 +Version: 1.12 Release: 0 Summary: Generic programming library for generalised deriving License: BSD-3-Clause From 6da6262f552b9c25a9d8208d728887ea3f79f6522fda19ca9c515a01cd401925 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 30 Jan 2018 09:33:09 +0000 Subject: [PATCH 2/8] osc copypac from project:devel:languages:haskell:lts:10 package:ghc-generic-deriving revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=21 --- generic-deriving-1.12.1.tar.gz | 3 ++ generic-deriving-1.12.tar.gz | 3 -- generic-deriving.cabal | 99 ++++++++++++++++++++++++++++++++++ ghc-generic-deriving.changes | 6 +++ ghc-generic-deriving.spec | 6 ++- 5 files changed, 112 insertions(+), 5 deletions(-) create mode 100644 generic-deriving-1.12.1.tar.gz delete mode 100644 generic-deriving-1.12.tar.gz create mode 100644 generic-deriving.cabal diff --git a/generic-deriving-1.12.1.tar.gz b/generic-deriving-1.12.1.tar.gz new file mode 100644 index 0000000..e06aaa6 --- /dev/null +++ b/generic-deriving-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fd3f733a20deee5a6e752969edac1e04a90e2ee34e005fccb5d35a5c129473 +size 67982 diff --git a/generic-deriving-1.12.tar.gz b/generic-deriving-1.12.tar.gz deleted file mode 100644 index 8b4001b..0000000 --- a/generic-deriving-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73976bfaa05983b4c5e4a05127cbb66e7b4ad5de6aec97c9c6cf92b20413d426 -size 67994 diff --git a/generic-deriving.cabal b/generic-deriving.cabal new file mode 100644 index 0000000..e5239f7 --- /dev/null +++ b/generic-deriving.cabal @@ -0,0 +1,99 @@ +name: generic-deriving +version: 1.12.1 +x-revision: 1 +synopsis: Generic programming library for generalised deriving. +description: + + This package provides functionality for generalising the deriving mechanism + in Haskell to arbitrary classes. It was first described in the paper: + . + * /A generic deriving mechanism for Haskell/. + Jose Pedro Magalhaes, Atze Dijkstra, Johan Jeuring, and Andres Loeh. + Haskell'10. + . + The current implementation integrates with the new GHC Generics. See + for more information. + Template Haskell code is provided for supporting older GHCs. + +homepage: https://github.com/dreixel/generic-deriving +bug-reports: https://github.com/dreixel/generic-deriving/issues +category: Generics +copyright: 2011-2013 Universiteit Utrecht, University of Oxford +license: BSD3 +license-file: LICENSE +author: José Pedro Magalhães +maintainer: generics@haskell.org +stability: experimental +build-type: Simple +cabal-version: >= 1.10 +tested-with: GHC == 7.0.4 + , GHC == 7.2.2 + , GHC == 7.4.2 + , GHC == 7.6.3 + , GHC == 7.8.4 + , GHC == 7.10.3 + , GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.1 +extra-source-files: CHANGELOG.md + , README.md + +source-repository head + type: git + location: https://github.com/dreixel/generic-deriving + +flag base-4-9 + description: Use base-4.9 or later. This version of base uses a + DataKinds-based encoding of GHC generics metadata. + default: True + +library + hs-source-dirs: src + exposed-modules: Generics.Deriving + Generics.Deriving.Base + Generics.Deriving.Instances + Generics.Deriving.Copoint + Generics.Deriving.ConNames + Generics.Deriving.Enum + Generics.Deriving.Eq + Generics.Deriving.Foldable + Generics.Deriving.Functor + Generics.Deriving.Monoid + Generics.Deriving.Semigroup + Generics.Deriving.Show + Generics.Deriving.Traversable + Generics.Deriving.Uniplate + + Generics.Deriving.TH + + other-modules: Generics.Deriving.Base.Internal + Generics.Deriving.TH.Internal + Paths_generic_deriving + if flag(base-4-9) + build-depends: base >= 4.9 && < 5 + other-modules: Generics.Deriving.TH.Post4_9 + else + build-depends: base >= 4.3 && < 4.9 + other-modules: Generics.Deriving.TH.Pre4_9 + + build-depends: containers >= 0.1 && < 0.6 + , ghc-prim < 1 + , template-haskell >= 2.4 && < 2.14 + + default-language: Haskell2010 + ghc-options: -Wall + +test-suite spec + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: EmptyCaseSpec + ExampleSpec + TypeInTypeSpec + build-depends: base >= 4.3 && < 5 + , generic-deriving + , hspec >= 2 && < 3 + , template-haskell >= 2.4 && < 2.14 + build-tool-depends: hspec-discover:hspec-discover + hs-source-dirs: tests + default-language: Haskell2010 + ghc-options: -Wall -threaded -rtsopts diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 2c458a1..9470718 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 29 11:25:53 UTC 2018 - psimons@suse.com + +- Update generic-deriving to version 1.12.1 revision 1. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Dec 21 19:12:43 UTC 2017 - psimons@suse.com diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index 46f9cfe..aae4c61 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-generic-deriving # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,13 +19,14 @@ %global pkg_name generic-deriving %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.12 +Version: 1.12.1 Release: 0 Summary: Generic programming library for generalised deriving License: BSD-3-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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-rpm-macros @@ -59,6 +60,7 @@ files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build From 8e835c348c7805fbe8073a888bc0098527ed51a18bfa5dd3d38f6405c5107395 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:55:35 +0000 Subject: [PATCH 3/8] osc copypac from project:devel:languages:haskell:lts:11 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=22 --- ghc-generic-deriving.changes | 98 +----------------------------------- 1 file changed, 1 insertion(+), 97 deletions(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 9470718..4658864 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,102 +1,6 @@ ------------------------------------------------------------------- -Mon Jan 29 11:25:53 UTC 2018 - psimons@suse.com +Wed Mar 14 16:55:42 UTC 2018 - psimons@suse.com - Update generic-deriving to version 1.12.1 revision 1. A more detailed change log is not available. -------------------------------------------------------------------- -Thu Dec 21 19:12:43 UTC 2017 - psimons@suse.com - -- Update to version 1.12. - A more detailed change log is not available. - -------------------------------------------------------------------- -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 cc720d6932519f951dbdff47ac41e5ede82c8514760197a6f0b7692b8738e37f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 13 Apr 2018 13:39:56 +0000 Subject: [PATCH 4/8] osc copypac from project:devel:languages:haskell:lts:11 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=23 --- ghc-generic-deriving.changes | 92 +++++++++++++++++++++++++++++++++++- 1 file changed, 91 insertions(+), 1 deletion(-) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 4658864..bb8f2f0 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,6 +1,96 @@ ------------------------------------------------------------------- -Wed Mar 14 16:55:42 UTC 2018 - psimons@suse.com +Thu Apr 12 08:31:49 UTC 2018 - psimons@suse.com - Update generic-deriving to version 1.12.1 revision 1. A more detailed change log is not available. +------------------------------------------------------------------- +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 66b4fdfdebd3d4c09ed4444847a07faf7adb393552d78948fb81cda099ddd28d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Apr 2018 07:22:46 +0000 Subject: [PATCH 5/8] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-generic-deriving revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=24 --- ghc-generic-deriving.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-generic-deriving.spec b/ghc-generic-deriving.spec index aae4c61..9c03d37 100644 --- a/ghc-generic-deriving.spec +++ b/ghc-generic-deriving.spec @@ -78,7 +78,7 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc CHANGELOG.md README.md From a35effa6bfc5f9b495bcea57f6a8f75256a1b3df758577397204e683e03c24bc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:17:01 +0000 Subject: [PATCH 6/8] osc copypac from project:devel:languages:haskell:ghc-8.4.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=25 --- ghc-generic-deriving.changes | 96 ------------------------------------ 1 file changed, 96 deletions(-) delete mode 100644 ghc-generic-deriving.changes diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes deleted file mode 100644 index bb8f2f0..0000000 --- a/ghc-generic-deriving.changes +++ /dev/null @@ -1,96 +0,0 @@ -------------------------------------------------------------------- -Thu Apr 12 08:31:49 UTC 2018 - psimons@suse.com - -- Update generic-deriving to version 1.12.1 revision 1. - A more detailed change log is not available. - -------------------------------------------------------------------- -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 061770cdc56c2c1a35661033cbc0de6697859c43f9f8b408b041b13f4f372c7d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 15:20:29 +0000 Subject: [PATCH 7/8] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-generic-deriving revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-generic-deriving?expand=0&rev=26 --- ghc-generic-deriving.changes | 90 ++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 ghc-generic-deriving.changes diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes new file mode 100644 index 0000000..47e70c8 --- /dev/null +++ b/ghc-generic-deriving.changes @@ -0,0 +1,90 @@ +------------------------------------------------------------------- +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 daf97b2da77af37165155cc9243f98d17224cbfab1349dc7f5931c6e82147c1a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 May 2018 18:23:50 +0000 Subject: [PATCH 8/8] osc copypac from project:devel:languages:haskell:ghc-8.4.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=27 --- ghc-generic-deriving.changes | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ghc-generic-deriving.changes b/ghc-generic-deriving.changes index 47e70c8..076f717 100644 --- a/ghc-generic-deriving.changes +++ b/ghc-generic-deriving.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +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