SHA256
1
0
forked from pool/ghc-either

Accepting request 450599 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/450599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-either?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-01-18 20:44:05 +00:00 committed by Git OBS Bridge
commit a57ce746a5
3 changed files with 59 additions and 8 deletions

50
either.cabal Normal file
View File

@ -0,0 +1,50 @@
name: either
category: Control, Monads
version: 4.4.1.1
x-revision: 1
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/either/
bug-reports: http://github.com/ekmett/either/issues
copyright: Copyright (C) 2008-2014 Edward A. Kmett
synopsis: An either monad transformer
description: An either monad transformer
build-type: Simple
extra-source-files:
.gitignore
.ghci
.vim.custom
.travis.yml
CHANGELOG.markdown
README.markdown
source-repository head
type: git
location: git://github.com/ekmett/either.git
library
build-depends:
base >= 4 && < 5,
bifunctors >= 4 && < 6,
exceptions >= 0.5 && < 0.9,
free >= 4.9 && < 5,
monad-control >= 0.3.2 && < 1.1,
MonadRandom >= 0.1 && < 0.6,
mtl >= 2.0 && < 2.3,
mmorph >= 1.0.0 && < 1.1,
profunctors >= 4 && < 6,
semigroups >= 0.8.3.1 && < 1,
semigroupoids >= 4 && < 6,
transformers >= 0.2 && < 0.6,
transformers-base >= 0.4 && < 0.5
extensions: CPP
exposed-modules: Control.Monad.Trans.Either
Data.Either.Combinators
Data.Either.Validation
ghc-options: -Wall
hs-source-dirs: src

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 4 21:24:48 UTC 2017 - psimons@suse.com
- Update to version 4.4.1.1 revision 1 with cabal2obs.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-either # spec file for package ghc-either
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 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
@ -22,11 +22,11 @@ Version: 4.4.1.1
Release: 0 Release: 0
Summary: An either monad transformer Summary: An either monad transformer
License: BSD-3-Clause License: BSD-3-Clause
Group: System/Libraries Group: Development/Languages/Other
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-MonadRandom-devel BuildRequires: ghc-MonadRandom-devel
BuildRequires: ghc-bifunctors-devel BuildRequires: ghc-bifunctors-devel
BuildRequires: ghc-exceptions-devel BuildRequires: ghc-exceptions-devel
@ -41,7 +41,6 @@ BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-transformers-base-devel BuildRequires: ghc-transformers-base-devel
BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description %description
An either monad transformer. An either monad transformer.
@ -59,16 +58,14 @@ 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
%install %install
%ghc_lib_install %ghc_lib_install
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -81,6 +78,5 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGELOG.markdown README.markdown
%changelog %changelog