Accepting request 953432 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/953432 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-attoparsec?expand=0&rev=27
This commit is contained in:
commit
fa4e5ad248
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9fcbf1d289f5b3d12352360d813d354abf473bf539a8c091265c22653462f494
|
|
||||||
size 162905
|
|
3
attoparsec-0.14.4.tar.gz
Normal file
3
attoparsec-0.14.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3f337fe58624565de12426f607c23e60c7b09c86b4e3adfc827ca188c9979e6c
|
||||||
|
size 160701
|
@ -1,13 +1,13 @@
|
|||||||
name: attoparsec
|
name: attoparsec
|
||||||
version: 0.14.2
|
version: 0.14.4
|
||||||
x-revision: 2
|
x-revision: 1
|
||||||
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: Bryan O'Sullivan <bos@serpentine.com>, Ben Gamari <ben@smart-cactus.org>
|
maintainer: Bryan O'Sullivan <bos@serpentine.com>, Ben Gamari <ben@smart-cactus.org>
|
||||||
stability: experimental
|
stability: experimental
|
||||||
tested-with: GHC == 7.4.2, 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.4, GHC==8.10.4, GHC == 9.0.1
|
tested-with: GHC == 7.4.2, 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.4, GHC==8.10.7, GHC ==9.0.2, GHC ==9.2.1
|
||||||
synopsis: Fast combinator parsing for bytestrings and text
|
synopsis: Fast combinator parsing for bytestrings and text
|
||||||
cabal-version: 2.0
|
cabal-version: 2.0
|
||||||
homepage: https://github.com/bgamari/attoparsec
|
homepage: https://github.com/bgamari/attoparsec
|
||||||
@ -19,8 +19,6 @@ description:
|
|||||||
file formats.
|
file formats.
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
README.markdown
|
README.markdown
|
||||||
benchmarks/*.cabal
|
|
||||||
benchmarks/*.hs
|
|
||||||
benchmarks/*.txt
|
benchmarks/*.txt
|
||||||
benchmarks/json-data/*.json
|
benchmarks/json-data/*.json
|
||||||
benchmarks/Makefile
|
benchmarks/Makefile
|
||||||
@ -29,15 +27,31 @@ extra-source-files:
|
|||||||
examples/*.c
|
examples/*.c
|
||||||
examples/*.hs
|
examples/*.hs
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
tests/*.hs
|
|
||||||
tests/QC/*.hs
|
|
||||||
tests/QC/IPv6/*.hs
|
|
||||||
|
|
||||||
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,
|
||||||
|
-- but do not want to expose them to end users
|
||||||
|
library attoparsec-internal
|
||||||
|
hs-source-dirs: internal
|
||||||
|
build-depends: array,
|
||||||
|
base >= 4.5 && < 5,
|
||||||
|
bytestring <0.12,
|
||||||
|
text >= 1.1.1.3
|
||||||
|
if !impl(ghc >= 8.0)
|
||||||
|
build-depends: semigroups >=0.16.1 && <0.21
|
||||||
|
exposed-modules: Data.Attoparsec.ByteString.Buffer
|
||||||
|
Data.Attoparsec.ByteString.FastSet
|
||||||
|
Data.Attoparsec.Internal.Compat
|
||||||
|
Data.Attoparsec.Internal.Fhthagn
|
||||||
|
Data.Attoparsec.Text.Buffer
|
||||||
|
Data.Attoparsec.Text.FastSet
|
||||||
|
ghc-options: -O2 -Wall
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
library
|
library
|
||||||
build-depends: array,
|
build-depends: array,
|
||||||
base >= 4.5 && < 5,
|
base >= 4.5 && < 5,
|
||||||
@ -47,7 +61,8 @@ library
|
|||||||
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.9
|
ghc-prim <0.9,
|
||||||
|
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
|
||||||
@ -71,13 +86,7 @@ library
|
|||||||
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.Buffer
|
other-modules: Data.Attoparsec.ByteString.Internal
|
||||||
Data.Attoparsec.ByteString.FastSet
|
|
||||||
Data.Attoparsec.ByteString.Internal
|
|
||||||
Data.Attoparsec.Internal.Compat
|
|
||||||
Data.Attoparsec.Internal.Fhthagn
|
|
||||||
Data.Attoparsec.Text.Buffer
|
|
||||||
Data.Attoparsec.Text.FastSet
|
|
||||||
Data.Attoparsec.Text.Internal
|
Data.Attoparsec.Text.Internal
|
||||||
ghc-options: -O2 -Wall
|
ghc-options: -O2 -Wall
|
||||||
|
|
||||||
@ -87,9 +96,9 @@ library
|
|||||||
ghc-prof-options: -auto-all
|
ghc-prof-options: -auto-all
|
||||||
ghc-options: -Werror
|
ghc-options: -Werror
|
||||||
|
|
||||||
test-suite 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
|
||||||
@ -103,25 +112,6 @@ test-suite tests
|
|||||||
QC.Text.FastSet
|
QC.Text.FastSet
|
||||||
QC.Text.Regressions
|
QC.Text.Regressions
|
||||||
|
|
||||||
other-modules: Data.Attoparsec.ByteString
|
|
||||||
Data.Attoparsec.ByteString.Buffer
|
|
||||||
Data.Attoparsec.ByteString.Char8
|
|
||||||
Data.Attoparsec.ByteString.FastSet
|
|
||||||
Data.Attoparsec.ByteString.Internal
|
|
||||||
Data.Attoparsec.ByteString.Lazy
|
|
||||||
Data.Attoparsec.Combinator
|
|
||||||
Data.Attoparsec.Internal
|
|
||||||
Data.Attoparsec.Internal.Compat
|
|
||||||
Data.Attoparsec.Internal.Fhthagn
|
|
||||||
Data.Attoparsec.Internal.Types
|
|
||||||
Data.Attoparsec.Number
|
|
||||||
Data.Attoparsec.Text
|
|
||||||
Data.Attoparsec.Text.Buffer
|
|
||||||
Data.Attoparsec.Text.FastSet
|
|
||||||
Data.Attoparsec.Text.Internal
|
|
||||||
Data.Attoparsec.Text.Lazy
|
|
||||||
Data.Attoparsec.Zepto
|
|
||||||
|
|
||||||
ghc-options:
|
ghc-options:
|
||||||
-Wall -threaded -rtsopts
|
-Wall -threaded -rtsopts
|
||||||
|
|
||||||
@ -130,6 +120,8 @@ test-suite tests
|
|||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
array,
|
array,
|
||||||
|
attoparsec,
|
||||||
|
attoparsec-internal,
|
||||||
base,
|
base,
|
||||||
bytestring,
|
bytestring,
|
||||||
deepseq >= 1.1,
|
deepseq >= 1.1,
|
||||||
@ -149,13 +141,15 @@ test-suite tests
|
|||||||
build-depends: fail == 4.9.*,
|
build-depends: fail == 4.9.*,
|
||||||
semigroups >=0.16.1 && <0.19
|
semigroups >=0.16.1 && <0.19
|
||||||
|
|
||||||
benchmark 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
|
||||||
Common
|
Common
|
||||||
|
Genome
|
||||||
HeadersByteString
|
HeadersByteString
|
||||||
HeadersByteString.Atto
|
HeadersByteString.Atto
|
||||||
HeadersText
|
HeadersText
|
||||||
@ -173,11 +167,12 @@ benchmark benchmarks
|
|||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
array,
|
array,
|
||||||
|
attoparsec,
|
||||||
|
attoparsec-internal,
|
||||||
base == 4.*,
|
base == 4.*,
|
||||||
bytestring >= 0.10.4.0,
|
bytestring >= 0.10.4.0,
|
||||||
case-insensitive,
|
case-insensitive,
|
||||||
containers,
|
containers,
|
||||||
criterion >= 1.0,
|
|
||||||
deepseq >= 1.1,
|
deepseq >= 1.1,
|
||||||
directory,
|
directory,
|
||||||
filepath,
|
filepath,
|
||||||
@ -185,6 +180,7 @@ benchmark benchmarks
|
|||||||
http-types,
|
http-types,
|
||||||
parsec >= 3.1.2,
|
parsec >= 3.1.2,
|
||||||
scientific,
|
scientific,
|
||||||
|
tasty-bench >= 0.3,
|
||||||
text >= 1.1.1.0,
|
text >= 1.1.1.0,
|
||||||
transformers,
|
transformers,
|
||||||
unordered-containers,
|
unordered-containers,
|
||||||
@ -200,4 +196,3 @@ benchmark benchmarks
|
|||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/bgamari/attoparsec
|
location: https://github.com/bgamari/attoparsec
|
||||||
|
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 16 18:41:59 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update attoparsec to version 0.14.4 revision 1.
|
||||||
|
Upstream has edited the change log file since the last release in
|
||||||
|
a non-trivial way, i.e. they did more than just add a new entry
|
||||||
|
at the top. You can review the file at:
|
||||||
|
http://hackage.haskell.org/package/attoparsec-0.14.4/src/changelog.md
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 20 17:29:22 UTC 2021 - psimons@suse.com
|
Sat Nov 20 17:29:22 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-attoparsec
|
# spec file for package ghc-attoparsec
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -17,15 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name attoparsec
|
%global pkg_name attoparsec
|
||||||
|
%global has_internal_sub_libraries 1
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.14.2
|
Version: 0.14.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Fast combinator parsing for bytestrings and text
|
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/2.cabal#/%{pkg_name}.cabal
|
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-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
@ -63,7 +64,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build_without_haddock
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
Loading…
Reference in New Issue
Block a user