summaryrefslogtreecommitdiff
path: root/dev-haskell/lifted-async
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/lifted-async
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/lifted-async')
-rw-r--r--dev-haskell/lifted-async/Manifest12
-rw-r--r--dev-haskell/lifted-async/files/lifted-async-0.2.0.2-monad-control-1.1.patch69
-rw-r--r--dev-haskell/lifted-async/lifted-async-0.2.0.2-r1.ebuild36
-rw-r--r--dev-haskell/lifted-async/lifted-async-0.6.0.1.ebuild40
-rw-r--r--dev-haskell/lifted-async/lifted-async-0.7.0.2.ebuild40
-rw-r--r--dev-haskell/lifted-async/lifted-async-0.8.0.1-r1.ebuild40
-rw-r--r--dev-haskell/lifted-async/lifted-async-0.9.1.1-r1.ebuild40
-rw-r--r--dev-haskell/lifted-async/metadata.xml18
8 files changed, 295 insertions, 0 deletions
diff --git a/dev-haskell/lifted-async/Manifest b/dev-haskell/lifted-async/Manifest
new file mode 100644
index 000000000000..d1803c6a39fb
--- /dev/null
+++ b/dev-haskell/lifted-async/Manifest
@@ -0,0 +1,12 @@
+AUX lifted-async-0.2.0.2-monad-control-1.1.patch 2298 BLAKE2B 3a76cec4560fb618f7d68568d668e6baa8ed555befbfb9f0e778c9a2911b6a86d835ede634654e7665d292e23155e2234b6d5bd09c384cac4f66c3daa4d2aea3 SHA512 fbcd9e1c4dc34162fa928f4a528b16cc58d6b3a86ac3aea82dd33f448e5869a8d48add1c5b6c574dd588be6e68285fae98fccd8520adbc2e782210d70b4a8618
+DIST lifted-async-0.2.0.2.tar.gz 6907 BLAKE2B da3f85064197fe4dae8f54f28d040d05d4acb9d3bbc638d32af61edf0e361ad9b9398d858d808e8264caace4e88754aa75dab32fa60ae0837f8d9619f7dbf14b SHA512 a69e3f93c33ca76889afd894fcadb3f0d53fae05ff47bdbaa5d164deb756c60f7282671bdfa14d092b0a985f5cdf30746fcf847241aeda08be553f7c8d90bce3
+DIST lifted-async-0.6.0.1.tar.gz 8871 BLAKE2B d4629501d4696487a703b08216afd2baba298b100a4c1664e0dc43d29642b1b52fbf817a3582e3d9124d9bbfe896c18f399fa19877e10bad939941127ab9bc4b SHA512 afa436919bf50a343739ec9ca1e492cdac037df1e286812e77089c939303ce00a0f8681303eb41ea476df5d4013be6ef45c63c161ab0fa92b0ced4a0c4e57120
+DIST lifted-async-0.7.0.2.tar.gz 9096 BLAKE2B 48203cf7fb41108a37b236c827e5fcb623e3bd82b43df7a1ee6f8e47363bfcb08a8feb9c5908471e84df0cbb83480a2e1fb4fb4a94e906f8a63d71480a1601f0 SHA512 7dcbc10d0e5c055b3b1d3f4a2a69304b2b66413cb0ba99d1abb03f067b6f898b1aa0d9ed9deae0016fd1198717c048b8ba5b40e60ce3c1bf888c876dca15a222
+DIST lifted-async-0.8.0.1.tar.gz 9453 BLAKE2B f74d017f8afd51f08e48225b590d6b88899429214cc0a33fcac2bc5e1e67524d43e7d78830ff0be9258dbb333069331b18850968d1b896cd26abdf66943a472b SHA512 529a8c2c88f6277f5618d89f62d99318c9ae059c650f40e6cbc61f70621f073a10fff0ce3f27936d71a0dcd222afdbfa58d0922ae45075753d74c3e7bab5bcfa
+DIST lifted-async-0.9.1.1.tar.gz 10077 BLAKE2B 13132800149f014add45245ef3a2988fab4e1609b5f0cf05284d73f584e0a541d7eccc8e7a6ce5117fc374ab2c4c123adc9bc6fbdb52a5fc2662913b986a54f1 SHA512 c8e3d3e6bcfb361b5fe1bd948d21f8d2087e18b2f035557564e94fb444fae64baf0302d3938c5ca31f8a68a2fd5e7fb1389f1a318c3a2b447facee823511b5ad
+EBUILD lifted-async-0.2.0.2-r1.ebuild 1055 BLAKE2B 80908b8aecce7af8ac55b258a5fc788de6c0baab5879d2c220607ffa63eed6aebb4b54f168e575ff20a06c9d6ef4b7db9a39e63dc094e180a3ae54bc4fa34225 SHA512 ebd452a22f4e6ed488e55f306aa6db0f45c4de419f77103aa2a4a19c7ccebb89194932f4651fd94270bab40f5e8fe77f8f4332b53716505e72d3b29c4c9e43a5
+EBUILD lifted-async-0.6.0.1.ebuild 1404 BLAKE2B 231b90e53da46c003f8db491ee05b13923c3c47cd65d017d5ca30d26eb3d484534cf805f0ad9686d504e1e90e0921ede5b1cc44826e3dab6f4da2cea63aa5b2a SHA512 abb692a5490f5039aa276c9a5fb588d51929d21bf37040e5e3826e85b111abbac249c7acfaf0e9a232167826ace76ff514654bdfeee44267d3e229645e508935
+EBUILD lifted-async-0.7.0.2.ebuild 1409 BLAKE2B c2dfccc4c34c89756af1601fb835bd6fd6b5f34381ff131385ccbf7b2a441c0fbd5cc4a4967849ac532458b21f7658b0b9560e9d2f07e2f7533e23c035fec582 SHA512 f54be1a81aa528536d12dfe42444cd2c00d5ca694f0011844f4aeaefbf9d02c79927d369d4ee4080f37efd7677336cb912803147968656632c1d635ecbd0f69e
+EBUILD lifted-async-0.8.0.1-r1.ebuild 1366 BLAKE2B 974ebdbf385d0c8595cdc41815e9256fc4f9e66df93a217f8e6eb1724282a6bdb3f85be4d4926e58cfc8d0ab6fc91487416baf9e0bf6a1beea4b7afce1a999d4 SHA512 cc1dcb71a8892d4870c1ba82523f6cdfed0b5bec85a4341aac964f9f20634cc60046e132080b5d1b696bbacdfbf1eedf52639f919212630afdaaa6d7503aa72e
+EBUILD lifted-async-0.9.1.1-r1.ebuild 1410 BLAKE2B 683db3f1d31d87d27ffb5043b0b6bb3fa98b857b05e04e213718ffbc277e99cefa83c0b135f81159aa482c038416fb8da83cbf33fc99d0384eda14374cd62727 SHA512 9e8e45580c851f576510e88f7b7a95ac9d97e89e51530c29bb34f4d294e92ccbfb2ca1730e4cc0c3088c27eeecbfa0e88d43032e8830567b6ee248196f773da5
+MISC metadata.xml 570 BLAKE2B 93b0c1bf5eeb84c781fed4f7818ea6f14a0100145d795acb37f99bfea839d6127c20d314b801671145f168712b25c86a9c6ad8826cc6d2524c229cba7872460a SHA512 3ac2ac2a66816f8bcd8caa84499255edb7995bc0a8f58fa28e5aca88a36b7cbd4b87e6981632a2706bdea09b1c52252a6b98ca7bf60cf9895ec1dd3a692de0c3
diff --git a/dev-haskell/lifted-async/files/lifted-async-0.2.0.2-monad-control-1.1.patch b/dev-haskell/lifted-async/files/lifted-async-0.2.0.2-monad-control-1.1.patch
new file mode 100644
index 000000000000..970d9842f770
--- /dev/null
+++ b/dev-haskell/lifted-async/files/lifted-async-0.2.0.2-monad-control-1.1.patch
@@ -0,0 +1,69 @@
+commit 448176aa98e03a31121501af004d8159e92b2f66
+Author: Roman Cheplyaka <roma@ro-che.info>
+Date: Tue Dec 16 12:09:52 2014 +0200
+
+ Make lifted-async build with monad-control-1.0
+
+diff --git a/src/Control/Concurrent/Async/Lifted.hs b/src/Control/Concurrent/Async/Lifted.hs
+index fa5a158..e5034c1 100644
+--- a/src/Control/Concurrent/Async/Lifted.hs
++++ b/src/Control/Concurrent/Async/Lifted.hs
+@@ -2,6 +2,7 @@
+ {-# LANGUAGE KindSignatures #-}
+ {-# LANGUAGE RankNTypes #-}
+ {-# LANGUAGE TypeFamilies #-}
++{-# LANGUAGE ScopedTypeVariables #-}
+
+ {- |
+ Module : Control.Concurrent.Async.Lifted
+@@ -47,7 +48,7 @@ module Control.Concurrent.Async.Lifted
+
+ import Control.Applicative
+ import Control.Concurrent (threadDelay)
+-import Control.Monad ((>=>), forever, liftM, void)
++import Control.Monad ((>=>), forever, liftM)
+ import Data.Traversable (Traversable(..))
+ import GHC.IO (unsafeUnmask)
+ import Prelude hiding (mapM)
+@@ -180,11 +181,11 @@ waitCatch
+ waitCatch a = liftBase (A.waitCatch a) >>= sequenceEither
+
+ -- | Generalized version of 'A.cancel'.
+-cancel :: MonadBase IO m => Async (StM m a) -> m ()
++cancel :: MonadBase IO m => Async a -> m ()
+ cancel = liftBase . A.cancel
+
+ -- | Generalized version of 'A.cancelWith'.
+-cancelWith :: (MonadBase IO m, Exception e) => Async (StM m a) -> e -> m ()
++cancelWith :: (MonadBase IO m, Exception e) => Async a -> e -> m ()
+ cancelWith = (liftBase .) . A.cancelWith
+
+ -- | Generalized version of 'A.waitAny'.
+@@ -261,10 +262,10 @@ waitEitherCatchCancel a b =
+ -- | Generalized version of 'A.waitEither_'.
+ waitEither_
+ :: MonadBaseControl IO m
+- => Async (StM m a)
+- -> Async (StM m b)
++ => Async a
++ -> Async b
+ -> m ()
+-waitEither_ = (void .) . waitEither
++waitEither_ a b = liftBase (A.waitEither_ a b)
+
+ -- | Generalized version of 'A.waitBoth'.
+ waitBoth
+@@ -280,11 +281,11 @@ waitBoth a b = do
+ {-# INLINABLE waitBoth #-}
+
+ -- | Generalized version of 'A.link'.
+-link :: MonadBase IO m => Async (StM m a) -> m ()
++link :: MonadBase IO m => Async a -> m ()
+ link = liftBase . A.link
+
+ -- | Generalized version of 'A.link2'.
+-link2 :: MonadBase IO m => Async (StM m a) -> Async (StM m b) -> m ()
++link2 :: MonadBase IO m => Async a -> Async a -> m ()
+ link2 = (liftBase .) . A.link2
+
+ -- | Generalized version of 'A.race'.
diff --git a/dev-haskell/lifted-async/lifted-async-0.2.0.2-r1.ebuild b/dev-haskell/lifted-async/lifted-async-0.2.0.2-r1.ebuild
new file mode 100644
index 000000000000..cc55f2a91d80
--- /dev/null
+++ b/dev-haskell/lifted-async/lifted-async-0.2.0.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit base haskell-cabal
+
+DESCRIPTION="Run lifted IO operations asynchronously and wait for their results"
+HOMEPAGE="https://github.com/maoe/lifted-async"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="test" # patch has a test failure: withAsync waitEither : FAIL
+
+RDEPEND=">=dev-haskell/async-2.0.1:=[profile?]
+ >=dev-haskell/lifted-base-0.2:=[profile?]
+ >=dev-haskell/monad-control-0.3.1:=[profile?]
+ >=dev-haskell/transformers-base-0.4:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl
+ dev-haskell/tasty
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10
+ dev-haskell/tasty-th )
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.2.0.2-monad-control-1.1.patch")
diff --git a/dev-haskell/lifted-async/lifted-async-0.6.0.1.ebuild b/dev-haskell/lifted-async/lifted-async-0.6.0.1.ebuild
new file mode 100644
index 000000000000..bfc2abc09626
--- /dev/null
+++ b/dev-haskell/lifted-async/lifted-async-0.6.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.3
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Run lifted IO operations asynchronously and wait for their results"
+HOMEPAGE="https://github.com/maoe/lifted-async"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+monad-control-1"
+
+RDEPEND=">=dev-haskell/async-2.0.1:=[profile?] <dev-haskell/async-2.1:=[profile?]
+ >=dev-haskell/lifted-base-0.2:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?]
+ >=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ monad-control-1? ( >=dev-haskell/constraints-0.2:=[profile?] <dev-haskell/constraints-0.5:=[profile?]
+ >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] )
+ !monad-control-1? ( >=dev-haskell/monad-control-0:=[profile?] <dev-haskell/monad-control-1:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl
+ dev-haskell/tasty
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10
+ dev-haskell/tasty-th )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag monad-control-1 monad-control-1)
+}
diff --git a/dev-haskell/lifted-async/lifted-async-0.7.0.2.ebuild b/dev-haskell/lifted-async/lifted-async-0.7.0.2.ebuild
new file mode 100644
index 000000000000..b92ba9f8833f
--- /dev/null
+++ b/dev-haskell/lifted-async/lifted-async-0.7.0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Run lifted IO operations asynchronously and wait for their results"
+HOMEPAGE="https://github.com/maoe/lifted-async"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+monad-control-1"
+
+RDEPEND=">=dev-haskell/async-2.0.1:=[profile?] <dev-haskell/async-2.1:=[profile?]
+ >=dev-haskell/lifted-base-0.2:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?]
+ >=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ monad-control-1? ( >=dev-haskell/constraints-0.2:=[profile?] <dev-haskell/constraints-0.6:=[profile?]
+ >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] )
+ !monad-control-1? ( >=dev-haskell/monad-control-0:=[profile?] <dev-haskell/monad-control-1:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl
+ dev-haskell/tasty
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10
+ dev-haskell/tasty-th )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag monad-control-1 monad-control-1)
+}
diff --git a/dev-haskell/lifted-async/lifted-async-0.8.0.1-r1.ebuild b/dev-haskell/lifted-async/lifted-async-0.8.0.1-r1.ebuild
new file mode 100644
index 000000000000..202f79a16643
--- /dev/null
+++ b/dev-haskell/lifted-async/lifted-async-0.8.0.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Run lifted IO operations asynchronously and wait for their results"
+HOMEPAGE="https://github.com/maoe/lifted-async"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="+monad-control-1"
+
+RDEPEND=">=dev-haskell/async-2.0.1:=[profile?] <dev-haskell/async-2.2:=[profile?]
+ >=dev-haskell/lifted-base-0.2:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?]
+ >=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ monad-control-1? ( >=dev-haskell/constraints-0.2:=[profile?]
+ >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] )
+ !monad-control-1? ( >=dev-haskell/monad-control-0:=[profile?] <dev-haskell/monad-control-1:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl
+ dev-haskell/tasty
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10
+ dev-haskell/tasty-th )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag monad-control-1 monad-control-1)
+}
diff --git a/dev-haskell/lifted-async/lifted-async-0.9.1.1-r1.ebuild b/dev-haskell/lifted-async/lifted-async-0.9.1.1-r1.ebuild
new file mode 100644
index 000000000000..01598835b9a7
--- /dev/null
+++ b/dev-haskell/lifted-async/lifted-async-0.9.1.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Run lifted IO operations asynchronously and wait for their results"
+HOMEPAGE="https://github.com/maoe/lifted-async"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+monad-control-1"
+
+RDEPEND=">=dev-haskell/async-2.0.1:=[profile?] <dev-haskell/async-2.2:=[profile?]
+ >=dev-haskell/lifted-base-0.2:=[profile?] <dev-haskell/lifted-base-0.3:=[profile?]
+ >=dev-haskell/transformers-base-0.4:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ monad-control-1? ( >=dev-haskell/constraints-0.2:=[profile?] <dev-haskell/constraints-0.10:=[profile?]
+ >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] )
+ !monad-control-1? ( >=dev-haskell/monad-control-0:=[profile?] <dev-haskell/monad-control-1:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl
+ dev-haskell/tasty
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.10
+ dev-haskell/tasty-th )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag monad-control-1 monad-control-1)
+}
diff --git a/dev-haskell/lifted-async/metadata.xml b/dev-haskell/lifted-async/metadata.xml
new file mode 100644
index 000000000000..7fd3c230ac1d
--- /dev/null
+++ b/dev-haskell/lifted-async/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ This package provides IO operations from @async@ package lifted to any
+ instance of 'MonadBase' or 'MonadBaseControl'.
+ </longdescription>
+ <use>
+ <flag name="monad-control-1">Use moand-control == 1.*</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">maoe/lifted-async</remote-id>
+ </upstream>
+</pkgmetadata>