forked from pool/ghc-errors
Accepting request 912597 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/912597 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-errors?expand=0&rev=5
This commit is contained in:
commit
e886012218
44
errors.cabal
Normal file
44
errors.cabal
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Name: errors
|
||||||
|
Version: 2.3.0
|
||||||
|
x-revision: 1
|
||||||
|
Cabal-Version: >=1.8.0.2
|
||||||
|
Build-Type: Simple
|
||||||
|
Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
|
||||||
|
License: BSD3
|
||||||
|
License-File: LICENSE
|
||||||
|
Copyright: 2012, 2013 Gabriel Gonzalez
|
||||||
|
Author: Gabriel Gonzalez
|
||||||
|
Maintainer: Gabriel439@gmail.com
|
||||||
|
Bug-Reports: https://github.com/Gabriel439/Haskell-Errors-Library/issues
|
||||||
|
Synopsis: Simplified error-handling
|
||||||
|
Description:
|
||||||
|
The one-stop shop for all your error-handling needs! Just import
|
||||||
|
"Control.Error".
|
||||||
|
.
|
||||||
|
This library encourages an error-handling style that directly uses the type
|
||||||
|
system, rather than out-of-band exceptions.
|
||||||
|
Category: Control, Error Handling
|
||||||
|
extra-source-files: CHANGELOG.md
|
||||||
|
Source-Repository head
|
||||||
|
Type: git
|
||||||
|
Location: https://github.com/Gabriel439/Haskell-Errors-Library
|
||||||
|
|
||||||
|
Library
|
||||||
|
Build-Depends:
|
||||||
|
base >= 4.7 && < 5 ,
|
||||||
|
exceptions >= 0.6 && < 0.11,
|
||||||
|
text < 1.3 ,
|
||||||
|
transformers >= 0.2 && < 0.6 ,
|
||||||
|
transformers-compat >= 0.4 && < 0.8
|
||||||
|
if impl(ghc <= 7.6.3)
|
||||||
|
Build-Depends:
|
||||||
|
safe >= 0.3.3 && < 0.3.10
|
||||||
|
else
|
||||||
|
Build-Depends:
|
||||||
|
safe >= 0.3.3 && < 0.4
|
||||||
|
Exposed-Modules:
|
||||||
|
Control.Error,
|
||||||
|
Control.Error.Safe,
|
||||||
|
Control.Error.Script,
|
||||||
|
Control.Error.Util,
|
||||||
|
Data.EitherR
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 27 07:52:52 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update errors to version 2.3.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-errors
|
# spec file for package ghc-errors
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -24,6 +24,7 @@ Summary: Simplified error-handling
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
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
|
||||||
BuildRequires: ghc-exceptions-devel
|
BuildRequires: ghc-exceptions-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -52,6 +53,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user