From 9d749f8f3c57fbd84f1592234d411fa6a069912ad0f632701f156d2cff1c27d1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 11 Jun 2019 14:10:45 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-async revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-async?expand=0&rev=36 --- async-2.2.1.tar.gz | 3 -- async-2.2.2.tar.gz | 3 ++ async.cabal | 98 ---------------------------------------------- ghc-async.changes | 11 ++++++ ghc-async.spec | 6 +-- 5 files changed, 16 insertions(+), 105 deletions(-) delete mode 100644 async-2.2.1.tar.gz create mode 100644 async-2.2.2.tar.gz delete mode 100644 async.cabal diff --git a/async-2.2.1.tar.gz b/async-2.2.1.tar.gz deleted file mode 100644 index 400a66f..0000000 --- a/async-2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f0b86022a1319d3c1c68655790da4b7f98017982e27ec3f3dbfe01029d39027 -size 12775 diff --git a/async-2.2.2.tar.gz b/async-2.2.2.tar.gz new file mode 100644 index 0000000..c918f1c --- /dev/null +++ b/async-2.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b4ab1ac82c45144d82c6daf6cb6ba45eab9957dad44787fa5e869e23d73bbff +size 12927 diff --git a/async.cabal b/async.cabal deleted file mode 100644 index bef4566..0000000 --- a/async.cabal +++ /dev/null @@ -1,98 +0,0 @@ -name: async -version: 2.2.1 -x-revision: 1 --- don't forget to update ./changelog.md! -synopsis: Run IO operations asynchronously and wait for their results - -description: - This package provides a higher-level interface over - threads, in which an @Async a@ is a concurrent - thread that will eventually deliver a value of - type @a@. The package provides ways to create - @Async@ computations, wait for their results, and - cancel them. - . - Using @Async@ is safer than using threads in two - ways: - . - * When waiting for a thread to return a result, - if the thread dies with an exception then the - caller must either re-throw the exception - ('wait') or handle it ('waitCatch'); the - exception cannot be ignored. - . - * The API makes it possible to build a tree of - threads that are automatically killed when - their parent dies (see 'withAsync'). - -license: BSD3 -license-file: LICENSE -author: Simon Marlow -maintainer: Simon Marlow -copyright: (c) Simon Marlow 2012 -category: Concurrency -build-type: Simple -cabal-version: >=1.10 -homepage: https://github.com/simonmar/async -bug-reports: https://github.com/simonmar/async/issues -tested-with: GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -extra-source-files: - changelog.md - bench/race.hs - -source-repository head - type: git - location: https://github.com/simonmar/async.git - -library - default-language: Haskell2010 - other-extensions: CPP, MagicHash, RankNTypes, UnboxedTuples - if impl(ghc>=7.1) - other-extensions: Trustworthy - exposed-modules: Control.Concurrent.Async - build-depends: base >= 4.3 && < 4.13, hashable >= 1.1.1.0 && < 1.3, stm >= 2.2 && < 2.6 - -test-suite test-async - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: test - main-is: test-async.hs - build-depends: base >= 4.3 && < 4.13, - async, - stm, - test-framework, - test-framework-hunit, - HUnit - -flag bench - default: False - -executable concasync - if !flag(bench) - buildable: False - default-language: Haskell2010 - hs-source-dirs: bench - main-is: concasync.hs - build-depends: base, async, stm - ghc-options: -O2 - -executable conccancel - if !flag(bench) - buildable: False - default-language: Haskell2010 - hs-source-dirs: bench - main-is: conccancel.hs - build-depends: base, async, stm - ghc-options: -O2 -threaded - -executable race - if !flag(bench) - buildable: False - default-language: Haskell2010 - hs-source-dirs: bench - main-is: race.hs - build-depends: base, async, stm - ghc-options: -O2 -threaded - - diff --git a/ghc-async.changes b/ghc-async.changes index 48c6eac..ff8e1fc 100644 --- a/ghc-async.changes +++ b/ghc-async.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jun 7 02:01:43 UTC 2019 - psimons@suse.com + +- Update async to version 2.2.2. + ## Changes in 2.2.2: + + - Builds with GHC 8.6.x + - linkOnly and link2Only are now exported + - wait now has the same behaviour with BlockedIndefinitelyOnSTM as waitCatch + - Documentation fixes + ------------------------------------------------------------------- Fri Oct 19 13:13:07 UTC 2018 - Peter Simons diff --git a/ghc-async.spec b/ghc-async.spec index f6d0ca0..5e84f03 100644 --- a/ghc-async.spec +++ b/ghc-async.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-async # -# 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,14 +19,13 @@ %global pkg_name async %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.2.1 +Version: 2.2.2 Release: 0 Summary: Run IO operations asynchronously and wait for their results 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/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-hashable-devel BuildRequires: ghc-rpm-macros @@ -65,7 +64,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