Accepting request 1233188 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1233188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-attoparsec?expand=0&rev=32
This commit is contained in:
Ana Guerrero 2024-12-24 15:26:23 +00:00 committed by Git OBS Bridge
commit ea6b91674e
3 changed files with 224 additions and 218 deletions

View File

@ -1,216 +1,216 @@
cabal-version: 2.0 cabal-version: 2.0
-- 2.0 needed for internal libraries -- 2.0 needed for internal libraries
name: attoparsec name: attoparsec
version: 0.14.4 version: 0.14.4
x-revision: 5 x-revision: 6
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
category: Text, Parsing category: Text, Parsing
author: Bryan O'Sullivan <bos@serpentine.com> author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Ben Gamari <ben@smart-cactus.org> maintainer: Ben Gamari <ben@smart-cactus.org>
stability: experimental stability: experimental
synopsis: Fast combinator parsing for bytestrings and text synopsis: Fast combinator parsing for bytestrings and text
homepage: https://github.com/haskell/attoparsec homepage: https://github.com/haskell/attoparsec
bug-reports: https://github.com/haskell/attoparsec/issues bug-reports: https://github.com/haskell/attoparsec/issues
build-type: Simple build-type: Simple
description: description:
A fast parser combinator library, aimed particularly at dealing A fast parser combinator library, aimed particularly at dealing
efficiently with network protocols and complicated text/binary efficiently with network protocols and complicated text/binary
file formats. file formats.
tested-with: tested-with:
GHC == 9.8.1 GHC == 9.8.1
GHC == 9.6.3 GHC == 9.6.3
GHC == 9.4.7 GHC == 9.4.7
GHC == 9.2.8 GHC == 9.2.8
GHC == 9.0.2 GHC == 9.0.2
GHC == 8.10.7 GHC == 8.10.7
GHC == 8.8.4 GHC == 8.8.4
GHC == 8.6.5 GHC == 8.6.5
GHC == 8.4.4 GHC == 8.4.4
GHC == 8.2.2 GHC == 8.2.2
GHC == 8.0.2 GHC == 8.0.2
GHC == 7.10.3 GHC == 7.10.3
-- GHC == 7.8.4 -- GHC == 7.8.4
-- GHC == 7.6.3 -- GHC == 7.6.3
-- GHC == 7.4.2 -- GHC == 7.4.2
extra-source-files: extra-source-files:
README.markdown README.markdown
benchmarks/*.txt benchmarks/*.txt
benchmarks/json-data/*.json benchmarks/json-data/*.json
benchmarks/Makefile benchmarks/Makefile
benchmarks/med.txt.bz2 benchmarks/med.txt.bz2
changelog.md changelog.md
examples/*.c examples/*.c
examples/*.hs examples/*.hs
examples/Makefile examples/Makefile
Flag developer Flag developer
Description: Whether to build the library in development mode Description: Whether to build the library in development mode
Default: False Default: False
Manual: True Manual: True
-- We need to test and benchmark these modules, -- We need to test and benchmark these modules,
-- but do not want to expose them to end users -- but do not want to expose them to end users
library attoparsec-internal library attoparsec-internal
hs-source-dirs: internal hs-source-dirs: internal
build-depends: array, build-depends: array,
base >= 4.5 && < 5, base >= 4.5 && < 5,
bytestring <0.13, bytestring <0.13,
text >= 1.1.1.3 text >= 1.1.1.3
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
build-depends: semigroups >=0.16.1 && <0.21 build-depends: semigroups >=0.16.1 && <0.21
exposed-modules: Data.Attoparsec.ByteString.Buffer exposed-modules: Data.Attoparsec.ByteString.Buffer
Data.Attoparsec.ByteString.FastSet Data.Attoparsec.ByteString.FastSet
Data.Attoparsec.Internal.Compat Data.Attoparsec.Internal.Compat
Data.Attoparsec.Internal.Fhthagn Data.Attoparsec.Internal.Fhthagn
Data.Attoparsec.Text.Buffer Data.Attoparsec.Text.Buffer
Data.Attoparsec.Text.FastSet Data.Attoparsec.Text.FastSet
ghc-options: -O2 -Wall ghc-options: -O2 -Wall
default-language: Haskell2010 default-language: Haskell2010
library library
build-depends: array, build-depends: array,
base >= 4.5 && < 5, base >= 4.5 && < 5,
bytestring <0.13, bytestring <0.13,
containers, containers,
deepseq, deepseq,
scientific >= 0.3.1 && < 0.4, scientific >= 0.3.1 && < 0.4,
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7, transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
text >= 1.1.1.3, text >= 1.1.1.3,
ghc-prim < 0.12, ghc-prim < 0.14,
attoparsec-internal attoparsec-internal
if impl(ghc < 7.4) if impl(ghc < 7.4)
build-depends: build-depends:
bytestring < 0.10.4.0 bytestring < 0.10.4.0
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
build-depends: fail == 4.9.*, build-depends: fail == 4.9.*,
semigroups >=0.16.1 && <0.21 semigroups >=0.16.1 && <0.21
exposed-modules: Data.Attoparsec exposed-modules: Data.Attoparsec
Data.Attoparsec.ByteString Data.Attoparsec.ByteString
Data.Attoparsec.ByteString.Char8 Data.Attoparsec.ByteString.Char8
Data.Attoparsec.ByteString.Lazy Data.Attoparsec.ByteString.Lazy
Data.Attoparsec.Char8 Data.Attoparsec.Char8
Data.Attoparsec.Combinator Data.Attoparsec.Combinator
Data.Attoparsec.Internal Data.Attoparsec.Internal
Data.Attoparsec.Internal.Types Data.Attoparsec.Internal.Types
Data.Attoparsec.Lazy Data.Attoparsec.Lazy
Data.Attoparsec.Number Data.Attoparsec.Number
Data.Attoparsec.Text Data.Attoparsec.Text
Data.Attoparsec.Text.Lazy Data.Attoparsec.Text.Lazy
Data.Attoparsec.Types Data.Attoparsec.Types
Data.Attoparsec.Zepto Data.Attoparsec.Zepto
other-modules: Data.Attoparsec.ByteString.Internal other-modules: Data.Attoparsec.ByteString.Internal
Data.Attoparsec.Text.Internal Data.Attoparsec.Text.Internal
ghc-options: -O2 -Wall ghc-options: -O2 -Wall
default-language: Haskell2010 default-language: Haskell2010
if flag(developer) if flag(developer)
ghc-prof-options: -auto-all ghc-prof-options: -auto-all
ghc-options: -Werror ghc-options: -Werror
test-suite attoparsec-tests test-suite attoparsec-tests
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: tests hs-source-dirs: tests
main-is: QC.hs main-is: QC.hs
other-modules: QC.Buffer other-modules: QC.Buffer
QC.ByteString QC.ByteString
QC.Combinator QC.Combinator
QC.Common QC.Common
QC.IPv6.Internal QC.IPv6.Internal
QC.IPv6.Types QC.IPv6.Types
QC.Rechunked QC.Rechunked
QC.Simple QC.Simple
QC.Text QC.Text
QC.Text.FastSet QC.Text.FastSet
QC.Text.Regressions QC.Text.Regressions
ghc-options: ghc-options:
-Wall -threaded -rtsopts -Wall -threaded -rtsopts
if flag(developer) if flag(developer)
ghc-options: -Werror ghc-options: -Werror
build-depends: build-depends:
array, array,
attoparsec, attoparsec,
attoparsec-internal, attoparsec-internal,
base, base,
bytestring, bytestring,
deepseq >= 1.1, deepseq >= 1.1,
QuickCheck >= 2.13.2 && < 2.15, QuickCheck >= 2.13.2 && < 2.16,
quickcheck-unicode, quickcheck-unicode,
scientific, scientific,
tasty >= 0.11, tasty >= 0.11,
tasty-quickcheck >= 0.8, tasty-quickcheck >= 0.8,
text, text,
transformers, transformers,
vector vector
default-language: Haskell2010 default-language: Haskell2010
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
build-depends: fail == 4.9.*, build-depends: fail == 4.9.*,
semigroups >=0.16.1 && <0.19 semigroups >=0.16.1 && <0.19
benchmark attoparsec-benchmarks benchmark attoparsec-benchmarks
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1 hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1
ghc-options: -O2 -Wall -rtsopts ghc-options: -O2 -Wall -rtsopts
main-is: Benchmarks.hs main-is: Benchmarks.hs
other-modules: other-modules:
Aeson Aeson
Common Common
Genome Genome
HeadersByteString HeadersByteString
HeadersByteString.Atto HeadersByteString.Atto
HeadersText HeadersText
Links Links
Network.Wai.Handler.Warp.ReadInt Network.Wai.Handler.Warp.ReadInt
Network.Wai.Handler.Warp.RequestHeader Network.Wai.Handler.Warp.RequestHeader
Numbers Numbers
Sets Sets
TextFastSet TextFastSet
Warp Warp
ghc-options: -O2 -Wall ghc-options: -O2 -Wall
if flag(developer) if flag(developer)
ghc-options: -Werror ghc-options: -Werror
build-depends: build-depends:
array, array,
attoparsec, attoparsec,
attoparsec-internal, attoparsec-internal,
base == 4.*, base == 4.*,
bytestring >= 0.10.4.0, bytestring >= 0.10.4.0,
case-insensitive, case-insensitive,
containers, containers,
deepseq >= 1.1, deepseq >= 1.1,
directory, directory,
filepath, filepath,
ghc-prim, ghc-prim,
http-types, http-types,
parsec >= 3.1.2, parsec >= 3.1.2,
scientific, scientific,
tasty-bench >= 0.3, tasty-bench >= 0.3,
text >= 1.1.1.0, text >= 1.1.1.0,
transformers, transformers,
unordered-containers, unordered-containers,
vector vector
default-language: Haskell2010 default-language: Haskell2010
if !impl(ghc >= 8.0) if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
build-depends: fail == 4.9.*, build-depends: fail == 4.9.*,
semigroups >=0.16.1 && <0.19 semigroups >=0.16.1 && <0.19
source-repository head source-repository head
type: git type: git
location: https://github.com/haskell/attoparsec.git location: https://github.com/haskell/attoparsec.git

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 12 03:39:20 UTC 2024 - Peter Simons <psimons@suse.com>
- Update attoparsec to version 0.14.4 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 10 14:12:34 UTC 2023 - Peter Simons <psimons@suse.com> Tue Oct 10 14:12:34 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-attoparsec # spec file for package ghc-attoparsec
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 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
@ -26,7 +26,7 @@ Summary: Fast combinator parsing for bytestrings and text
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/5.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof BuildRequires: ghc-array-prof