Hello community,
here is the log from the commit of package ghc-transformers-base for
openSUSE:Factory checked in at 2018-05-30 12:14:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-transformers-base (Old)
and /work/SRC/openSUSE:Factory/.ghc-transformers-base.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-transformers-base"
Wed May 30 12:14:57 2018 rev:6 rq:607910 version:0.4.5.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-transformers-base/ghc-transformers-base.changes
2017-09-15 21:10:10.917168338 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-transformers-base.new/ghc-transformers-base.changes
2018-05-30 12:27:41.445474379 +0200
@@ -1,0 +2,6 @@
+Mon May 14 17:02:11 UTC 2018 - [email protected]
+
+- Update transformers-base to version 0.4.5.2.
+ Upstream does not provide a changelog.
+
+-------------------------------------------------------------------
Old:
----
transformers-base-0.4.4.tar.gz
transformers-base.cabal
New:
----
transformers-base-0.4.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-transformers-base.spec ++++++
--- /var/tmp/diff_new_pack.k3Gpsd/_old 2018-05-30 12:27:42.121450696 +0200
+++ /var/tmp/diff_new_pack.k3Gpsd/_new 2018-05-30 12:27:42.121450696 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-transformers-base
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,15 +18,15 @@
%global pkg_name transformers-base
Name: ghc-%{pkg_name}
-Version: 0.4.4
+Version: 0.4.5.2
Release: 0
Summary: Lift computations from the bottom of a transformer stack
License: BSD-3-Clause
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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-base-orphans-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-stm-devel
BuildRequires: ghc-transformers-compat-devel
@@ -50,7 +50,6 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@@ -65,8 +64,9 @@
%ghc_pkg_recache
%files -f %{name}.files
-%doc LICENSE
+%license LICENSE
%files devel -f %{name}-devel.files
+%doc README.md
%changelog
++++++ transformers-base-0.4.4.tar.gz -> transformers-base-0.4.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transformers-base-0.4.4/README.md
new/transformers-base-0.4.5.2/README.md
--- old/transformers-base-0.4.4/README.md 1970-01-01 01:00:00.000000000
+0100
+++ new/transformers-base-0.4.5.2/README.md 2018-03-31 23:49:49.000000000
+0200
@@ -0,0 +1,17 @@
+Transformers-Base
+=================
+
+[](https://travis-ci.org/mvv/transformers-base)
[](http://hackage.haskell.org/package/transformers-base)
+
+This package provides a straightforward port of [monadLib][monadLib]'s BaseM
+typeclass to [transformers][transformers].
+
+[monadLib]: http://hackage.haskell.org/package/monadLib
+[transformers]: http://hackage.haskell.org/package/transformers
+
+Installation
+------------
+The usual:
+
+ $ cabal install
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transformers-base-0.4.4/src/Control/Monad/Base.hs
new/transformers-base-0.4.5.2/src/Control/Monad/Base.hs
--- old/transformers-base-0.4.4/src/Control/Monad/Base.hs 2015-02-11
20:40:38.000000000 +0100
+++ new/transformers-base-0.4.5.2/src/Control/Monad/Base.hs 2018-03-31
23:49:49.000000000 +0200
@@ -19,9 +19,7 @@
, liftBaseDefault
) where
-import Data.Monoid
import Data.Functor.Identity
-import Control.Applicative (Applicative(..))
import Control.Monad.Trans.Class
import Control.Monad.Trans.Identity
import Control.Monad.Trans.Maybe
@@ -36,10 +34,16 @@
import Control.Monad.Trans.Error
import Control.Monad.Trans.Cont
import Control.Monad.Trans.Except
+import Control.Monad.Trans.Accum
+import Control.Monad.Trans.Select
+#if !MIN_VERSION_base(4,8,0)
+import Data.Monoid
+import Control.Applicative (Applicative(..))
+#endif
#if !MIN_VERSION_base(4,4,0) && HS_TRANSFORMERS_BASE__ORPHANS
-import Control.Monad (ap)
import qualified Control.Monad.ST.Lazy as L
import qualified Control.Monad.ST.Strict as S
+import Data.Orphans ()
#endif
#if MIN_VERSION_base(4,4,0)
import qualified Control.Monad.ST.Lazy.Safe as L
@@ -65,14 +69,6 @@
BASE(STM)
#if !MIN_VERSION_base(4,4,0) && HS_TRANSFORMERS_BASE__ORPHANS
-instance Applicative (L.ST s) where
- pure = return
- (<*>) = ap
-
-instance Applicative (S.ST s) where
- pure = return
- (<*>) = ap
-
BASE(L.ST s)
BASE(S.ST s)
#endif
@@ -101,6 +97,7 @@
TRANS(S.StateT s)
TRANS(ContT r)
TRANS(ExceptT e)
+TRANS(SelectT r)
#undef TRANS
#define TRANS_CTX(CTX, T) \
@@ -111,4 +108,5 @@
TRANS_CTX(Monoid w, L.RWST r w s)
TRANS_CTX(Monoid w, S.RWST r w s)
TRANS_CTX(Error e, ErrorT e)
+TRANS_CTX(Monoid w, AccumT w)
#undef TRANS_CTX
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/transformers-base-0.4.4/transformers-base.cabal
new/transformers-base-0.4.5.2/transformers-base.cabal
--- old/transformers-base-0.4.4/transformers-base.cabal 2015-02-11
20:40:38.000000000 +0100
+++ new/transformers-base-0.4.5.2/transformers-base.cabal 2018-03-31
23:49:49.000000000 +0200
@@ -1,5 +1,5 @@
Name: transformers-base
-Version: 0.4.4
+Version: 0.4.5.2
Category: Control
Stability: experimental
Synopsis: Lift computations from the bottom of a transformer stack
@@ -20,7 +20,13 @@
License: BSD3
License-File: LICENSE
-Cabal-Version: >= 1.6.0
+Extra-Source-Files:
+ README.md
+
+Tested-With: GHC==7.0.4, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4,
+ GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.1
+
+Cabal-Version: >= 1.8
Build-Type: Simple
Source-Repository head
@@ -29,18 +35,20 @@
Flag OrphanInstances
Description:
- Declare orphan Applicative instances for lazy and strict ST if needed
+ Import orphan Applicative instances for lazy and strict ST if needed
Default: True
Library
Build-Depends:
- base >= 3 && < 5,
+ base >= 3 && < 5 && (< 4.4 || >= 4.5),
stm >= 2.3,
transformers >= 0.2,
- transformers-compat >= 0.2
+ transformers-compat >= 0.6.1
Hs-Source-Dirs: src
GHC-Options: -Wall
if flag(OrphanInstances)
+ Build-Depends:
+ base-orphans >= 0.3
CPP-Options: -DHS_TRANSFORMERS_BASE__ORPHANS=1
else
CPP-Options: -DHS_TRANSFORMERS_BASE__ORPHANS=0