rss 3000.2.0.3 → 3000.2.0.4
raw patch · 2 files changed
+29/−2 lines, 2 filesdep +network-uridep ~networkdep ~time
Dependencies added: network-uri
Dependency ranges changed: network, time
Files
- Text/RSS.hs +4/−0
- rss.cabal +25/−2
Text/RSS.hs view
@@ -58,7 +58,11 @@ import Network.URI (URI) +#if MIN_VERSION_time(1,5,0)+import Data.Time.Format(defaultTimeLocale, rfc822DateFormat)+#else import System.Locale (defaultTimeLocale, rfc822DateFormat)+#endif import Data.Time.Clock (UTCTime) import Data.Time.Format (formatTime)
rss.cabal view
@@ -1,5 +1,5 @@ Name: rss-Version: 3000.2.0.3+Version: 3000.2.0.4 Cabal-version: >=1.6 Build-type: Simple Copyright: Jeremy Shaw 2004, Bjorn Bringert 2004-2006@@ -18,11 +18,34 @@ Type: git Location: git://github.com/basvandijk/rss.git +flag old-locale+ description: If false then depend on time >= 1.5.+ .+ If true then depend on time < 1.5 together with old-locale.+ default: False++flag network-uri+ description: Get Network.URI from the network-uri package+ default: True+ Library build-depends: base >= 3 && < 5- , network >= 2.0 && < 2.6 , HaXml >= 1.24 , time >= 1.1.2 && < 1.5 , old-locale >= 1.0 && < 1.1++ if flag(old-locale)+ build-depends: time >= 1.1.2 && < 1.5+ , old-locale >= 1.0 && < 1.1+ else+ build-depends: time >= 1.5 && < 1.6++ if flag(network-uri)+ build-depends: network-uri >= 2.6 && < 2.7+ , network >= 2.6 && < 2.7+ else+ build-depends: network-uri >= 2.5 && < 2.6+ , network >= 2.0 && < 2.6+ Exposed-Modules: Text.RSS ghc-options: -Wall