Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-transformers-compat for
openSUSE:Factory checked in at 2022-02-11 23:09:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-transformers-compat (Old)
and /work/SRC/openSUSE:Factory/.ghc-transformers-compat.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-transformers-compat"
Fri Feb 11 23:09:52 2022 rev:18 rq:953550 version:0.7.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-transformers-compat/ghc-transformers-compat.changes
2021-11-11 21:37:30.052935863 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-transformers-compat.new.1956/ghc-transformers-compat.changes
2022-02-11 23:11:49.343364694 +0100
@@ -1,0 +2,6 @@
+Mon Jan 10 23:16:30 UTC 2022 - Peter Simons <[email protected]>
+
+- Update transformers-compat to version 0.7.1 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
transformers-compat.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-transformers-compat.spec ++++++
--- /var/tmp/diff_new_pack.1JUKsY/_old 2022-02-11 23:11:52.063372561 +0100
+++ /var/tmp/diff_new_pack.1JUKsY/_new 2022-02-11 23:11:52.067372572 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-transformers-compat
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
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-rpm-macros
BuildRequires: ghc-transformers-devel
@@ -54,6 +55,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ transformers-compat.cabal ++++++
name: transformers-compat
category: Compatibility
version: 0.7.1
x-revision: 1
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <[email protected]>
stability: provisional
homepage: http://github.com/ekmett/transformers-compat/
bug-reports: http://github.com/ekmett/transformers-compat/issues
copyright: Copyright (C) 2012-2015 Edward A. Kmett
synopsis: A small compatibility shim for the transformers library
description:
This package includes backported versions of types that were added
to transformers in transformers 0.3, 0.4, and 0.5 for users who need strict
transformers 0.2 or 0.3 compatibility to run on old versions of the
platform, but also need those types.
.
Those users should be able to just depend on @transformers >= 0.2@
and @transformers-compat >= 0.3@.
.
Note: missing methods are not supplied, but this at least permits the types
to be used.
build-type: Simple
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, 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.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
extra-source-files:
.ghci
.gitignore
.hlint.yaml
.vim.custom
config
tests/*.hs
tests/LICENSE
tests/transformers-compat-tests.cabal
README.markdown
CHANGELOG.markdown
source-repository head
type: git
location: git://github.com/ekmett/transformers-compat.git
flag two
default: False
description: Use transformers 0.2. This will be selected by cabal picking the
appropriate version.
manual: False
flag three
default: False
manual: False
description: Use transformers 0.3. This will be selected by cabal picking the
appropriate version.
flag four
default: False
manual: False
description: Use transformers 0.4. This will be selected by cabal picking the
appropriate version.
flag five
default: False
manual: False
description: Use transformers 0.5 up until (but not including) 0.5.3. This
will be selected by cabal picking the appropriate version.
flag five-three
default: True
manual: False
description: Use transformers 0.5.3. This will be selected by cabal picking
the appropriate version.
flag mtl
default: True
manual: True
description: -f-mtl Disables support for mtl for transformers 0.2 and 0.3.
That is an unsupported configuration, and results in missing instances for
`ExceptT`.
flag generic-deriving
default: True
manual: True
description: -f-generic-deriving prevents generic-deriving from being built
as a dependency.
This disables certain aspects of generics for older versions of
GHC. In particular,
Generic(1) instances will not be backported prior to GHC 7.2,
and generic operations
over unlifted types will not be backported prior to GHC 8.0.
This is an unsupported
configuration.
library
build-depends:
base >= 4.3 && < 5,
-- These are all transformers versions we support.
-- each flag below splits this interval into two parts.
-- flag-true parts are mutually exclusive, so at least one have to be on.
transformers >= 0.2 && <0.7
if !impl(ghc >= 8.0)
build-depends: fail == 4.9.*
hs-source-dirs:
src
exposed-modules:
Control.Monad.Trans.Instances
other-modules:
Paths_transformers_compat
default-language:
Haskell2010
-- automatic flags
if flag(five-three)
build-depends: transformers >= 0.5.3
else
build-depends: transformers < 0.5.3
if flag(five)
hs-source-dirs: 0.5
build-depends: transformers >= 0.5 && < 0.5.3
else
build-depends: transformers < 0.5 || >= 0.5.3
if flag(four)
cpp-options: -DTRANSFORMERS_FOUR
hs-source-dirs: 0.5
-- Don't allow transformers-0.4.0.0
-- See https://github.com/ekmett/transformers-compat/issues/35
build-depends: transformers >= 0.4.1 && < 0.5
else
build-depends: transformers < 0.4 || >= 0.5
if flag(three)
hs-source-dirs: 0.3 0.5
build-depends: transformers >= 0.3 && < 0.4
if flag(mtl)
build-depends: mtl >= 2.1 && < 2.2
else
build-depends: transformers < 0.3 || >= 0.4
if flag(two)
hs-source-dirs: 0.2 0.3 0.5
build-depends: transformers >= 0.2 && < 0.3
if flag(mtl)
build-depends: mtl >= 2.0 && < 2.1
else
build-depends: transformers >= 0.3
-- other flags
if impl(ghc >= 7.2) || flag(generic-deriving)
hs-source-dirs: generics
build-depends: ghc-prim
if flag(mtl)
cpp-options: -DMTL
if flag(generic-deriving)
if impl(ghc < 8.0) && flag(generic-deriving)
cpp-options: -DGENERIC_DERIVING
build-depends: generic-deriving >= 1.10 && < 2
if !flag(mtl) && !flag(generic-deriving)
cpp-options: -DHASKELL98
if flag(two)
exposed-modules:
Control.Applicative.Backwards
Control.Applicative.Lift
Data.Functor.Reverse
if flag(two) || flag(three)
exposed-modules:
Control.Monad.Trans.Except
Control.Monad.Signatures
Data.Functor.Classes
Data.Functor.Sum
if flag(two) || flag(three) || flag(four) || flag(five)
exposed-modules:
Control.Monad.Trans.Accum
Control.Monad.Trans.Select
if impl(ghc >= 7.2) || flag(generic-deriving)
exposed-modules:
Data.Functor.Classes.Generic
Data.Functor.Classes.Generic.Internal