Hello community,
here is the log from the commit of package ghc-th-utilities for
openSUSE:Factory checked in at 2019-01-25 22:43:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-th-utilities (Old)
and /work/SRC/openSUSE:Factory/.ghc-th-utilities.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-th-utilities"
Fri Jan 25 22:43:34 2019 rev:6 rq:667144 version:0.2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-th-utilities/ghc-th-utilities.changes
2018-10-25 09:06:25.830501766 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-th-utilities.new.28833/ghc-th-utilities.changes
2019-01-25 22:43:34.739212401 +0100
@@ -1,0 +2,10 @@
+Thu Jan 10 15:43:28 UTC 2019 - [email protected]
+
+- Update th-utilities to version 0.2.1.0.
+ ## 0.2.0.1
+
+ * Fixes build on 7.8
+
+ * Fixes warnings
+
+-------------------------------------------------------------------
Old:
----
th-utilities-0.2.0.1.tar.gz
New:
----
th-utilities-0.2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-th-utilities.spec ++++++
--- /var/tmp/diff_new_pack.SGaGcD/_old 2019-01-25 22:43:35.227211800 +0100
+++ /var/tmp/diff_new_pack.SGaGcD/_new 2019-01-25 22:43:35.227211800 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-th-utilities
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -19,7 +19,7 @@
%global pkg_name th-utilities
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.0.1
+Version: 0.2.1.0
Release: 0
Summary: Collection of useful functions for use with Template Haskell
License: MIT
++++++ th-utilities-0.2.0.1.tar.gz -> th-utilities-0.2.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/th-utilities-0.2.0.1/ChangeLog.md
new/th-utilities-0.2.1.0/ChangeLog.md
--- old/th-utilities-0.2.0.1/ChangeLog.md 2016-08-02 10:48:06.000000000
+0200
+++ new/th-utilities-0.2.1.0/ChangeLog.md 2019-01-09 05:57:34.000000000
+0100
@@ -1,5 +1,11 @@
# ChangeLog
+## 0.2.0.1
+
+* Fixes build on 7.8
+
+* Fixes warnings
+
## 0.2.0.0
* Adds TH.ReifySimple, which supports reifying most of the information TH users
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/th-utilities-0.2.0.1/src/TH/Derive.hs
new/th-utilities-0.2.1.0/src/TH/Derive.hs
--- old/th-utilities-0.2.0.1/src/TH/Derive.hs 2016-07-20 05:22:40.000000000
+0200
+++ new/th-utilities-0.2.1.0/src/TH/Derive.hs 2019-01-09 05:54:24.000000000
+0100
@@ -10,7 +10,7 @@
-- typeclasses beyond GHC's ability to generate instances in @deriving@
-- clauses.
--
--- For exmaple, "TH.Derive.Storable" defines a 'Deriver' for 'Storable'.
+-- For example, "TH.Derive.Storable" defines a 'Deriver' for 'Storable'.
-- This allows us to use 'derive' to generate an instance for Storable:
--
-- @
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/th-utilities-0.2.0.1/src/TH/Utilities.hs
new/th-utilities-0.2.1.0/src/TH/Utilities.hs
--- old/th-utilities-0.2.0.1/src/TH/Utilities.hs 2016-08-02
11:15:44.000000000 +0200
+++ new/th-utilities-0.2.1.0/src/TH/Utilities.hs 2019-01-09
05:54:24.000000000 +0100
@@ -155,3 +155,17 @@
instance Lift ExpLifter where
lift (ExpLifter e) = e
+
+-- | Print splices generated by a TH splice (the printing will happen
+-- during compilation, as a GHC warning). Useful for debugging.
+--
+-- For instance, you can dump splices generated with 'makeLenses' by
+-- replacing a top-level invocation of 'makeLenses' in your code with:
+--
+-- @dumpSplices $ makeLenses ''Foo@
+dumpSplices :: DecsQ -> DecsQ
+dumpSplices x = do
+ ds <- x
+ let code = lines (pprint ds)
+ reportWarning ("\n" ++ unlines (map (" " ++) code))
+ return ds
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/th-utilities-0.2.0.1/th-utilities.cabal
new/th-utilities-0.2.1.0/th-utilities.cabal
--- old/th-utilities-0.2.0.1/th-utilities.cabal 2016-08-02 12:04:52.000000000
+0200
+++ new/th-utilities-0.2.1.0/th-utilities.cabal 2019-01-09 06:13:28.000000000
+0100
@@ -1,75 +1,78 @@
--- This file has been generated from package.yaml by hpack version 0.14.0.
+cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
+--
+-- hash: f65b38d225125ec3f0a4ec974c8bcae0ae5358894abd8c118aa1a6b3c9b457e7
-name: th-utilities
-version: 0.2.0.1
-synopsis: Collection of useful functions for use with Template
Haskell
-homepage: https://github.com/fpco/th-utilities#readme
-bug-reports: https://github.com/fpco/th-utilities/issues
-license: MIT
-license-file: LICENSE
-maintainer: Michael Sloan <[email protected]>
-copyright: 2016 FP Complete
-category: Template Haskell
-build-type: Simple
-cabal-version: >= 1.10
-
+name: th-utilities
+version: 0.2.1.0
+synopsis: Collection of useful functions for use with Template Haskell
+category: Template Haskell
+homepage: https://github.com/fpco/th-utilities#readme
+bug-reports: https://github.com/fpco/th-utilities/issues
+maintainer: Michael Sloan <[email protected]>
+copyright: 2016 FP Complete
+license: MIT
+license-file: LICENSE
+build-type: Simple
extra-source-files:
- ChangeLog.md
- README.md
+ README.md
+ ChangeLog.md
source-repository head
type: git
location: https://github.com/fpco/th-utilities
library
+ exposed-modules:
+ TH.Derive
+ TH.Derive.Storable
+ TH.ReifySimple
+ TH.RelativePaths
+ TH.Utilities
+ other-modules:
+ TH.Derive.Internal
hs-source-dirs:
- src
+ src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates
build-depends:
- base >= 4.7 && < 5,
- bytestring,
- containers,
- directory,
- filepath,
- primitive,
- syb,
- template-haskell >= 2.7,
- text,
- th-orphans
- exposed-modules:
- TH.Derive
- TH.Derive.Storable
- TH.ReifySimple
- TH.RelativePaths
- TH.Utilities
- other-modules:
- TH.Derive.Internal
+ base >=4.7 && <5
+ , bytestring
+ , containers
+ , directory
+ , filepath
+ , primitive
+ , syb
+ , template-haskell >=2.7
+ , text
+ , th-orphans
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
+ other-modules:
+ TH.Derive.StorableSpec
+ TH.DeriveSpec
+ TH.DeriveSpec.TH
+ Paths_th_utilities
hs-source-dirs:
- test
+ test
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
-fwarn-incomplete-record-updates
build-depends:
- base >= 4.7 && < 5,
- bytestring,
- containers,
- directory,
- filepath,
- primitive,
- syb,
- template-haskell >= 2.7,
- text,
- th-orphans,
- th-utilities,
- hspec,
- vector
- other-modules:
- TH.Derive.StorableSpec
- TH.DeriveSpec
- TH.DeriveSpec.TH
+ base >=4.7 && <5
+ , bytestring
+ , containers
+ , directory
+ , filepath
+ , hspec
+ , primitive
+ , syb
+ , template-haskell >=2.7
+ , text
+ , th-orphans
+ , th-utilities
+ , vector
default-language: Haskell2010