packages feed

rss 3000.2.0.7 → 3000.2.0.8

raw patch · 5 files changed

+46/−51 lines, 5 filesdep −networkdep −old-localedep ~basedep ~network-uridep ~timesetup-changednew-uploader

Dependencies removed: network, old-locale

Dependency ranges changed: base, network-uri, time

Files

+ CHANGELOG.md view
@@ -0,0 +1,8 @@+3000.2.0.8+----------++_Andreas Abel, 2024-03-16_++* Drop support for GHC 7.+* Remove cabal flag `old-locale`.+* Tested with GHC 8.0 - 9.10.
+ README.md view
@@ -0,0 +1,3 @@+# A Haskell library for generating RSS 2.0 feeds.++Note that this library was previously maintained by Bjorn Bringert in a [darcs repository](http://code.haskell.org/rss) before being converted into a Git repository.
− Setup.hs
@@ -1,4 +0,0 @@-#!/usr/bin/env runhaskell--import Distribution.Simple-main = defaultMain
Text/RSS.hs view
@@ -1,5 +1,3 @@-{-# LANGUAGE CPP #-}- ----------------------------------------------------------------------------- -- | -- Module      :  Text.RSS@@ -8,8 +6,8 @@ -- License     :  This code is released to the public domain and comes --                with no warranty. ----- Maintainer  :  Bas van Dijk <v.dijk.bas@gmail.com>--- Stability   :  experimental+-- Maintainer  :  Andreas Abel+-- Stability   :  stable -- Portability :  portable -- -- A libary for generating RSS 2.0 feeds.@@ -54,14 +52,8 @@  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,57 +1,53 @@-cabal-version: 1.12+cabal-version: 1.18+  -- Version 1.18 needed for extra-doc-files name: rss-version: 3000.2.0.7+version: 3000.2.0.8  build-type:  Simple copyright:   Jeremy Shaw 2004, Bjorn Bringert 2004-2006-maintainer:  hvr@gnu.org+maintainer:  https://github.com/haskell-hvr/rss author:      Jeremy Shaw, Bjorn Bringert license:     PublicDomain-homepage:    https://github.com/hvr/rss-bug-reports: https://github.com/hvr/rss/issues+homepage:    https://github.com/haskell-hvr/rss+bug-reports: https://github.com/haskell-hvr/rss/issues synopsis:    A library for generating RSS 2.0 feeds. category:    RSS description: This library allows you to generate [RSS 2.0](http://www.rssboard.org/rss-specification) feeds.-tested-with: GHC==8.6.1, GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 -source-repository head-  type:     git-  location: https://github.com/hvr/rss.git+extra-doc-files:+  README.md+  CHANGELOG.md -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+tested-with:+  GHC == 9.10.0+  GHC == 9.8.2+  GHC == 9.6.4+  GHC == 9.4.8+  GHC == 9.2.8+  GHC == 9.0.2+  GHC == 8.10.7+  GHC == 8.8.4+  GHC == 8.6.5+  GHC == 8.4.4+  GHC == 8.2.2+  GHC == 8.0.2 -flag network-uri-   description: Get "Network.URI" from the @network-uri@ package-   default: True+source-repository head+  type:     git+  location: https://github.com/haskell-hvr/rss.git  library   exposed-modules: Text.RSS    default-language: Haskell2010-  other-extensions: CPP-  if impl(ghc >= 7.2)-    default-extensions: Trustworthy+  default-extensions: Trustworthy -  build-depends: base       >= 4.3    && < 4.13-               , HaXml      >= 1.24   && < 1.26+  build-depends: base        >= 4.9    && < 5+               , HaXml       >= 1.24   && < 1.26+               , network-uri >= 2.6    && < 2.7+               , time        >= 1.5    && < 1.14 -  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.9 -  if flag(network-uri)-    build-depends: network-uri >= 2.6 && < 2.7-                 , network     >= 2.6 && < 2.9-  else-    build-depends: network-uri >= 2.5 && < 2.6-                 , network     >= 2.0 && < 2.6--  ghc-options: -Wall-  if impl(ghc >= 7.10)-    ghc-options: -fno-warn-trustworthy-safe+  ghc-options:+    -Wall+    -Wno-trustworthy-safe