commit ghc-generics-sop for openSUSE:Factory

2016-08-24 Thread h_root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2016-08-24 10:07:36

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2016-07-21 08:03:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2016-08-24 10:07:37.0 +0200
@@ -1,0 +2,5 @@
+Fri Jul 22 05:58:36 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.2.0 revision 0 with cabal2obs.
+
+---

Old:

  generics-sop-0.2.1.0.tar.gz

New:

  generics-sop-0.2.2.0.tar.gz



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.ejVCa9/_old  2016-08-24 10:07:38.0 +0200
+++ /var/tmp/diff_new_pack.ejVCa9/_new  2016-08-24 10:07:38.0 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name generics-sop
 Name:   ghc-%{pkg_name}
-Version:0.2.1.0
+Version:0.2.2.0
 Release:0
 Summary:Generic Programming using True Sums of Products
 License:BSD-3-Clause
@@ -27,10 +27,8 @@
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-template-haskell-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 A library to support the definition of generic functions. Datatypes are viewed
@@ -96,5 +94,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc CHANGELOG.md
 
 %changelog

++ generics-sop-0.2.1.0.tar.gz -> generics-sop-0.2.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.1.0/CHANGELOG.md 
new/generics-sop-0.2.2.0/CHANGELOG.md
--- old/generics-sop-0.2.1.0/CHANGELOG.md   1970-01-01 01:00:00.0 
+0100
+++ new/generics-sop-0.2.2.0/CHANGELOG.md   2016-07-10 08:07:10.0 
+0200
@@ -0,0 +1,140 @@
+# 0.2.2.0
+
+* Introduced `unZ` to destruct a unary sum.
+
+* Add Haddock `@since` annotations for various functions.
+
+# 0.2.1.0 (2016-02-08)
+
+* Now includes a CHANGELOG.
+
+* Should now work with ghc-8.0.1-rc1 and -rc2 (thanks to
+  Oleg Grenrus).
+
+* Introduced `hd` and `tl` to project out of a product, and
+  `Projection` and `projections` as duals of `Injection` and
+  `injections`.
+
+# 0.2 (2015-10-23)
+
+* Now tested with ghc-7.10
+
+* Introduced names `hmap`, `hcmap`, `hzipWith`, `hczipWith` for
+  `hliftA`, `hcliftA`, `hliftA2`, `hcliftA2`, respectively.
+  Similarly for the specialized versions of these functions.
+
+* The constraint transformers `All` and `All2` are now defined
+  as type classes, not type families. As a consequence, the
+  partial applications `All c` and `All2 c` are now possible.
+
+* Because of the redefinition of `All` and `All2`, some special
+  cases are no longer necessary. For example, `cpure_POP` can
+  now be implemented as a nested application of `pure_NP`.
+
+* Because of the redefinition of `All` and `All2`, the functions
+  `hcliftA'` and variants (with prime!) are now deprecated.
+  One can easily use the normal versions instead.
+  For example, the definition of `hcliftA'` is now simply
+
+  hcliftA' p = hcliftA (allP p)
+where
+ allP :: proxy c -> Proxy (All c)
+ allP _ = Proxy
+
+* Because `All` and `All2` are now type classes, they now have
+  superclass constraints implying that the type-level lists they
+  are ranging over must have singletons.
+
+  class (SListI xs,  ...) => All c xs
+  class (SListI xss, ...) => All2 c xss
+
+  Some type signatures can be simplified due to this.
+
+* The `SingI` typeclass and `Sing` datatypes are now deprecated.
+  The replacements are called `SListI` and `SList`.
+  The `sing` method is now called `sList`. The difference
+  is that the new versions reveal only the spine of the list, and
+  contain no singleton representation for the elements anymore.
+
+  For one-dimensional type-level lists, replace
+
+  SingI xs => ... 
+
+  by
+
+  SListI xs => ...
+
+  For two-dimensional type-level lists, replace
+
+  SingI xss => ...
+
+  by
+
+  All SListI xss => ...
+
+  Because All itself implies `SListI xss` (see above), this
+  constraint is equivalent to the old `Sing xss`.
+
+  The old names are provided for (limited) backward
+  compatibility. They map to the new constructs. This will
+  work in some, but not all 

commit ghc-generics-sop for openSUSE:Factory

2017-08-31 Thread root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2017-08-31 20:50:51

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Thu Aug 31 20:50:51 2017 rev:9 rq:513247 version:0.3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2017-06-04 01:53:23.878714201 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2017-08-31 20:50:51.890601144 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:08:14 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.1.0.
+
+---

Old:

  generics-sop-0.2.5.0.tar.gz

New:

  generics-sop-0.3.1.0.tar.gz



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.aplvdM/_old  2017-08-31 20:50:53.082433845 +0200
+++ /var/tmp/diff_new_pack.aplvdM/_new  2017-08-31 20:50:53.090432723 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name generics-sop
 Name:   ghc-%{pkg_name}
-Version:0.2.5.0
+Version:0.3.1.0
 Release:0
 Summary:Generic Programming using True Sums of Products
 License:BSD-3-Clause

++ generics-sop-0.2.5.0.tar.gz -> generics-sop-0.3.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.5.0/CHANGELOG.md 
new/generics-sop-0.3.1.0/CHANGELOG.md
--- old/generics-sop-0.2.5.0/CHANGELOG.md   2017-04-21 15:30:39.0 
+0200
+++ new/generics-sop-0.3.1.0/CHANGELOG.md   2017-06-11 15:25:51.0 
+0200
@@ -1,3 +1,54 @@
+# 0.3.1.0 (2017-06-11)
+
+* Add AllZip, htrans, hcoerce, hfromI, htoI.
+  These functions are for converting between related
+  structures that do not have common signatures.
+
+  The most common application of these functions seems
+  to be the scenario where a datatype has components
+  that are all wrapped in a common type constructor
+  application, e.g. a datatype where every component
+  is a `Maybe`. Then we can use `hfromI` after `from`
+  to turn the generically derived `SOP` of `I`s into
+  an `SOP` of `Maybe`s (and back).
+
+* Add `IsProductType`, `IsEnumType`, `IsWrappedType`
+  and `IsNewtype` constraint synonyms capturing
+  specific classes of datypes.
+
+# 0.3.0.0 (2017-04-29)
+
+* No longer compatible with GHC 7.6, due to the lack of
+  support for type-level literals.
+
+* Support type-level metadata. This is provided by the
+  `Generics.SOP.Type.Metadata` module. The two modules
+  `Generics.SOP.Metadata` and `Generics.SOP.Type.Metadata`
+  export nearly the same names, so for backwards compatibility,
+  we keep exporting `Generics.SOP.Metadata` directly from
+  `Generics.SOP`, whereas `Generics.SOP.Type.Metadata` is
+  supposed to be imported explicitly (and qualified).
+
+  Term-level metadata is still available, but is now usually
+  computed automatically from the type-level metadata which
+  contains the same information, using the function
+  `demoteDatatypeInfo`. Term-level metadata is unchanged
+  from generics-sop-0.2, so in most cases, even if your
+  code makes use of metadata, you should not need to change
+  anything.
+
+  If you use TH deriving, then both type-level metadata and
+  term-level metadata is generated for you automatically,
+  for all supported GHC versions.
+
+  If you use GGP deriving, then type-level metadata is
+  available if you use GHC 8.0 or newer. If you use GHC 7.x,
+  then GHC.Generics supports only term-level metadata, so
+  we cannot translate that into type-level metadata. In
+  this combination, you cannot use code that relies on
+  type-level metadata, so you should either upgrade GHC or
+  switch to TH-based deriving.
+
 # 0.2.5.0 (2017-04-21)
 
 * GHC 8.2 compatibility.
@@ -79,8 +130,8 @@
 
   hcliftA' p = hcliftA (allP p)
 where
- allP :: proxy c -> Proxy (All c)
- allP _ = Proxy
+  allP :: proxy c -> Proxy (All c)
+  allP _ = Proxy
 
 * Because `All` and `All2` are now type classes, they now have
   superclass constraints implying that the type-level lists they
@@ -99,7 +150,7 @@
 
   For one-dimensional type-level lists, replace
 
-  SingI xs => ... 
+  SingI xs => ...
 
   by
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.5.0/generics-sop.cabal 
new/generics-sop-0.3.1.0/generics-sop.cabal
--- old/generics-sop-0.2.5.0/generics-sop.cabal 2017-04-21 15:30:39.0 
+0200
+++ new/generics-sop-0.3.1.0/generics-sop.cabal 2017-06-11 15:25:51.0 
+0200
@@ -1,5 +1,5 @@
 nam

commit ghc-generics-sop for openSUSE:Factory

2016-01-08 Thread h_root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2016-01-08 15:23:05

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2015-11-26 17:02:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2016-01-08 15:23:08.0 +0100
@@ -1,0 +2,5 @@
+Wed Jan  6 08:37:01 UTC 2016 - mimi...@gmail.com
+
+- update to 0.2.0.0 
+
+---

Old:

  generics-sop-0.1.1.2.tar.gz

New:

  generics-sop-0.2.0.0.tar.gz



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.7hCj9B/_old  2016-01-08 15:23:09.0 +0100
+++ /var/tmp/diff_new_pack.7hCj9B/_new  2016-01-08 15:23:09.0 +0100
@@ -18,7 +18,7 @@
 %global pkg_name generics-sop
 
 Name:   ghc-generics-sop
-Version:0.1.1.2
+Version:0.2.0.0
 Release:0
 Summary:Generic Programming using True Sums of Products
 Group:  System/Libraries

++ generics-sop-0.1.1.2.tar.gz -> generics-sop-0.2.0.0.tar.gz ++
 1683 lines of diff (skipped)




commit ghc-generics-sop for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2016-07-21 08:03:52

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2016-02-17 12:11:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2016-07-21 08:03:54.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:01:36 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.1.0 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.EhqN48/_old  2016-07-21 08:03:55.0 +0200
+++ /var/tmp/diff_new_pack.EhqN48/_new  2016-07-21 08:03:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-generics-sop
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -15,23 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name generics-sop
 
-Name:   ghc-generics-sop
+%global pkg_name generics-sop
+Name:   ghc-%{pkg_name}
 Version:0.2.1.0
 Release:0
 Summary:Generic Programming using True Sums of Products
-Group:  System/Libraries
-
 License:BSD-3-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-template-haskell-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # End cabal-rpm deps
 
 %description
@@ -63,19 +61,17 @@
 .
 Workshop on Generic Programming (WGP) 2014. .
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -91,18 +87,14 @@
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 
-
 %changelog




commit ghc-generics-sop for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2016-02-17 10:25:45

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2016-01-08 15:23:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2016-02-17 12:11:43.0 +0100
@@ -1,0 +2,7 @@
+Thu Feb 11 08:19:43 UTC 2016 - mimi...@gmail.com
+
+- update to 0.2.1.0
+* Introduced hd and tl to project out of a product, and Projection and 
projections
+as duals of Injection and injections.
+
+---

Old:

  generics-sop-0.2.0.0.tar.gz

New:

  generics-sop-0.2.1.0.tar.gz



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.OwiC6C/_old  2016-02-17 12:11:44.0 +0100
+++ /var/tmp/diff_new_pack.OwiC6C/_new  2016-02-17 12:11:44.0 +0100
@@ -18,7 +18,7 @@
 %global pkg_name generics-sop
 
 Name:   ghc-generics-sop
-Version:0.2.0.0
+Version:0.2.1.0
 Release:0
 Summary:Generic Programming using True Sums of Products
 Group:  System/Libraries

++ generics-sop-0.2.0.0.tar.gz -> generics-sop-0.2.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.0.0/generics-sop.cabal 
new/generics-sop-0.2.1.0/generics-sop.cabal
--- old/generics-sop-0.2.0.0/generics-sop.cabal 2015-10-23 09:29:44.0 
+0200
+++ new/generics-sop-0.2.1.0/generics-sop.cabal 2016-02-08 11:29:09.0 
+0100
@@ -1,5 +1,5 @@
 name:generics-sop
-version: 0.2.0.0
+version: 0.2.1.0
 synopsis:Generic Programming using True Sums of Products
 description:
   A library to support the definition of generic functions.
@@ -36,7 +36,7 @@
 category:Generics
 build-type:  Simple
 cabal-version:   >=1.10
-tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
 
 source-repository head
   type:git
@@ -58,8 +58,8 @@
Generics.SOP.Universe
Generics.SOP.Sing
   build-depends:   base >= 4.6  && < 5,
-   template-haskell >= 2.8  && < 2.11,
-   ghc-prim >= 0.3  && < 0.5
+   template-haskell >= 2.8  && < 2.12,
+   ghc-prim >= 0.3  && < 0.6
   if impl (ghc < 7.8)
 build-depends: tagged   >= 0.7  && < 0.9
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.0.0/src/Generics/SOP/Classes.hs 
new/generics-sop-0.2.1.0/src/Generics/SOP/Classes.hs
--- old/generics-sop-0.2.0.0/src/Generics/SOP/Classes.hs2015-10-23 
09:29:44.0 +0200
+++ new/generics-sop-0.2.1.0/src/Generics/SOP/Classes.hs2016-02-08 
11:29:09.0 +0100
@@ -117,7 +117,7 @@
   -- | Corresponds to 'Control.Applicative.<*>'.
   --
   -- For products ('Generics.SOP.NP.NP') as well as products of products
-  -- ('Generics.SOP.NP.POP), the correspondence is rather direct. We combine
+  -- ('Generics.SOP.NP.POP'), the correspondence is rather direct. We combine
   -- a structure containing (lifted) functions and a compatible structure
   -- containing corresponding arguments into a compatible structure
   -- containing results.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.0.0/src/Generics/SOP/Constraint.hs 
new/generics-sop-0.2.1.0/src/Generics/SOP/Constraint.hs
--- old/generics-sop-0.2.0.0/src/Generics/SOP/Constraint.hs 2015-10-23 
09:29:44.0 +0200
+++ new/generics-sop-0.2.1.0/src/Generics/SOP/Constraint.hs 2016-02-08 
11:29:09.0 +0100
@@ -2,6 +2,9 @@
 #if __GLASGOW_HASKELL__ < 710
 {-# LANGUAGE OverlappingInstances #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 800
+{-# LANGUAGE UndecidableSuperClasses #-}
+#endif
 {-# OPTIONS_GHC -fno-warn-orphans -fno-warn-deprecations #-}
 -- | Constraints for indexed datatypes.
 --
@@ -44,8 +47,8 @@
 -- | Type family used to implement 'All'.
 --
 type family AllF (c :: k -> Constraint) (xs :: [k]) :: Constraint
-type instance AllF c '[]   = ()
-type instance AllF c (x ': xs) = (c x, All c xs)
+type instance AllF _c '[]   = ()
+type instance AllF  c (x ': xs) = (c x, All c xs)
 
 -- | Require a singleto

commit ghc-generics-sop for openSUSE:Factory

2017-02-21 Thread root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2017-02-21 13:45:32

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2017-01-12 15:49:21.558391746 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2017-02-21 13:45:33.540837397 +0100
@@ -1,0 +2,5 @@
+Sun Feb  5 19:32:20 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2.4.0 with cabal2obs.
+
+---

Old:

  generics-sop-0.2.3.0.tar.gz

New:

  generics-sop-0.2.4.0.tar.gz



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.ljIqif/_old  2017-02-21 13:45:33.952779282 +0100
+++ /var/tmp/diff_new_pack.ljIqif/_new  2017-02-21 13:45:33.956778717 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-generics-sop
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -18,7 +18,7 @@
 
 %global pkg_name generics-sop
 Name:   ghc-%{pkg_name}
-Version:0.2.3.0
+Version:0.2.4.0
 Release:0
 Summary:Generic Programming using True Sums of Products
 License:BSD-3-Clause

++ generics-sop-0.2.3.0.tar.gz -> generics-sop-0.2.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.3.0/CHANGELOG.md 
new/generics-sop-0.2.4.0/CHANGELOG.md
--- old/generics-sop-0.2.3.0/CHANGELOG.md   2016-12-04 11:26:01.0 
+0100
+++ new/generics-sop-0.2.4.0/CHANGELOG.md   2017-02-02 14:06:35.0 
+0100
@@ -1,4 +1,12 @@
-# 0.2.3.0
+# 0.2.4.0 (2017-02-02)
+
+* Add `hindex` (and `index_NS` and `index_SOP`).
+
+* Add `hapInjs` as a generalization of `apInjs_NP` and `apInjs_POP`.
+
+* Make basic functors instances of lifted classes (such as `Eq1` etc).
+
+# 0.2.3.0 (2016-12-04)
 
 * Add various metadata getters
 
@@ -25,7 +33,7 @@
   `Projection` and `projections` as duals of `Injection` and
   `injections`.
 
-# 0.2 (2015-10-23)
+# 0.2.0.0 (2015-10-23)
 
 * Now tested with ghc-7.10
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.3.0/generics-sop.cabal 
new/generics-sop-0.2.4.0/generics-sop.cabal
--- old/generics-sop-0.2.3.0/generics-sop.cabal 2016-12-04 11:26:01.0 
+0100
+++ new/generics-sop-0.2.4.0/generics-sop.cabal 2017-02-02 14:06:35.0 
+0100
@@ -1,5 +1,5 @@
 name:generics-sop
-version: 0.2.3.0
+version: 0.2.4.0
 synopsis:Generic Programming using True Sums of Products
 description:
   A library to support the definition of generic functions.
@@ -37,7 +37,7 @@
 build-type:  Simple
 cabal-version:   >=1.10
 extra-source-files:  CHANGELOG.md
-tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, 
GHC == 8.0.2, GHC == 8.1.*
 
 source-repository head
   type:git
@@ -61,8 +61,11 @@
   build-depends:   base >= 4.6  && < 5,
template-haskell >= 2.8  && < 2.13,
ghc-prim >= 0.3  && < 0.6
-  if impl (ghc < 7.8)
+  if !impl (ghc >= 7.8)
 build-depends: tagged   >= 0.7  && < 0.9
+  if !impl (ghc >= 8.0)
+build-depends: transformers-compat  >= 0.3  && < 0.6,
+   transformers >= 0.3  && < 0.6
 
   hs-source-dirs:  src
   default-language:Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/generics-sop-0.2.3.0/src/Generics/SOP/BasicFunctors.hs 
new/generics-sop-0.2.4.0/src/Generics/SOP/BasicFunctors.hs
--- old/generics-sop-0.2.3.0/src/Generics/SOP/BasicFunctors.hs  2016-12-04 
11:26:01.0 +0100
+++ new/generics-sop-0.2.4.0/src/Generics/SOP/BasicFunctors.hs  2017-02-02 
14:06:35.0 +0100
@@ -39,6 +39,20 @@
 #endif
 import qualified GHC.Generics as GHC
 
+import Data.Functor.Classes
+
+#if MIN_VERSION_base(4,9,0)
+#define LIFTED_CLASSES 1
+#else
+#if MIN_VERSION_transformers(0,5,0)
+#define LIFTED_CLASSES 1
+#else
+#if MIN_VERSION_transformers_compat(0,5,0) && !MIN_VERSION_transformers(0,4,0)
+#define LIFTED_CLASSES 1
+#endif
+#endif
+#endif
+
 -

commit ghc-generics-sop for openSUSE:Factory

2017-06-03 Thread root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2017-06-04 01:53:23

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Sun Jun  4 01:53:23 2017 rev:8 rq:494153 version:0.2.5.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2017-02-21 13:45:33.540837397 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2017-06-04 01:53:23.878714201 +0200
@@ -1,0 +2,5 @@
+Mon Apr 24 12:26:34 UTC 2017 - psim...@suse.com
+
+- Update to version 0.2.5.0 with cabal2obs.
+
+---

Old:

  generics-sop-0.2.4.0.tar.gz

New:

  generics-sop-0.2.5.0.tar.gz



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.3iPHiO/_old  2017-06-04 01:53:24.334649785 +0200
+++ /var/tmp/diff_new_pack.3iPHiO/_new  2017-06-04 01:53:24.342648655 +0200
@@ -18,7 +18,7 @@
 
 %global pkg_name generics-sop
 Name:   ghc-%{pkg_name}
-Version:0.2.4.0
+Version:0.2.5.0
 Release:0
 Summary:Generic Programming using True Sums of Products
 License:BSD-3-Clause
@@ -26,6 +26,7 @@
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ generics-sop-0.2.4.0.tar.gz -> generics-sop-0.2.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.4.0/CHANGELOG.md 
new/generics-sop-0.2.5.0/CHANGELOG.md
--- old/generics-sop-0.2.4.0/CHANGELOG.md   2017-02-02 14:06:35.0 
+0100
+++ new/generics-sop-0.2.5.0/CHANGELOG.md   2017-04-21 15:30:39.0 
+0200
@@ -1,3 +1,26 @@
+# 0.2.5.0 (2017-04-21)
+
+* GHC 8.2 compatibility.
+
+* Make `:.:` an instance of `Applicative`, `Foldable` and
+  `Traversable`.
+
+* Add functions `apInjs'_NP` and `apInjs'_POP`. These are
+  variants of `apInjs_NP` and `apInjs'_POP` that return their
+  result as an n-ary product, rather than collapsing it into
+  a list.
+
+* Add `hexpand` (and `expand_NS` and `expand_SOP`). These
+  functions expand sums into products, given a default value
+  to fill the other slots.
+
+* Add utility functions such as `mapII` or `mapIK` that lift
+  functions into different combinations of identity and
+  constant functors.
+
+* Add `NFData` (and lifted variants) instances for basic functors,
+  products and sums.
+
 # 0.2.4.0 (2017-02-02)
 
 * Add `hindex` (and `index_NS` and `index_SOP`).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/generics-sop-0.2.4.0/generics-sop.cabal 
new/generics-sop-0.2.5.0/generics-sop.cabal
--- old/generics-sop-0.2.4.0/generics-sop.cabal 2017-02-02 14:06:35.0 
+0100
+++ new/generics-sop-0.2.5.0/generics-sop.cabal 2017-04-21 15:30:39.0 
+0200
@@ -1,5 +1,5 @@
 name:generics-sop
-version: 0.2.4.0
+version: 0.2.5.0
 synopsis:Generic Programming using True Sums of Products
 description:
   A library to support the definition of generic functions.
@@ -60,7 +60,8 @@
Generics.SOP.Sing
   build-depends:   base >= 4.6  && < 5,
template-haskell >= 2.8  && < 2.13,
-   ghc-prim >= 0.3  && < 0.6
+   ghc-prim >= 0.3  && < 0.6,
+   deepseq  >= 1.3  && < 1.5
   if !impl (ghc >= 7.8)
 build-depends: tagged   >= 0.7  && < 0.9
   if !impl (ghc >= 8.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/generics-sop-0.2.4.0/src/Generics/SOP/BasicFunctors.hs 
new/generics-sop-0.2.5.0/src/Generics/SOP/BasicFunctors.hs
--- old/generics-sop-0.2.4.0/src/Generics/SOP/BasicFunctors.hs  2017-02-02 
14:06:35.0 +0100
+++ new/generics-sop-0.2.5.0/src/Generics/SOP/BasicFunctors.hs  2017-04-21 
15:30:39.0 +0200
@@ -21,12 +21,26 @@
 -- properly. See .
 --
 module Generics.SOP.BasicFunctors
-  ( K(..)
+  ( -- * Basic functors
+K(..)
   , unK
   , I(..)
   , unI
   , (:.:)(..)
   , unComp
+-- * Mapping functions
+  , mapII
+  , mapIK
+  , mapKI
+  , mapKK
+  , mapIII
+  , mapIIK
+  , 

commit ghc-generics-sop for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-generics-sop for 
openSUSE:Factory checked in at 2017-09-15 21:41:09

Comparing /work/SRC/openSUSE:Factory/ghc-generics-sop (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-generics-sop.new (New)


Package is "ghc-generics-sop"

Fri Sep 15 21:41:09 2017 rev:10 rq:524554 version:0.3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-generics-sop/ghc-generics-sop.changes
2017-08-31 20:50:51.890601144 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-generics-sop.new/ghc-generics-sop.changes   
2017-09-15 21:41:11.283183494 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-generics-sop.spec ++
--- /var/tmp/diff_new_pack.8xSa5T/_old  2017-09-15 21:41:11.907095591 +0200
+++ /var/tmp/diff_new_pack.8xSa5T/_new  2017-09-15 21:41:11.911095027 +0200
@@ -22,14 +22,13 @@
 Release:0
 Summary:Generic Programming using True Sums of Products
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 A library to support the definition of generic functions. Datatypes are viewed
@@ -62,7 +61,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -87,11 +86,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md
 
 %changelog