Permalink
Browse files

hpasteit 0.3.3 bump

  • Loading branch information...
1 parent 15939d3 commit 875bf4372c4bd0c695056c704ed4ab7ee8e57740 @qnikst qnikst committed Mar 12, 2013
@@ -1 +1 @@
-DIST hpasteit-0.3.2.tar.gz 5035 SHA256 e96acc6b180f8243bcdd70b4ed932dffcd4cd17c4fa0ed59a7fc69cf17a38be3 SHA512 7ebe02cad4ee63c8fed64ef72b769561a630267998849b88dd7e3cfa5f70ee05ef6006269326cf29e94d05dca52d7c782b73ebf9d1a7f02d6b9ac909d51adbaa WHIRLPOOL ab18a2d60ae5ded00625bfc3c25d3d69ddfffedc5882a37b86b5b779f08890d74baa3bba84cab23689265c74cbd52571ee8c647a5d7d590a5725051bd89e9f3d
+DIST hpasteit-0.3.3.tar.gz 5098 SHA256 95abf4cfa363118ca603296e671029b146b5bdaa32393ea353562a7b5fc045ca SHA512 1c66a125ba806d352af840a66114721a14127fa99d3dd7e4df77092293985136f4231e4fbf2a6bc2996342ec3f719f56aea19b620f9b076ad17bac89568b9bb6 WHIRLPOOL 1c2446526f97624018f4e8bfb2249caab49d04b1cf7fc34752965b184a84c8c05a080cf33186df2ac296f3c7de9771295bd4dbc21418c58878dd978c1a8beb75
@@ -1,34 +0,0 @@
-diff --git a/HPasteIt.hs b/HPasteIt.hs
-index 5b13664..bde6200 100644
---- a/HPasteIt.hs
-+++ b/HPasteIt.hs
-@@ -1,4 +1,4 @@
--{-# LANGUAGE OverloadedStrings #-}
-+{-# LANGUAGE OverloadedStrings, CPP #-}
- module Main (main) where
-
- import ProgOpts (ProgOpts(..), parseOpts)
-@@ -93,7 +93,11 @@ realMain PasteOpts
-
- case res of
- -- An exception is thrown if the server issues a redirect.
-+#if MIN_VERSION_http_conduit(1,9,0)
-+ Left (StatusCodeException (Status 302 _) hdrs _)
-+#else
- Left (StatusCodeException (Status 302 _) hdrs)
-+#endif
- | Just loc <- lookup "Location" hdrs -> do
-
- putStrLn ("http://hpaste.org" ++ BS.unpack loc)
-@@ -120,7 +124,11 @@ realMain ViewOpts
- httpLbs (rq { redirectCount = 0, responseTimeout = Just 60000000 }) man
-
- case res of
-+#if MIN_VERSION_http_conduit(1,9,0)
-+ Left (StatusCodeException (Status 302 _) hdrs _)
-+#else
- Left (StatusCodeException (Status 302 _) hdrs)
-+#endif
- | Just "/" <- lookup "Location" hdrs -> do
-
- hPutStrLn stderr $
@@ -21,20 +21,11 @@ IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
- >=dev-haskell/http-conduit-1.9
- <dev-haskell/http-conduit-2.0
- >=dev-haskell/http-types-0.7
- <dev-haskell/http-types-0.9
+ =dev-haskell/http-conduit-1.9*
+ =dev-haskell/http-types-0.8*
=dev-haskell/lifted-base-0.2*
=dev-haskell/network-2.4*
=dev-haskell/optparse-applicative-0.5*
=dev-haskell/safe-0.3*
=dev-haskell/utf8-string-0.3*
>=dev-lang/ghc-7.6.1"
-
-src_prepare() {
- cabal_chdeps \
- 'http-conduit ==1.8.*' 'http-conduit >=1.8 && < 2.0' \
- 'http-types ==0.7.*' 'http-types >=0.7 && <0.9'
- epatch "${FILESDIR}"/${P}-conduit.patch
-}

0 comments on commit 875bf43

Please sign in to comment.