commit ghc-transformers-base for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-transformers-base for openSUSE:Factory checked in at 2015-05-21 08:13:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-transformers-base (Old) and /work/SRC/openSUSE:Factory/.ghc-transformers-base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-transformers-base" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-transformers-base/ghc-transformers-base.changes 2014-04-02 17:19:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-transformers-base.new/ghc-transformers-base.changes 2015-05-21 08:13:15.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 21 19:23:52 UTC 2015 - mimi.vx@gmail.com + +- update to 0.4.4 +* no upstream changelog + +------------------------------------------------------------------- Old: ---- transformers-base-0.4.1.tar.gz New: ---- transformers-base-0.4.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-transformers-base.spec ++++++ --- /var/tmp/diff_new_pack.DbTfrv/_old 2015-05-21 08:13:16.000000000 +0200 +++ /var/tmp/diff_new_pack.DbTfrv/_new 2015-05-21 08:13:16.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-transformers-base # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,15 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %global pkg_name transformers-base Name: ghc-transformers-base -Version: 0.4.1 -Release: 1 +Version: 0.4.4 +Release: 0 Summary: Lift computations from the bottom of a transformer stack +License: BSD-3-Clause Group: System/Libraries -License: BSD-3-Clause Url: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -31,6 +32,8 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: ghc-stm-devel +BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel # End cabal-rpm deps @@ -56,30 +59,23 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %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 ++++++ transformers-base-0.4.1.tar.gz -> transformers-base-0.4.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transformers-base-0.4.1/src/Control/Monad/Base.hs new/transformers-base-0.4.4/src/Control/Monad/Base.hs --- old/transformers-base-0.4.1/src/Control/Monad/Base.hs 2011-12-17 17:47:44.000000000 +0100 +++ new/transformers-base-0.4.4/src/Control/Monad/Base.hs 2015-02-11 20:40:38.000000000 +0100 @@ -5,9 +5,18 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE UndecidableInstances #-} -module Control.Monad.Base ( - MonadBase(..), - liftBaseDefault +#if MIN_VERSION_base(4,4,0) +{-# LANGUAGE Safe #-} +#endif + +#if MIN_VERSION_transformers(0,4,0) +-- Hide warnings for the deprecated ErrorT transformer: +{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-} +#endif + +module Control.Monad.Base + ( MonadBase(..) + , liftBaseDefault ) where import Data.Monoid @@ -26,19 +35,17 @@ import qualified Control.Monad.Trans.RWS.Strict as S import Control.Monad.Trans.Error import Control.Monad.Trans.Cont - +import Control.Monad.Trans.Except #if !MIN_VERSION_base(4,4,0) && HS_TRANSFORMERS_BASE__ORPHANS import Control.Monad (ap) -#endif - -#if MIN_VERSION_base(4,4,0) || HS_TRANSFORMERS_BASE__ORPHANS import qualified Control.Monad.ST.Lazy as L import qualified Control.Monad.ST.Strict as S #endif - -#if MIN_VERSION_base(4,3,0) -import GHC.Conc.Sync (STM) +#if MIN_VERSION_base(4,4,0) +import qualified Control.Monad.ST.Lazy.Safe as L +import qualified Control.Monad.ST.Safe as S #endif +import Control.Monad.STM (STM) class (Applicative b, Applicative m, Monad b, Monad m) ⇒ MonadBase b m | m → b where @@ -55,9 +62,7 @@ BASE((→) r) BASE(Identity) -#if MIN_VERSION_base(4,3,0) BASE(STM) -#endif #if !MIN_VERSION_base(4,4,0) && HS_TRANSFORMERS_BASE__ORPHANS instance Applicative (L.ST s) where @@ -67,9 +72,12 @@ instance Applicative (S.ST s) where pure = return (<*>) = ap + +BASE(L.ST s) +BASE(S.ST s) #endif -#if MIN_VERSION_base(4,4,0) || HS_TRANSFORMERS_BASE__ORPHANS +#if MIN_VERSION_base(4,4,0) BASE(L.ST s) BASE(S.ST s) #endif @@ -92,6 +100,7 @@ TRANS(L.StateT s) TRANS(S.StateT s) TRANS(ContT r) +TRANS(ExceptT e) #undef TRANS #define TRANS_CTX(CTX, T) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transformers-base-0.4.1/transformers-base.cabal new/transformers-base-0.4.4/transformers-base.cabal --- old/transformers-base-0.4.1/transformers-base.cabal 2011-12-17 17:47:44.000000000 +0100 +++ new/transformers-base-0.4.4/transformers-base.cabal 2015-02-11 20:40:38.000000000 +0100 @@ -1,5 +1,5 @@ Name: transformers-base -Version: 0.4.1 +Version: 0.4.4 Category: Control Stability: experimental Synopsis: Lift computations from the bottom of a transformer stack @@ -34,8 +34,10 @@ Library Build-Depends: - base >= 3 && < 5, - transformers >= 0.2 + base >= 3 && < 5, + stm >= 2.3, + transformers >= 0.2, + transformers-compat >= 0.2 Hs-Source-Dirs: src GHC-Options: -Wall if flag(OrphanInstances)
participants (1)
-
root@hilbert.suse.de