From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-haskell/lifted-async/Manifest | 14 +++++ .../lifted-async-0.2.0.2-monad-control-1.1.patch | 69 ++++++++++++++++++++++ .../lifted-async/lifted-async-0.2.0.2-r1.ebuild | 36 +++++++++++ .../lifted-async/lifted-async-0.6.0.1.ebuild | 40 +++++++++++++ .../lifted-async/lifted-async-0.7.0.2.ebuild | 40 +++++++++++++ .../lifted-async/lifted-async-0.8.0.1-r1.ebuild | 40 +++++++++++++ .../lifted-async/lifted-async-0.9.1.1-r1.ebuild | 40 +++++++++++++ dev-haskell/lifted-async/metadata.xml | 18 ++++++ 8 files changed, 297 insertions(+) create mode 100644 dev-haskell/lifted-async/Manifest create mode 100644 dev-haskell/lifted-async/files/lifted-async-0.2.0.2-monad-control-1.1.patch create mode 100644 dev-haskell/lifted-async/lifted-async-0.2.0.2-r1.ebuild create mode 100644 dev-haskell/lifted-async/lifted-async-0.6.0.1.ebuild create mode 100644 dev-haskell/lifted-async/lifted-async-0.7.0.2.ebuild create mode 100644 dev-haskell/lifted-async/lifted-async-0.8.0.1-r1.ebuild create mode 100644 dev-haskell/lifted-async/lifted-async-0.9.1.1-r1.ebuild create mode 100644 dev-haskell/lifted-async/metadata.xml (limited to 'dev-haskell/lifted-async') diff --git a/dev-haskell/lifted-async/Manifest b/dev-haskell/lifted-async/Manifest new file mode 100644 index 000000000000..3ce2722ef459 --- /dev/null +++ b/dev-haskell/lifted-async/Manifest @@ -0,0 +1,14 @@ +AUX lifted-async-0.2.0.2-monad-control-1.1.patch 2298 SHA256 c1f16daf0a231f7a4eac0edeef325cab3ce17eff26d3656ddd4b5e28b40ae8c5 SHA512 fbcd9e1c4dc34162fa928f4a528b16cc58d6b3a86ac3aea82dd33f448e5869a8d48add1c5b6c574dd588be6e68285fae98fccd8520adbc2e782210d70b4a8618 WHIRLPOOL fbf1189097217e73b82bb38ab7c6d92fe15611c74d31d373f6dd54059d774df680357d6c2a25a98e947a13322096e5972153acdadcf0e97e1be4b2bf7dfcd538 +DIST lifted-async-0.2.0.2.tar.gz 6907 SHA256 ee512dc63f21cc212db1a85f5acc49a96b6400f85012ed6fe68ede4e477b581f SHA512 a69e3f93c33ca76889afd894fcadb3f0d53fae05ff47bdbaa5d164deb756c60f7282671bdfa14d092b0a985f5cdf30746fcf847241aeda08be553f7c8d90bce3 WHIRLPOOL 6801186706e9b2746cb7928af21d494e353b6342e942dcee0ae9ac8b72fb3719c916842510400c9c8aed495062189b0256b842f205903dcd9f065e009fc3bc13 +DIST lifted-async-0.6.0.1.tar.gz 8871 SHA256 aeeacd800a604c6a239b3bb0219ef23397b01c7e22e016aae9d21a41f58a0b8b SHA512 afa436919bf50a343739ec9ca1e492cdac037df1e286812e77089c939303ce00a0f8681303eb41ea476df5d4013be6ef45c63c161ab0fa92b0ced4a0c4e57120 WHIRLPOOL 7ac3572cc38eb681972536f0aa98a3f061484967923b2ff64cd5bdb1ff3ce48ca34cb13a2ae75a492f5e5ef1a516cb760a7f5cedb54bad04cf9cc422adfad265 +DIST lifted-async-0.7.0.2.tar.gz 9096 SHA256 0e8a97500b5cb387c711e8dc0db27a07b61d21d610ba8aebf4cae5f92920b7ac SHA512 7dcbc10d0e5c055b3b1d3f4a2a69304b2b66413cb0ba99d1abb03f067b6f898b1aa0d9ed9deae0016fd1198717c048b8ba5b40e60ce3c1bf888c876dca15a222 WHIRLPOOL 3672afeee185e184715f61629296521c690c3452e6a82695c5a417a75b585d713cca85fc971341b9b3908e00f666306d0ebbeb17f15525e01124cc9487322e68 +DIST lifted-async-0.8.0.1.tar.gz 9453 SHA256 ef8ca870155abb93e4ce742c46606ac59ab031ed86da31c75a6179c62be5f9bf SHA512 529a8c2c88f6277f5618d89f62d99318c9ae059c650f40e6cbc61f70621f073a10fff0ce3f27936d71a0dcd222afdbfa58d0922ae45075753d74c3e7bab5bcfa WHIRLPOOL 6b74cfda16fbe9c77e8a766ddbe026a1431402d67330224069459289d78f83107eaaaa4f11292520eee0a190b034cf44c3fe3dfcec0e8abd649bffa5268a3d1b +DIST lifted-async-0.9.1.1.tar.gz 10077 SHA256 31ac44b834723c9b9d40a319135a712802f2690d700df283d0a380fcd8d48e40 SHA512 c8e3d3e6bcfb361b5fe1bd948d21f8d2087e18b2f035557564e94fb444fae64baf0302d3938c5ca31f8a68a2fd5e7fb1389f1a318c3a2b447facee823511b5ad WHIRLPOOL 4951eae1fe6a37368d0c93237144284bf8638f8a799ff02ef5af163de85c819e1b105451f40073c897cd4f7d6ae2dc423e5be255b5f3bdf880dd25b51752baa0 +EBUILD lifted-async-0.2.0.2-r1.ebuild 1055 SHA256 d37c86f6e3c8cba7b7b6a9777945c2844fef58608cf774048d8abec68d6b30ef SHA512 ebd452a22f4e6ed488e55f306aa6db0f45c4de419f77103aa2a4a19c7ccebb89194932f4651fd94270bab40f5e8fe77f8f4332b53716505e72d3b29c4c9e43a5 WHIRLPOOL 8aaf4b5fa4f936f90b724693887b774a725304c65b3fb99ad965ebac72e7a119994ffdf1209321c59a12fc3769bc5c85daa6a837d90bdc64519b84e74db9842b +EBUILD lifted-async-0.6.0.1.ebuild 1404 SHA256 0c64d6856e7cdd1655393f59b9dc712ef983f44931f9fa889f8e9019466482aa SHA512 abb692a5490f5039aa276c9a5fb588d51929d21bf37040e5e3826e85b111abbac249c7acfaf0e9a232167826ace76ff514654bdfeee44267d3e229645e508935 WHIRLPOOL b3a9af7ee4d632c170c2d001c7892db33b6dea8d634793aad69eb74a445bdf2d3e85e468e7b7a2a53cc668cd6e6609d262b7b4e96d4ee54dcd1d2626fb6029e2 +EBUILD lifted-async-0.7.0.2.ebuild 1409 SHA256 3aa6537c627c29cd303a56bea767fb988542a5555c0f891d8210aa4491e0d8b3 SHA512 f54be1a81aa528536d12dfe42444cd2c00d5ca694f0011844f4aeaefbf9d02c79927d369d4ee4080f37efd7677336cb912803147968656632c1d635ecbd0f69e WHIRLPOOL fb7ba4908bc0cc2351bf7f5bbb15a778a71edf39726523c54816e38f787930703a1e57cfbc206bf92a24c9ccbb288c6a708780d4ff08b3b152fa13f858360619 +EBUILD lifted-async-0.8.0.1-r1.ebuild 1366 SHA256 4a1e318ad5c84277533826ddc8255d8e6990609363b44a997258c5000649f2f4 SHA512 cc1dcb71a8892d4870c1ba82523f6cdfed0b5bec85a4341aac964f9f20634cc60046e132080b5d1b696bbacdfbf1eedf52639f919212630afdaaa6d7503aa72e WHIRLPOOL 941c07b8743950160d867ec1e428a8183399e20318b897d6a42a95b2155e57bef3713664ee1115575faedc17dfddac08d77d2bd51b626f1ac1384e642b1197c4 +EBUILD lifted-async-0.9.1.1-r1.ebuild 1410 SHA256 17c9bfc0899746e13dfbf252d39a6f66d356267d52339889e12300dc21419534 SHA512 9e8e45580c851f576510e88f7b7a95ac9d97e89e51530c29bb34f4d294e92ccbfb2ca1730e4cc0c3088c27eeecbfa0e88d43032e8830567b6ee248196f773da5 WHIRLPOOL 00b50393ca15860d08d992f6bf6166925795479211c69c7993424a0472e5a2436e91c28471064eeb8ec2769db2f0ab7380f0322aedea150ba54f8224de3fea59 +MISC ChangeLog 3489 SHA256 55362e5c22ca433333df1730426fe7452b32db94a3fb8a6edbf2d62aab25007e SHA512 ce22ab9aa5f54e983f1c36c2681828f0f51f91c46ddbe8d482eda6cc9eea472aa1e15e67cb8f5606abb2bfe7eff3a476c4d027a56dcb7e3b9fd565b92c19ea1d WHIRLPOOL 1e16c6a3ff80d8b486a252fd01170ff3b3047465e96bc50d79bff02d4a748127bbe943eee0e015abb54867803da837c9ee5f57642ae7a5c74f4092dbcecb073d +MISC ChangeLog-2015 1330 SHA256 b74b49cc03a605df84f35f89ce3d69043e967c273888a5875308e5235ba7d6f7 SHA512 f008344327ab7a75fa03d5062f4f9609927dcea96bf68a9c67d8b37070b42e310d517b0e45ec6ac7afbdbf3f8f239019be1003d7cc3befe9f3721bb113448a8e WHIRLPOOL bf87cad8cc0eb9dfb13d9cdf9338f8ed4b3093813d0754abb9d007b0cf6f139089eff220caf198474355448b31d13c472226b12dabc16f55de8333327c5809f4 +MISC metadata.xml 570 SHA256 7e803c5eeb465814ad666eed1a7d1d9dd0572f8d61a8fca85c4b6417d786f305 SHA512 3ac2ac2a66816f8bcd8caa84499255edb7995bc0a8f58fa28e5aca88a36b7cbd4b87e6981632a2706bdea09b1c52252a6b98ca7bf60cf9895ec1dd3a692de0c3 WHIRLPOOL f60b4d3e946a2001560ca8b0cdc31887fac1284a8ab14876ec4b338ef1dc68faf246abf07e66946c31732c51e681c4548b065f80ecd847711043557121ea19fc 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 +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 + + + + haskell@gentoo.org + Gentoo Haskell + + + This package provides IO operations from @async@ package lifted to any + instance of 'MonadBase' or 'MonadBaseControl'. + + + Use moand-control == 1.* + + + maoe/lifted-async + + -- cgit v1.2.3