osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-either revision:5, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=40
This commit is contained in:
Peter Simons 2019-05-04 01:02:23 +00:00 committed by Git OBS Bridge
parent 9a8d20c59d
commit 3b4a678f75
5 changed files with 13 additions and 75 deletions

3
either-5.0.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0243d51d6a02ecb541e4854a588a9b6219a4690ebcbdb79387dd14ad519cdf27
size 10162

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cb6eb3f60223f5ffedfcd749589e870a81d272e130cafd1d17fb6d3a8939018
size 9924

View File

@ -1,67 +0,0 @@
name: either
category: Control, Monads
version: 5.0.1
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/either/
bug-reports: http://github.com/ekmett/either/issues
copyright: Copyright (C) 2008-2017 Edward A. Kmett
synopsis: Combinators for working with sums
description: Combinators for working with sums.
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.3
, GHC == 8.6.1
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,
mtl >= 2.0 && < 2.3,
profunctors >= 4 && < 6,
semigroups >= 0.8.3.1 && < 1,
semigroupoids >= 4 && < 6
other-extensions: CPP Rank2Types
ghc-options: -Wall
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Data.Either.Combinators
Data.Either.Validation
test-suite tests
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests
build-depends:
base,
either,
test-framework >= 0.8.1.1 && < 0.9,
test-framework-quickcheck2 >= 0.3.0.3 && < 0.4,
QuickCheck >= 2.9 && < 2.14
default-language: Haskell2010

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri May 3 02:03:00 UTC 2019 - psimons@suse.com
- Update either to version 5.0.1.1.
5.0.1.1 [2019.05.02]
--------------------
* Only incur a `semigroups` dependency on pre-8.0 GHCs.
-------------------------------------------------------------------
Sat Oct 20 11:24:50 UTC 2018 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-either
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@ -19,21 +19,19 @@
%global pkg_name either
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 5.0.1
Version: 5.0.1.1
Release: 0
Summary: Combinators for working with sums
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/2.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bifunctors-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-profunctors-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-semigroupoids-devel
BuildRequires: ghc-semigroups-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
@ -56,7 +54,6 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build