forked from pool/ghc-feed
Accepting request 901451 from devel:languages:haskell
automated update of haskell stack OBS-URL: https://build.opensuse.org/request/show/901451 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-feed?expand=0&rev=6
This commit is contained in:
commit
b3bb31d5f2
162
feed.cabal
Normal file
162
feed.cabal
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
name: feed
|
||||||
|
version: 1.3.2.0
|
||||||
|
x-revision: 1
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
category: Text
|
||||||
|
synopsis: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.
|
||||||
|
description: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.
|
||||||
|
.
|
||||||
|
To help working with the multiple feed formats we've
|
||||||
|
ended up with, this set of modules provides parsers,
|
||||||
|
pretty printers and some utility code for querying
|
||||||
|
and just generally working with a concrete representation
|
||||||
|
of feeds in Haskell.
|
||||||
|
.
|
||||||
|
See here for an example of how to create an Atom feed:
|
||||||
|
<https://github.com/bergmark/feed/blob/master/tests/Example/CreateAtom.hs>
|
||||||
|
.
|
||||||
|
For basic reading and editing of feeds, consult
|
||||||
|
the documentation of the Text.Feed.* hierarchy.
|
||||||
|
author: Sigbjorn Finne <sof@forkIO.com>
|
||||||
|
maintainer: Adam Bergmark <adam@bergmark.nl>
|
||||||
|
homepage: https://github.com/bergmark/feed
|
||||||
|
bug-reports: https://github.com/bergmark/feed/issues
|
||||||
|
cabal-version: 2.0
|
||||||
|
build-type: Simple
|
||||||
|
tested-with:
|
||||||
|
GHC == 7.6.3
|
||||||
|
, GHC == 7.8.4
|
||||||
|
, GHC == 7.10.3
|
||||||
|
, GHC == 8.0.2
|
||||||
|
, GHC == 8.2.2
|
||||||
|
, GHC == 8.4.4
|
||||||
|
, GHC == 8.6.5
|
||||||
|
, GHC == 8.8.1
|
||||||
|
, GHC == 8.10.1
|
||||||
|
data-files:
|
||||||
|
tests/files/*.xml
|
||||||
|
extra-source-files:
|
||||||
|
README.md
|
||||||
|
CHANGELOG.md
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/bergmark/feed.git
|
||||||
|
|
||||||
|
library
|
||||||
|
ghc-options: -Wall
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
default-extensions:
|
||||||
|
NoImplicitPrelude
|
||||||
|
OverloadedStrings
|
||||||
|
exposed-modules:
|
||||||
|
Text.Atom.Feed
|
||||||
|
Text.Atom.Feed.Export
|
||||||
|
Text.Atom.Feed.Import
|
||||||
|
Text.Atom.Feed.Link
|
||||||
|
Text.Atom.Feed.Validate
|
||||||
|
Text.Atom.Pub
|
||||||
|
Text.Atom.Pub.Export
|
||||||
|
Text.DublinCore.Types
|
||||||
|
Text.Feed.Constructor
|
||||||
|
Text.Feed.Export
|
||||||
|
Text.Feed.Import
|
||||||
|
Text.Feed.Query
|
||||||
|
Text.Feed.Translate
|
||||||
|
Text.Feed.Types
|
||||||
|
Text.Feed.Util
|
||||||
|
Text.RSS.Export
|
||||||
|
Text.RSS.Import
|
||||||
|
Text.RSS.Syntax
|
||||||
|
Text.RSS1.Export
|
||||||
|
Text.RSS1.Import
|
||||||
|
Text.RSS1.Syntax
|
||||||
|
Text.RSS1.Utils
|
||||||
|
other-modules:
|
||||||
|
Data.Text.Util
|
||||||
|
Data.XML.Compat
|
||||||
|
build-depends:
|
||||||
|
base >= 4 && < 4.16
|
||||||
|
, base-compat >= 0.9 && < 0.12
|
||||||
|
, bytestring >= 0.9 && < 0.12
|
||||||
|
, old-locale == 1.0.*
|
||||||
|
, old-time >= 1 && < 1.2
|
||||||
|
, safe == 0.3.*
|
||||||
|
, text < 1.3
|
||||||
|
, time < 1.12
|
||||||
|
, time-locale-compat == 0.1.*
|
||||||
|
, utf8-string < 1.1
|
||||||
|
, xml-types >= 0.3.6 && < 0.4
|
||||||
|
, xml-conduit >= 1.3 && < 1.10
|
||||||
|
|
||||||
|
test-suite tests
|
||||||
|
ghc-options: -Wall
|
||||||
|
hs-source-dirs: tests
|
||||||
|
main-is: Main.hs
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
default-language: Haskell2010
|
||||||
|
default-extensions:
|
||||||
|
NoImplicitPrelude
|
||||||
|
OverloadedStrings
|
||||||
|
autogen-modules:
|
||||||
|
Paths_feed
|
||||||
|
other-modules:
|
||||||
|
Paths_feed
|
||||||
|
Example
|
||||||
|
Example.CreateAtom
|
||||||
|
ImportExport
|
||||||
|
Text.Atom.Tests
|
||||||
|
Text.Atom.Validate.Tests
|
||||||
|
Text.Feed.Util.Tests
|
||||||
|
Text.RSS.Equals
|
||||||
|
Text.RSS.Export.Tests
|
||||||
|
Text.RSS.Import.Tests
|
||||||
|
Text.RSS.Tests
|
||||||
|
Text.RSS.Utils
|
||||||
|
build-depends:
|
||||||
|
base >= 4.6 && < 4.16
|
||||||
|
, base-compat >= 0.9 && < 0.12
|
||||||
|
, HUnit >= 1.2 && < 1.7
|
||||||
|
, feed
|
||||||
|
, old-time >= 1 && < 1.2
|
||||||
|
, syb
|
||||||
|
, test-framework == 0.8.*
|
||||||
|
, test-framework-hunit == 0.3.*
|
||||||
|
, text < 1.3
|
||||||
|
, time < 1.12
|
||||||
|
, xml-types >= 0.3.6 && < 0.4
|
||||||
|
, xml-conduit >= 1.3 && < 1.10
|
||||||
|
|
||||||
|
test-suite readme
|
||||||
|
ghc-options: -Wall -pgmL markdown-unlit
|
||||||
|
main-is: README.lhs
|
||||||
|
default-language: Haskell2010
|
||||||
|
default-extensions:
|
||||||
|
NoImplicitPrelude
|
||||||
|
OverloadedStrings
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
build-depends:
|
||||||
|
base >= 4.6
|
||||||
|
, base-compat >= 0.9 && < 0.12
|
||||||
|
, text
|
||||||
|
, feed
|
||||||
|
, xml-conduit
|
||||||
|
, xml-types
|
||||||
|
build-tool-depends:
|
||||||
|
markdown-unlit:markdown-unlit >= 0.4 && < 0.6
|
||||||
|
|
||||||
|
test-suite readme-doctests
|
||||||
|
hs-source-dirs: tests
|
||||||
|
main-is: doctest-driver.hs
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
default-language: Haskell2010
|
||||||
|
build-depends:
|
||||||
|
base >= 4.6
|
||||||
|
, doctest
|
||||||
|
, doctest-driver-gen
|
||||||
|
, feed
|
||||||
|
build-tool-depends:
|
||||||
|
markdown-unlit:markdown-unlit >= 0.4 && < 0.6
|
||||||
|
, doctest-driver-gen:doctest-driver-gen
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 8 10:49:59 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update feed to version 1.3.2.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 11 08:23:38 UTC 2021 - psimons@suse.com
|
Thu Mar 11 08:23:38 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Summary: Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-base-compat-devel
|
BuildRequires: ghc-base-compat-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
@ -73,6 +74,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user