Hello community,

here is the log from the commit of package ghc-yesod for openSUSE:Factory 
checked in at 2017-03-28 15:20:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-yesod.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-yesod"

Tue Mar 28 15:20:24 2017 rev:4 rq:450628 version:1.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yesod/ghc-yesod.changes      2016-12-13 
19:33:13.263981208 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-yesod.new/ghc-yesod.changes 2017-03-28 
15:20:25.408851126 +0200
@@ -1,0 +2,5 @@
+Mon Jan  9 06:36:41 UTC 2017 - [email protected]
+
+- Update to version 1.4.4 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  yesod-1.4.3.1.tar.gz

New:
----
  yesod-1.4.4.tar.gz

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

Other differences:
------------------
++++++ ghc-yesod.spec ++++++
--- /var/tmp/diff_new_pack.c8ltG5/_old  2017-03-28 15:20:27.348576399 +0200
+++ /var/tmp/diff_new_pack.c8ltG5/_new  2017-03-28 15:20:27.348576399 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-yesod
 #
-# 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 yesod
 Name:           ghc-%{pkg_name}
-Version:        1.4.3.1
+Version:        1.4.4
 Release:        0
 Summary:        Creation of type-safe, RESTful web applications
 License:        MIT
@@ -32,14 +32,13 @@
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-conduit-devel
 BuildRequires:  ghc-conduit-extra-devel
-BuildRequires:  ghc-data-default-devel
+BuildRequires:  ghc-data-default-class-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-fast-logger-devel
 BuildRequires:  ghc-monad-control-devel
 BuildRequires:  ghc-monad-logger-devel
 BuildRequires:  ghc-resourcet-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-safe-devel
 BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-shakespeare-devel
 BuildRequires:  ghc-streaming-commons-devel
@@ -53,7 +52,6 @@
 BuildRequires:  ghc-wai-logger-devel
 BuildRequires:  ghc-warp-devel
 BuildRequires:  ghc-yaml-devel
-BuildRequires:  ghc-yesod-auth-devel
 BuildRequires:  ghc-yesod-core-devel
 BuildRequires:  ghc-yesod-form-devel
 BuildRequires:  ghc-yesod-persistent-devel

++++++ yesod-1.4.3.1.tar.gz -> yesod-1.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/ChangeLog.md 
new/yesod-1.4.4/ChangeLog.md
--- old/yesod-1.4.3.1/ChangeLog.md      2016-11-11 06:55:25.000000000 +0100
+++ new/yesod-1.4.4/ChangeLog.md        2017-01-04 16:57:49.000000000 +0100
@@ -1,3 +1,7 @@
+## 1.4.4
+
+* Reduce dependencies
+
 ## 1.4.3.1
 
 *  Handle exceptions while writing a file in `addStaticContentExternal`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/Yesod/Default/Config2.hs 
new/yesod-1.4.4/Yesod/Default/Config2.hs
--- old/yesod-1.4.3.1/Yesod/Default/Config2.hs  2016-11-11 06:55:25.000000000 
+0100
+++ new/yesod-1.4.4/Yesod/Default/Config2.hs    2017-01-04 16:57:49.000000000 
+0100
@@ -38,7 +38,7 @@
 import System.Environment (getEnvironment)
 import Network.Wai (Application)
 import Network.Wai.Handler.Warp
-import Safe (readMay)
+import Text.Read (readMaybe)
 import Data.Maybe (fromMaybe)
 import Control.Concurrent (forkIO, threadDelay)
 import System.Exit (exitSuccess)
@@ -96,8 +96,8 @@
 getDevSettings :: Settings -> IO Settings
 getDevSettings settings = do
     env <- getEnvironment
-    let p = fromMaybe (getPort settings) $ lookup "PORT" env >>= readMay
-        pdisplay = fromMaybe p $ lookup "DISPLAY_PORT" env >>= readMay
+    let p = fromMaybe (getPort settings) $ lookup "PORT" env >>= readMaybe
+        pdisplay = fromMaybe p $ lookup "DISPLAY_PORT" env >>= readMaybe
     putStrLn $ "Devel application launched: http://localhost:"; ++ show pdisplay
     return $ setPort p settings
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/Yesod/Default/Main.hs 
new/yesod-1.4.4/Yesod/Default/Main.hs
--- old/yesod-1.4.3.1/Yesod/Default/Main.hs     2016-11-11 06:55:25.000000000 
+0100
+++ new/yesod-1.4.4/Yesod/Default/Main.hs       2017-01-04 16:57:49.000000000 
+0100
@@ -22,7 +22,7 @@
 import Control.Monad (when)
 import System.Environment (getEnvironment)
 import Data.Maybe (fromMaybe)
-import Safe (readMay)
+import Text.Read (readMaybe)
 import Control.Monad.Logger (Loc, LogSource, LogLevel (LevelError), liftLoc)
 import System.Log.FastLogger (LogStr, toLogStr)
 import Language.Haskell.TH.Syntax (qLocation)
@@ -120,8 +120,8 @@
 defaultDevelApp load getApp = do
     conf   <- load
     env <- getEnvironment
-    let p = fromMaybe (appPort conf) $ lookup "PORT" env >>= readMay
-        pdisplay = fromMaybe p $ lookup "DISPLAY_PORT" env >>= readMay
+    let p = fromMaybe (appPort conf) $ lookup "PORT" env >>= readMaybe
+        pdisplay = fromMaybe p $ lookup "DISPLAY_PORT" env >>= readMaybe
     putStrLn $ "Devel application launched: http://localhost:"; ++ show pdisplay
     app <- getApp conf
     return (p, app)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/Yesod/Default/Util.hs 
new/yesod-1.4.4/Yesod/Default/Util.hs
--- old/yesod-1.4.3.1/Yesod/Default/Util.hs     2016-11-11 06:55:25.000000000 
+0100
+++ new/yesod-1.4.4/Yesod/Default/Util.hs       2017-01-04 16:57:49.000000000 
+0100
@@ -28,7 +28,7 @@
 import Text.Cassius (cassiusFile, cassiusFileReload)
 import Text.Hamlet (HamletSettings, defaultHamletSettings)
 import Data.Maybe (catMaybes)
-import Data.Default (Default (def))
+import Data.Default.Class (Default (def))
 
 -- | An implementation of 'addStaticContent' which stores the contents in an
 -- external file. Files are created in the given static folder with names based
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yesod-1.4.3.1/yesod.cabal new/yesod-1.4.4/yesod.cabal
--- old/yesod-1.4.3.1/yesod.cabal       2016-11-11 06:55:25.000000000 +0100
+++ new/yesod-1.4.4/yesod.cabal 2017-01-04 16:57:49.000000000 +0100
@@ -1,5 +1,5 @@
 name:            yesod
-version:         1.4.3.1
+version:         1.4.4
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <[email protected]>
@@ -17,9 +17,8 @@
     if os(windows)
         cpp-options: -DWINDOWS
 
-    build-depends:   base                      >= 4.3      && < 5
+    build-depends:   base                      >= 4.6      && < 5
                    , yesod-core                >= 1.4      && < 1.5
-                   , yesod-auth                >= 1.4      && < 1.5
                    , yesod-persistent          >= 1.4      && < 1.5
                    , yesod-form                >= 1.4      && < 1.5
                    , monad-control             >= 0.3      && < 1.1
@@ -30,8 +29,7 @@
                    , blaze-html                >= 0.5
                    , blaze-markup              >= 0.5.1
                    , aeson
-                   , safe
-                   , data-default
+                   , data-default-class
                    , unordered-containers
                    , yaml                      >= 0.8.17
                    , text


Reply via email to