Accepting request 306424 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/306424 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-attoparsec?expand=0&rev=6
This commit is contained in:
commit
4b774642e4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6b84e0dbd1c3beec1dedea578ac2f4d62afbe66b383582b7b3349406866d346
|
||||
size 36268
|
3
attoparsec-0.12.1.6.tar.gz
Normal file
3
attoparsec-0.12.1.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce0bb68c3a232dc981412b44211395ee04b0c18075777c30493d4e0f1edc06a8
|
||||
size 65300
|
@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 13 07:52:32 UTC 2015 - mimi.vx@gmail.com
|
||||
|
||||
- update to 0.12.1.6
|
||||
* Fixed a case folding bug in the ByteString version of stringCI.
|
||||
* Fixed an indexing bug in the new Text implementation of string,
|
||||
reported by Michel Boucey.
|
||||
* Fixed a case where the string parser would consume an unnecessary
|
||||
amount of input before failing a match, when it could bail much
|
||||
earlier (https://github.com/bos/attoparsec/issues/97)
|
||||
* Added more context to error messages
|
||||
(https://github.com/bos/attoparsec/pull/79)
|
||||
* Fixed incorrect tracking of Text lengths
|
||||
(https://github.com/bos/attoparsec/issues/80)
|
||||
* Fixed the incorrect tracking of capacity if the initial buffer was
|
||||
empty (https://github.com/bos/attoparsec/issues/75)
|
||||
* Fixed a data corruption bug that occurred under some circumstances
|
||||
if a buffer grew after prompting for more input
|
||||
(https://github.com/bos/attoparsec/issues/74)
|
||||
* Now compatible with GHC 7.9
|
||||
* Reintroduced the Chunk class, used by the parsers package
|
||||
* A new internal representation makes almost all real-world parsers
|
||||
faster, sometimes by big margins. For example, parsing JSON data
|
||||
with aeson is now up to 70% faster. These performance improvements
|
||||
also come with reduced memory consumption and some new capabilities.
|
||||
* The new match combinator gives both the result of a parse and the
|
||||
input that it matched.
|
||||
* The test suite has doubled in size. This made it possible to switch
|
||||
to the new internal representation with a decent degree of
|
||||
confidence that everything was more or less working.
|
||||
* The benchmark suite now contains a small family of benchmarks taken
|
||||
from real-world uses of attoparsec.
|
||||
* A few types that ought to have been private now are.
|
||||
* A few obsolete modules and functions have been marked as deprecated.
|
||||
They will be removed from the next major release.
|
||||
* New function scientific is compatible with rational, but parses
|
||||
integers more efficiently (https://github.com/bos/aeson/issues/198)
|
||||
* The new Chunk typeclass allows for some code sharing with Ed
|
||||
Kmett's parsers package: http://hackage.haskell.org/package/parsers
|
||||
* New function runScanner generalises scan to return the final state
|
||||
of the scanner as well as the input consumed.
|
||||
* New dependency: the scientific package. This allows us to parse
|
||||
numbers much more efficiently.
|
||||
* peekWord8', peekChar': new primitive parsers that allow
|
||||
single-character lookahead.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 2 08:34:11 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-attoparsec
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,8 +18,10 @@
|
||||
|
||||
%global pkg_name attoparsec
|
||||
|
||||
Name: ghc-attoparsec
|
||||
Version: 0.10.4.0
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.12.1.6
|
||||
Release: 0
|
||||
Summary: Fast combinator parsing for bytestrings and text
|
||||
License: BSD-3-Clause
|
||||
@ -36,7 +38,15 @@ BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-scientific-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-quickcheck-unicode-devel
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-quickcheck2-devel
|
||||
BuildRequires: ghc-vector-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
@ -66,6 +76,11 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user