Accepting request 987116 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/987116 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-xml-conduit?expand=0&rev=9
This commit is contained in:
commit
d680e1a585
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 22 09:54:16 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update xml-conduit to version 1.9.1.1 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 16 11:05:14 UTC 2021 - psimons@suse.com
|
Fri Apr 16 11:05:14 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-xml-conduit
|
# spec file for package ghc-xml-conduit
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,6 +25,7 @@ Summary: Pure-Haskell utilities for dealing with XML with the conduit pac
|
|||||||
License: MIT
|
License: MIT
|
||||||
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-attoparsec-devel
|
BuildRequires: ghc-attoparsec-devel
|
||||||
BuildRequires: ghc-blaze-html-devel
|
BuildRequires: ghc-blaze-html-devel
|
||||||
@ -64,6 +65,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
|
||||||
|
79
xml-conduit.cabal
Normal file
79
xml-conduit.cabal
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
cabal-version: >= 1.14
|
||||||
|
|
||||||
|
name: xml-conduit
|
||||||
|
version: 1.9.1.1
|
||||||
|
x-revision: 1
|
||||||
|
license: MIT
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Michael Snoyman <michael@snoyman.com>, Aristid Breitkreuz <aristidb@googlemail.com>
|
||||||
|
maintainer: Michael Snoyman <michael@snoyman.com>
|
||||||
|
synopsis: Pure-Haskell utilities for dealing with XML with the conduit package.
|
||||||
|
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/xml-conduit>.
|
||||||
|
category: XML, Conduit
|
||||||
|
stability: Stable
|
||||||
|
build-type: Custom
|
||||||
|
homepage: http://github.com/snoyberg/xml
|
||||||
|
extra-source-files: README.md
|
||||||
|
ChangeLog.md
|
||||||
|
tested-with: GHC >=8.0 && <8.12
|
||||||
|
|
||||||
|
custom-setup
|
||||||
|
setup-depends: base >= 4 && <5, Cabal, cabal-doctest >= 1 && <1.1
|
||||||
|
|
||||||
|
library
|
||||||
|
build-depends: base >= 4 && < 5
|
||||||
|
, conduit >= 1.3 && < 1.4
|
||||||
|
, conduit-extra >= 1.3 && < 1.4
|
||||||
|
, resourcet >= 1.2 && < 1.3
|
||||||
|
, bytestring >= 0.10.2
|
||||||
|
, text >= 0.7
|
||||||
|
, containers >= 0.2
|
||||||
|
, xml-types >= 0.3.4 && < 0.4
|
||||||
|
, attoparsec >= 0.10
|
||||||
|
, transformers >= 0.2 && < 0.7
|
||||||
|
, data-default-class
|
||||||
|
, blaze-markup >= 0.5
|
||||||
|
, blaze-html >= 0.5
|
||||||
|
, deepseq >= 1.1.0.0
|
||||||
|
exposed-modules: Text.XML.Stream.Parse
|
||||||
|
Text.XML.Stream.Render
|
||||||
|
Text.XML.Unresolved
|
||||||
|
Text.XML.Cursor
|
||||||
|
Text.XML.Cursor.Generic
|
||||||
|
Text.XML
|
||||||
|
other-modules: Text.XML.Stream.Token
|
||||||
|
ghc-options: -Wall
|
||||||
|
hs-source-dirs: src
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite unit
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: unit.hs
|
||||||
|
hs-source-dirs: test
|
||||||
|
build-depends: base
|
||||||
|
, containers
|
||||||
|
, text
|
||||||
|
, transformers
|
||||||
|
, bytestring
|
||||||
|
, xml-conduit
|
||||||
|
, hspec >= 1.3
|
||||||
|
, HUnit
|
||||||
|
, xml-types >= 0.3.1
|
||||||
|
, conduit
|
||||||
|
, conduit-extra
|
||||||
|
, blaze-markup
|
||||||
|
, resourcet
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite doctest
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: doctest.hs
|
||||||
|
hs-source-dirs: test
|
||||||
|
build-depends: base
|
||||||
|
, doctest >= 0.8
|
||||||
|
, xml-conduit
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/snoyberg/xml.git
|
Loading…
x
Reference in New Issue
Block a user