cab 0.2.10 → 0.2.11
raw patch · 2 files changed
+7/−10 lines, 2 filesdep −process-conduitdep ~Cabaldep ~conduit-extra
Dependencies removed: process-conduit
Dependency ranges changed: Cabal, conduit-extra
Files
- Distribution/Cab/VerDB.hs +2/−3
- cab.cabal +5/−7
Distribution/Cab/VerDB.hs view
@@ -16,7 +16,6 @@ import Control.Arrow (second) import Control.Monad.Trans.Resource (runResourceT) import Data.Attoparsec.ByteString.Char8-import Data.Conduit import Data.Conduit.Attoparsec import Data.Conduit.Process import Data.Map (Map)@@ -42,8 +41,8 @@ script = case how of InstalledOnly -> "cabal list --installed" AllRegistered -> "cabal list"- verInfos = runResourceT $ sourceCmd script $$ cabalListParser- justOnly = map (second (toVer . fromJust)) . filter (isJust . snd)+ verInfos = runResourceT $ sourceCmdWithConsumer script cabalListParser+ justOnly = map (second (toVer . fromJust)) . filter (isJust . snd) . snd cabalListParser = sinkParser verinfos ----------------------------------------------------------------
cab.cabal view
@@ -1,5 +1,5 @@ Name: cab-Version: 0.2.10+Version: 0.2.11 Author: Kazu Yamamoto <kazu@iij.ad.jp> Maintainer: Kazu Yamamoto <kazu@iij.ad.jp> License: BSD3@@ -21,16 +21,15 @@ Default-Language: Haskell2010 GHC-Options: -Wall Build-Depends: base >= 4.0 && < 5- , Cabal+ , Cabal >= 1.18 , attoparsec >= 0.10 , bytestring , conduit >= 1.1- , conduit-extra+ , conduit-extra >= 1.1.2 , containers , directory , filepath , process- , process-conduit >= 1.1 , resourcet Exposed-Modules: Distribution.Cab Distribution.Cab.PkgDB@@ -53,12 +52,11 @@ , attoparsec >= 0.10 , bytestring , conduit >= 1.1- , conduit-extra+ , conduit-extra >= 1.1.2 , containers , directory , filepath , process- , process-conduit >= 1.1 Other-Modules: Commands Doc Help@@ -74,7 +72,7 @@ -- HS-Source-Dirs: test -- Ghc-Options: -threaded -Wall -- Main-Is: doctests.hs--- Build-Depends: base+-- Build-Depends: base >= 4.0 && < 5 -- , doctest >= 0.9.3 Source-Repository head