Accepting request 607769 from devel:languages:haskell
Update ghc-comonad to the latest version. OBS-URL: https://build.opensuse.org/request/show/607769 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-comonad?expand=0&rev=6
This commit is contained in:
commit
d850d7489e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:561ffd697d9d38467d0d426947e0bade25a05e3c507235eca29ec800ad3f463d
|
|
||||||
size 18218
|
|
3
comonad-5.0.3.tar.gz
Normal file
3
comonad-5.0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a7f4584d634051123c547f0d10f88eaf23d99229dbd01dfdcd98cddd41e54df6
|
||||||
|
size 17430
|
136
comonad.cabal
Normal file
136
comonad.cabal
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
name: comonad
|
||||||
|
category: Control, Comonads
|
||||||
|
version: 5.0.3
|
||||||
|
x-revision: 2
|
||||||
|
license: BSD3
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Edward A. Kmett
|
||||||
|
maintainer: Edward A. Kmett <ekmett@gmail.com>
|
||||||
|
stability: provisional
|
||||||
|
homepage: http://github.com/ekmett/comonad/
|
||||||
|
bug-reports: http://github.com/ekmett/comonad/issues
|
||||||
|
copyright: Copyright (C) 2008-2014 Edward A. Kmett,
|
||||||
|
Copyright (C) 2004-2008 Dave Menendez
|
||||||
|
synopsis: Comonads
|
||||||
|
description: Comonads.
|
||||||
|
build-type: Custom
|
||||||
|
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.1
|
||||||
|
extra-source-files:
|
||||||
|
.ghci
|
||||||
|
.gitignore
|
||||||
|
.travis.yml
|
||||||
|
.vim.custom
|
||||||
|
coq/Store.v
|
||||||
|
README.markdown
|
||||||
|
CHANGELOG.markdown
|
||||||
|
examples/History.hs
|
||||||
|
HLint.hs
|
||||||
|
Warning.hs
|
||||||
|
|
||||||
|
custom-setup
|
||||||
|
setup-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
Cabal,
|
||||||
|
cabal-doctest >= 1 && < 1.1
|
||||||
|
|
||||||
|
-- You can disable the doctests test suite with -f-test-doctests
|
||||||
|
flag test-doctests
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
flag containers
|
||||||
|
description:
|
||||||
|
You can disable the use of the `containers` package using `-f-containers`.
|
||||||
|
.
|
||||||
|
Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
flag contravariant
|
||||||
|
description:
|
||||||
|
You can disable the use of the `contravariant` package using `-f-contravariant`.
|
||||||
|
.
|
||||||
|
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
|
||||||
|
.
|
||||||
|
If disabled we will not supply instances of `Contravariant`
|
||||||
|
.
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
flag distributive
|
||||||
|
description:
|
||||||
|
You can disable the use of the `distributive` package using `-f-distributive`.
|
||||||
|
.
|
||||||
|
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
|
||||||
|
.
|
||||||
|
If disabled we will not supply instances of `Distributive`
|
||||||
|
.
|
||||||
|
default: True
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/ekmett/comonad.git
|
||||||
|
|
||||||
|
library
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
build-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
semigroups >= 0.8.3.1 && < 1,
|
||||||
|
tagged >= 0.7 && < 1,
|
||||||
|
transformers >= 0.2 && < 0.6,
|
||||||
|
transformers-compat >= 0.3 && < 1
|
||||||
|
|
||||||
|
if flag(containers)
|
||||||
|
build-depends: containers >= 0.3 && < 0.6
|
||||||
|
|
||||||
|
if flag(contravariant)
|
||||||
|
build-depends: contravariant >= 0.2.0.1 && < 2
|
||||||
|
|
||||||
|
if flag(distributive)
|
||||||
|
build-depends: distributive >= 0.2.2 && < 1
|
||||||
|
|
||||||
|
exposed-modules:
|
||||||
|
Control.Comonad
|
||||||
|
Control.Comonad.Env
|
||||||
|
Control.Comonad.Env.Class
|
||||||
|
Control.Comonad.Hoist.Class
|
||||||
|
Control.Comonad.Identity
|
||||||
|
Control.Comonad.Store
|
||||||
|
Control.Comonad.Store.Class
|
||||||
|
Control.Comonad.Traced
|
||||||
|
Control.Comonad.Traced.Class
|
||||||
|
Control.Comonad.Trans.Class
|
||||||
|
Control.Comonad.Trans.Env
|
||||||
|
Control.Comonad.Trans.Identity
|
||||||
|
Control.Comonad.Trans.Store
|
||||||
|
Control.Comonad.Trans.Traced
|
||||||
|
Data.Functor.Composition
|
||||||
|
|
||||||
|
other-extensions:
|
||||||
|
CPP
|
||||||
|
RankNTypes
|
||||||
|
MultiParamTypeClasses
|
||||||
|
FunctionalDependencies
|
||||||
|
FlexibleInstances
|
||||||
|
UndecidableInstances
|
||||||
|
|
||||||
|
test-suite doctests
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
default-language: Haskell2010
|
||||||
|
main-is: doctests.hs
|
||||||
|
ghc-options: -Wall -threaded
|
||||||
|
hs-source-dirs: tests
|
||||||
|
|
||||||
|
if !flag(test-doctests)
|
||||||
|
buildable: False
|
||||||
|
else
|
||||||
|
build-depends:
|
||||||
|
base,
|
||||||
|
comonad,
|
||||||
|
doctest >= 0.11.1 && < 0.16
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update comonad to version 5.0.3 revision 2.
|
||||||
|
* Don't enable `Safe` on GHC 7.2.
|
||||||
|
* Support `doctest-0.12`
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 24 12:26:15 UTC 2017 - psimons@suse.com
|
Mon Apr 24 12:26:15 UTC 2017 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-comonad
|
# spec file for package ghc-comonad
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,13 +19,14 @@
|
|||||||
%global pkg_name comonad
|
%global pkg_name comonad
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 5.0.1
|
Version: 5.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Comonads
|
Summary: Comonads
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Libraries/Haskell
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-cabal-doctest-devel
|
BuildRequires: ghc-cabal-doctest-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
@ -36,7 +37,6 @@ BuildRequires: ghc-semigroups-devel
|
|||||||
BuildRequires: ghc-tagged-devel
|
BuildRequires: ghc-tagged-devel
|
||||||
BuildRequires: ghc-transformers-compat-devel
|
BuildRequires: ghc-transformers-compat-devel
|
||||||
BuildRequires: ghc-transformers-devel
|
BuildRequires: ghc-transformers-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-doctest-devel
|
BuildRequires: ghc-doctest-devel
|
||||||
%endif
|
%endif
|
||||||
@ -46,7 +46,7 @@ Comonads.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Haskell
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
@ -57,6 +57,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@ -74,11 +75,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc LICENSE
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc CHANGELOG.markdown README.markdown examples
|
%doc CHANGELOG.markdown README.markdown examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user