Accepting request 953520 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/953520 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-resourcet?expand=0&rev=28
This commit is contained in:
commit
877eae2f76
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 4 12:15:08 UTC 2022 - psimons@suse.com
|
||||
|
||||
- Update resourcet to version 1.2.4.3 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 5 15:04:55 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-resourcet
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,6 +25,7 @@ Summary: Deterministic allocation and freeing of scarce resources
|
||||
License: BSD-3-Clause
|
||||
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-containers-devel
|
||||
BuildRequires: ghc-exceptions-devel
|
||||
@ -54,6 +55,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
47
resourcet.cabal
Normal file
47
resourcet.cabal
Normal file
@ -0,0 +1,47 @@
|
||||
Name: resourcet
|
||||
Version: 1.2.4.3
|
||||
x-revision: 1
|
||||
Synopsis: Deterministic allocation and freeing of scarce resources.
|
||||
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/resourcet>.
|
||||
License: BSD3
|
||||
License-file: LICENSE
|
||||
Author: Michael Snoyman
|
||||
Maintainer: michael@snoyman.com
|
||||
Category: Data, Conduit
|
||||
Build-type: Simple
|
||||
Cabal-version: >=1.10
|
||||
Homepage: http://github.com/snoyberg/conduit
|
||||
extra-source-files: ChangeLog.md, README.md
|
||||
|
||||
Library
|
||||
default-language: Haskell2010
|
||||
Exposed-modules: Control.Monad.Trans.Resource
|
||||
Control.Monad.Trans.Resource.Internal
|
||||
Data.Acquire
|
||||
Data.Acquire.Internal
|
||||
UnliftIO.Resource
|
||||
Build-depends: base >= 4.9 && < 5
|
||||
, containers
|
||||
, transformers >= 0.4
|
||||
, mtl >= 2.0 && < 2.3
|
||||
, exceptions (== 0.8.* || == 0.10.*)
|
||||
, unliftio-core >=0.1.1.0
|
||||
, primitive
|
||||
ghc-options: -Wall
|
||||
|
||||
test-suite test
|
||||
default-language: Haskell2010
|
||||
hs-source-dirs: test
|
||||
main-is: main.hs
|
||||
type: exitcode-stdio-1.0
|
||||
cpp-options: -DTEST
|
||||
build-depends: resourcet
|
||||
, base
|
||||
, exceptions
|
||||
, hspec >= 1.3
|
||||
, transformers
|
||||
ghc-options: -Wall
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/snoyberg/conduit.git
|
Loading…
Reference in New Issue
Block a user