Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2020-09-07 21:22:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-th-orphans"

Mon Sep  7 21:22:44 2020 rev:10 rq:831228 version:0.13.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes    
2019-12-27 13:58:24.332804338 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.3399/ghc-th-orphans.changes  
2020-09-07 21:22:47.821034761 +0200
@@ -1,0 +2,7 @@
+Tue Sep  1 14:41:20 UTC 2020 - [email protected]
+
+- Update th-orphans to version 0.13.10.
+  ### 0.13.10 [2020.04.13]
+  * Implement `liftTyped` in the `Lift Bytes` instance.
+
+-------------------------------------------------------------------

Old:
----
  th-orphans-0.13.9.tar.gz
  th-orphans.cabal

New:
----
  th-orphans-0.13.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-th-orphans.spec ++++++
--- /var/tmp/diff_new_pack.QQhQxh/_old  2020-09-07 21:22:49.437035502 +0200
+++ /var/tmp/diff_new_pack.QQhQxh/_new  2020-09-07 21:22:49.441035503 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-orphans
 #
-# 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
@@ -19,13 +19,12 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.13.9
+Version:        0.13.10
 Release:        0
 Summary:        Orphan instances for TH datatypes
 License:        BSD-3-Clause
 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-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -54,8 +53,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build

++++++ th-orphans-0.13.9.tar.gz -> th-orphans-0.13.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.9/CHANGELOG.md 
new/th-orphans-0.13.10/CHANGELOG.md
--- old/th-orphans-0.13.9/CHANGELOG.md  2001-09-09 03:46:40.000000000 +0200
+++ new/th-orphans-0.13.10/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,6 @@
+### 0.13.10 [2020.04.13]
+* Implement `liftTyped` in the `Lift Bytes` instance.
+
 ### 0.13.9 [2019.09.28]
 * Implement `qReifyType` (introduced in `template-haskell-2.16.0.0`) for the
   `Quasi` instances defined in `th-orphans`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.9/src/Language/Haskell/TH/Instances.hs 
new/th-orphans-0.13.10/src/Language/Haskell/TH/Instances.hs
--- old/th-orphans-0.13.9/src/Language/Haskell/TH/Instances.hs  2001-09-09 
03:46:40.000000000 +0200
+++ new/th-orphans-0.13.10/src/Language/Haskell/TH/Instances.hs 2001-09-09 
03:46:40.000000000 +0200
@@ -63,7 +63,6 @@
 import Language.Haskell.TH.ReifyMany
 import Language.Haskell.TH.Syntax
 
-import Data.Monoid (Monoid)
 import Control.Monad.Reader (ReaderT(ReaderT), runReaderT)
 import Control.Monad.RWS (RWST(RWST), runRWST)
 import Control.Monad.State (StateT(StateT), runStateT)
@@ -81,9 +80,6 @@
 -- Thanks to Richard Eisenberg, GHC 7.10 adds many of the instances
 -- from this module.
 #if !MIN_VERSION_template_haskell(2,10,0)
-import Data.Int (Int8, Int16, Int32, Int64)
-import Data.Word (Word8, Word16, Word32, Word64)
-
 import Language.Haskell.TH.Ppr
 # if MIN_VERSION_template_haskell(2,3,0)
 import Language.Haskell.TH.PprLib
@@ -101,7 +97,7 @@
 # endif
 
 # if !(MIN_VERSION_base(4,8,0))
-import Data.Word (Word)
+import Data.Monoid (Monoid)
 # endif
 
 # if MIN_VERSION_template_haskell(2,3,0) && 
defined(LANGUAGE_DeriveDataTypeable)
@@ -121,12 +117,7 @@
 import qualified Control.Monad.Fail as Fail
 #endif
 
--- TODO: Once GHC 8.10 is released, this should be updated to use the
--- proper template haskell version.  Other related usages of this #if
--- should be replaced as well (and do not have a TODO like this).
---
--- #if MIN_VERSION_template_haskell(2,16,0)
-#if __GLASGOW_HASKELL__ >= 809
+#if MIN_VERSION_template_haskell(2,16,0)
 import GHC.Ptr (Ptr(Ptr))
 import GHC.ForeignPtr (newForeignPtr_)
 import System.IO.Unsafe (unsafePerformIO)
@@ -417,7 +408,7 @@
 deriving instance Typeable Quasi
 #endif
 
-#if __GLASGOW_HASKELL__ >= 809
+#if MIN_VERSION_template_haskell(2,16,0)
 instance Lift Bytes where
   lift bytes =
     [| Bytes
@@ -428,6 +419,7 @@
     |]
     where
       size = bytesSize bytes
+  liftTyped = unsafeTExpCoerce . lift
 #endif
 
 $(reifyManyWithoutInstances ''Lift [''Info, ''Loc] (const True) >>=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.9/test/Spec.hs 
new/th-orphans-0.13.10/test/Spec.hs
--- old/th-orphans-0.13.9/test/Spec.hs  2001-09-09 03:46:40.000000000 +0200
+++ new/th-orphans-0.13.10/test/Spec.hs 2001-09-09 03:46:40.000000000 +0200
@@ -25,7 +25,7 @@
     it "Compares types correctly" $
         compare (AppT (ConT ''Maybe) (ConT ''Int)) (AppT (ConT ''Maybe) (ConT 
''Char))
             `shouldBe` GT
-#if __GLASGOW_HASKELL__ >= 809
+#if MIN_VERSION_template_haskell(2,16,0)
     it "Lifts bytes" $ do
         let addr = $(do
                 let result = $(do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.9/test/TestUtil.hs 
new/th-orphans-0.13.10/test/TestUtil.hs
--- old/th-orphans-0.13.9/test/TestUtil.hs      2001-09-09 03:46:40.000000000 
+0200
+++ new/th-orphans-0.13.10/test/TestUtil.hs     2001-09-09 03:46:40.000000000 
+0200
@@ -4,7 +4,7 @@
 
 module TestUtil where
 
-#if __GLASGOW_HASKELL__ >= 809
+#if MIN_VERSION_template_haskell(2,16,0)
 
 import Language.Haskell.TH.Syntax
 import qualified Data.ByteString as BS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.9/th-orphans.cabal 
new/th-orphans-0.13.10/th-orphans.cabal
--- old/th-orphans-0.13.9/th-orphans.cabal      2001-09-09 03:46:40.000000000 
+0200
+++ new/th-orphans-0.13.10/th-orphans.cabal     2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,5 @@
 name:               th-orphans
-version:            0.13.9
+version:            0.13.10
 cabal-version:      >= 1.10
 build-type:         Simple
 license:            BSD3
@@ -21,6 +21,7 @@
                   , GHC == 8.4.4
                   , GHC == 8.6.5
                   , GHC == 8.8.1
+                  , GHC == 8.10.1
 synopsis:           Orphan instances for TH datatypes
 description:        Orphan instances for TH datatypes.  In particular, 
instances
                     for Ord and Lift, as well as a few missing Show / Eq.  
These
@@ -30,7 +31,7 @@
 
 library
   build-depends:      base >= 4.3 && < 5,
-                      template-haskell < 2.16,
+                      template-haskell < 2.17,
                       -- https://github.com/mboes/th-lift/issues/14
                       th-lift >= 0.7.1,
                       th-reify-many >= 0.1 && < 0.2,


Reply via email to