osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-enclosed-exceptions revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-enclosed-exceptions?expand=0&rev=1
This commit is contained in:
commit
02dcbdf348
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
enclosed-exceptions-1.0.2.tar.gz
Normal file
3
enclosed-exceptions-1.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b9beab82d219c0dd879dfdef70fb74a4a7595b4dbd0baf7adb12cdbbe8189f1
|
||||
size 5266
|
47
enclosed-exceptions.cabal
Normal file
47
enclosed-exceptions.cabal
Normal file
@ -0,0 +1,47 @@
|
||||
name: enclosed-exceptions
|
||||
version: 1.0.2
|
||||
x-revision: 1
|
||||
synopsis: Catching all exceptions from within an enclosed computation
|
||||
description: Catching all exceptions raised within an enclosed computation,
|
||||
while remaining responsive to (external) asynchronous exceptions.
|
||||
For more information on the technique, please see:
|
||||
<https://www.fpcomplete.com/user/snoyberg/general-haskell/exceptions/catching-all-exceptions>
|
||||
homepage: https://github.com/jcristovao/enclosed-exceptions
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman, João Cristóvão
|
||||
maintainer: jmacristovao@gmail.com, michael@snoyman.com
|
||||
category: Control
|
||||
build-type: Simple
|
||||
cabal-version: >=1.8
|
||||
|
||||
library
|
||||
exposed-modules: Control.Exception.Enclosed
|
||||
hs-source-dirs: src
|
||||
build-depends: base >= 4.6 && < 5
|
||||
, transformers
|
||||
, lifted-base >= 0.2
|
||||
, monad-control
|
||||
, deepseq
|
||||
, transformers-base
|
||||
ghc-options: -Wall -fno-warn-orphans
|
||||
|
||||
test-suite test
|
||||
hs-source-dirs: src, test
|
||||
main-is: main.hs
|
||||
type: exitcode-stdio-1.0
|
||||
build-depends: base
|
||||
, lifted-base >= 0.2
|
||||
, monad-control
|
||||
, async >= 2.0
|
||||
, deepseq
|
||||
, hspec >= 1.3
|
||||
, QuickCheck
|
||||
, stm
|
||||
, transformers
|
||||
, transformers-base
|
||||
ghc-options: -Wall
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/jcristovao/enclosed-exceptions.git
|
4
ghc-enclosed-exceptions.changes
Normal file
4
ghc-enclosed-exceptions.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 9 19:45:07 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Add enclosed-exceptions at version 1.0.2.
|
86
ghc-enclosed-exceptions.spec
Normal file
86
ghc-enclosed-exceptions.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package ghc-enclosed-exceptions
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global pkg_name enclosed-exceptions
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: Catching all exceptions from within an enclosed computation
|
||||
License: MIT
|
||||
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/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-lifted-base-devel
|
||||
BuildRequires: ghc-monad-control-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-transformers-base-devel
|
||||
BuildRequires: ghc-transformers-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-async-devel
|
||||
BuildRequires: ghc-hspec-devel
|
||||
BuildRequires: ghc-stm-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
Catching all exceptions raised within an enclosed computation, while remaining
|
||||
responsive to (external) asynchronous exceptions. For more information on the
|
||||
technique, please see:
|
||||
<https://www.fpcomplete.com/user/snoyberg/general-haskell/exceptions/catching-all-exceptions>.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Group: Development/Libraries/Haskell
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
|
||||
%description devel
|
||||
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
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user