diff --git a/async-2.2.4.tar.gz b/async-2.2.4.tar.gz deleted file mode 100644 index 2658c19..0000000 --- a/async-2.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:484df85be0e76c4fed9376451e48e1d0c6e97952ce79735b72d54297e7e0a725 -size 14148 diff --git a/async-2.2.5.tar.gz b/async-2.2.5.tar.gz new file mode 100644 index 0000000..d2dfc0c --- /dev/null +++ b/async-2.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1818473ebab9212afad2ed76297aefde5fae8b5d4404daf36939aece6a8f16f7 +size 15742 diff --git a/async.cabal b/async.cabal deleted file mode 100644 index 20f16a9..0000000 --- a/async.cabal +++ /dev/null @@ -1,116 +0,0 @@ -name: async -version: 2.2.4 -x-revision: 4 --- 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 == 9.8.1 - GHC == 9.6.3 - GHC == 9.4.7 - GHC == 9.2.8 - GHC == 9.0.2 - GHC == 8.10.7 - GHC == 8.8.4 - GHC == 8.6.5 - GHC == 8.4.4 - GHC == 8.2.2 - GHC == 8.0.2 - GHC == 7.10.3 - -- Drop GHC < 7.10 to be able to use the ubuntu-20.04 buildpack - -- 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.20, - hashable >= 1.1.2.0 && < 1.5, - 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, - 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 73f2810..05d6344 100644 --- a/ghc-async.changes +++ b/ghc-async.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Nov 21 08:08:04 UTC 2023 - Peter Simons + +- Update async to version 2.2.5. + ## Changes in 2.2.5 + + - #117: Document that empty for Concurrently waits forever + - #120: Add ConcurrentlyE. + - #123: Fix failing concurrentlyE tests in older GHCs. + - #124: Allow hashable 1.4 + - #126: Semigroup and Monoid instances for ConcurrentlyE + - #120: Add ConcurrentlyE + - #138: expose internals as Control.Concurrent.Async.Internal + - #131: Fix typos in docs + - #132: waitAny(Catch): clarify non-empty input list requirement + - #142: Add cancelMany + - #135, #145, #150: Support for GHC 9.4, 9.6, 9.8 + - Document that empty for Concurrently waits forever. + ------------------------------------------------------------------- Tue Oct 10 13:31:03 UTC 2023 - Peter Simons diff --git a/ghc-async.spec b/ghc-async.spec index 773f235..1276110 100644 --- a/ghc-async.spec +++ b/ghc-async.spec @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.2.4 +Version: 2.2.5 Release: 0 Summary: Run IO operations asynchronously and wait for their results 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/4.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof @@ -88,7 +87,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build