From b4ac1fbf2e881a9d7bfb064d5851bca1f9db68f655c0b369f8e602ef46951f9b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:55:24 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-free revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-free?expand=0&rev=18 --- free-4.12.4.tar.gz | 3 --- free-5.0.1.tar.gz | 3 +++ free.cabal | 25 +++++++++++++++++++++---- ghc-free.changes | 32 +++----------------------------- ghc-free.spec | 6 +++--- 5 files changed, 30 insertions(+), 39 deletions(-) delete mode 100644 free-4.12.4.tar.gz create mode 100644 free-5.0.1.tar.gz diff --git a/free-4.12.4.tar.gz b/free-4.12.4.tar.gz deleted file mode 100644 index 1f9f693..0000000 --- a/free-4.12.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c9fe45aae387855626ecb5a0fea6afdb207143cb00af3b1f715d1032d2d08784 -size 50601 diff --git a/free-5.0.1.tar.gz b/free-5.0.1.tar.gz new file mode 100644 index 0000000..657f0ad --- /dev/null +++ b/free-5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b75cb592fdcbe11b83d2316c0cb5c8a66621709f57af9f52bbfcc8e4524e6299 +size 64069 diff --git a/free.cabal b/free.cabal index e181fa3..e154c0c 100644 --- a/free.cabal +++ b/free.cabal @@ -1,9 +1,9 @@ name: free category: Control, Monads -version: 4.12.4 +version: 5.0.1 x-revision: 1 license: BSD3 -cabal-version: >= 1.10 +cabal-version: >= 1.18 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett @@ -11,7 +11,7 @@ stability: provisional homepage: http://github.com/ekmett/free/ bug-reports: http://github.com/ekmett/free/issues copyright: Copyright (C) 2008-2015 Edward A. Kmett -tested-with: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1 +tested-with: 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 synopsis: Monads for free description: Free monads are useful for many tree-like structures and domain specific languages. @@ -44,8 +44,11 @@ extra-source-files: HLint.hs doc/proof/Control/Comonad/Cofree/*.md doc/proof/Control/Comonad/Trans/Cofree/*.md + examples/free-examples.cabal + examples/LICENSE examples/*.hs examples/*.lhs + include/free-common.h extra-doc-files: examples/*.hs examples/*.lhs @@ -56,6 +59,8 @@ source-repository head library hs-source-dirs: src + include-dirs: include + includes: free-common.h default-language: Haskell2010 default-extensions: CPP @@ -73,11 +78,11 @@ library comonad >= 4 && < 6, distributive >= 0.2.1, mtl >= 2.0.1.0 && < 2.3, - prelude-extras >= 0.4 && < 1, profunctors >= 4 && < 6, semigroupoids >= 4 && < 6, semigroups >= 0.8.3.1 && < 1, transformers >= 0.2.0 && < 0.6, + transformers-base < 0.5, transformers-compat >= 0.3 && < 1, template-haskell >= 2.7.0.0 && < 3, exceptions >= 0.6 && < 0.11, @@ -85,6 +90,7 @@ library exposed-modules: Control.Applicative.Free + Control.Applicative.Free.Fast Control.Applicative.Free.Final Control.Applicative.Trans.Free Control.Alternative.Free @@ -94,11 +100,22 @@ library Control.Comonad.Trans.Cofree Control.Comonad.Trans.Coiter Control.Monad.Free + Control.Monad.Free.Ap Control.Monad.Free.Church Control.Monad.Free.Class Control.Monad.Free.TH Control.Monad.Trans.Free + Control.Monad.Trans.Free.Ap Control.Monad.Trans.Free.Church Control.Monad.Trans.Iter + other-modules: + Data.Functor.Classes.Compat + ghc-options: -Wall + + -- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0 + if impl(ghc >= 8.0) + ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances + else + build-depends: fail == 4.9.* diff --git a/ghc-free.changes b/ghc-free.changes index 0ae55e8..3da217a 100644 --- a/ghc-free.changes +++ b/ghc-free.changes @@ -1,32 +1,6 @@ ------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com +Wed Mar 14 16:57:20 UTC 2018 - psimons@suse.com -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Sun Jul 10 17:13:32 UTC 2016 - psimons@suse.com - -- Update to version 4.12.4 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Mon Jan 18 10:33:25 UTC 2016 - mimi.vx@gmail.com - -- update to 4.12.4 -* Add instances for ExceptT: like ErrorT, but without an Error constraint. -* Support containers -* Support transformers 0.5 -* Removed a number of spurious class constraints. -* Support comonad 5 - -------------------------------------------------------------------- -Thu Aug 6 19:27:49 UTC 2015 - mimi.vx@gmail.com - -- update to 4.12.1 -* Add instances of MonadCatch and MonadThrow from exceptions to FT, FreeT and IterT. -* semigroupoids 5, profunctors 5, and bifunctors 5 support. - -------------------------------------------------------------------- -Sun Apr 26 17:48:04 UTC 2015 - mimi.vx@gmail.com - -- initial commit +- Update free to version 5.0.1 revision 1. + A more detailed change log is not available. diff --git a/ghc-free.spec b/ghc-free.spec index d90df06..4dfb87f 100644 --- a/ghc-free.spec +++ b/ghc-free.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-free # -# 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,7 +18,7 @@ %global pkg_name free Name: ghc-%{pkg_name} -Version: 4.12.4 +Version: 5.0.1 Release: 0 Summary: Monads for free License: BSD-3-Clause @@ -33,12 +33,12 @@ BuildRequires: ghc-containers-devel BuildRequires: ghc-distributive-devel BuildRequires: ghc-exceptions-devel BuildRequires: ghc-mtl-devel -BuildRequires: ghc-prelude-extras-devel BuildRequires: ghc-profunctors-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-semigroupoids-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel