Skip to content

Commit

Permalink
Update to attoparsec-0.13.2.3
Browse files Browse the repository at this point in the history
0.13.2.1
* Improved performance of Data.Attoparsec.Text.asciiCI

0.13.2.0
* pure is now strict in Position

0.13.1.0
* runScanner now correctly returns the final state
  (haskell/attoparsec#105).
* Parser, ZeptoT, Buffer, and More now expose Semigroup instances.
* Parser, and ZeptoT now expose MonadFail instances.

0.13.0.2
* Restore the fast specialised character set implementation for Text
* Move testsuite from test-framework to tasty
* Performance optimization of takeWhile and takeWhile1

0.13.0.1
* Fixed a bug in the implementations of inClass and notInClass for
  Text (haskell/attoparsec#103)

0.13.0.0
* Made the parser type in the Zepto module a monad transformer (needed
  by aeson's string unescaping parser).

0.12.1.6
* Fixed a case folding bug in the ByteString version of stringCI.

0.12.1.5
* Fixed an indexing bug in the new Text implementation of string,
  reported by Michel Boucey.

0.12.1.4
* Fixed a case where the string parser would consume an unnecessary
  amount of input before failing a match, when it could bail much
  earlier (haskell/attoparsec#97)
* Added more context to error messages
  (haskell/attoparsec#79)

0.12.1.3
* Fixed incorrect tracking of Text lengths
  (haskell/attoparsec#80)
  • Loading branch information
depressed-pho committed Dec 31, 2019
1 parent 627074c commit 4c9c5c4
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 72 deletions.
8 changes: 5 additions & 3 deletions textproc/hs-attoparsec/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# $NetBSD: Makefile,v 1.10 2016/01/10 11:49:10 szptvlfn Exp $
# $NetBSD: Makefile,v 1.11 2019/12/31 17:33:18 pho Exp $

DISTNAME= attoparsec-0.12.1.2
PKGREVISION= 9
DISTNAME= attoparsec-0.13.2.3
CATEGORIES= textproc

MAINTAINER= [email protected]
COMMENT= Fast combinator parsing for bytestrings and text
LICENSE= modified-bsd

.include "../../mk/haskell.mk"
.include "../../devel/hs-fail/buildlink3.mk"
.include "../../math/hs-semigroups/buildlink3.mk"
.include "../../math/hs-scientific/buildlink3.mk"
.include "../../devel/hs-text/buildlink3.mk"
.include "../../devel/hs-transformers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
61 changes: 0 additions & 61 deletions textproc/hs-attoparsec/PLIST

This file was deleted.

9 changes: 6 additions & 3 deletions textproc/hs-attoparsec/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# $NetBSD: buildlink3.mk,v 1.10 2016/01/10 11:49:10 szptvlfn Exp $
# $NetBSD: buildlink3.mk,v 1.11 2019/12/31 17:33:18 pho Exp $

BUILDLINK_TREE+= hs-attoparsec

.if !defined(HS_ATTOPARSEC_BUILDLINK3_MK)
HS_ATTOPARSEC_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-attoparsec+= hs-attoparsec>=0.12.1
BUILDLINK_ABI_DEPENDS.hs-attoparsec+= hs-attoparsec>=0.12.1.2nb9
BUILDLINK_API_DEPENDS.hs-attoparsec+= hs-attoparsec>=0.13.2
BUILDLINK_ABI_DEPENDS.hs-attoparsec+= hs-attoparsec>=0.13.2.3
BUILDLINK_PKGSRCDIR.hs-attoparsec?= ../../textproc/hs-attoparsec

.include "../../devel/hs-fail/buildlink3.mk"
.include "../../math/hs-semigroups/buildlink3.mk"
.include "../../math/hs-scientific/buildlink3.mk"
.include "../../devel/hs-text/buildlink3.mk"
.include "../../devel/hs-transformers/buildlink3.mk"
.endif # HS_ATTOPARSEC_BUILDLINK3_MK

BUILDLINK_TREE+= -hs-attoparsec
11 changes: 6 additions & 5 deletions textproc/hs-attoparsec/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2015/11/04 01:59:30 agc Exp $
$NetBSD: distinfo,v 1.3 2019/12/31 17:33:18 pho Exp $

SHA1 (attoparsec-0.12.1.2.tar.gz) = a0212f6f091e8f148feb401477249851cbcc4088
RMD160 (attoparsec-0.12.1.2.tar.gz) = 224db1d7d9c5dac45003bbcb2f0beb3c686d0821
SHA512 (attoparsec-0.12.1.2.tar.gz) = 1ce9016ee05d7a0d6b2ffef772be821f9db1d45e1cfe0cac323920725e22962155156cc5697da2c050aaffc2e0921ae82cf062135a0e56ba5ff85f9175a8527f
Size (attoparsec-0.12.1.2.tar.gz) = 78938 bytes
SHA1 (attoparsec-0.13.2.3.tar.gz) = 69e0e8c54907548a29eed55e3fd343cbd3c37f32
RMD160 (attoparsec-0.13.2.3.tar.gz) = 66268808f781b9903dad709b6e8eaf576d4f6513
SHA512 (attoparsec-0.13.2.3.tar.gz) = 84805ff547f1aa5eebd320c1bd738bc1098a9789fb330eff7bdcb1b0477e9709d86f93bd8848f4a8501a123b6add6bd22af59cfa94af66f1d57703745706a194
Size (attoparsec-0.13.2.3.tar.gz) = 162346 bytes
SHA1 (patch-attoparsec.cabal) = e44f2964ca04fff266ce5dbc6db8f3b56d0015ac
33 changes: 33 additions & 0 deletions textproc/hs-attoparsec/patches/patch-attoparsec.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
$NetBSD: patch-attoparsec.cabal,v 1.1 2019/12/31 17:33:18 pho Exp $

Relax the upper bound for semigroups

--- attoparsec.cabal.orig 2019-08-31 09:36:08.000000000 +0000
+++ attoparsec.cabal
@@ -53,7 +53,7 @@ library
if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
build-depends: fail == 4.9.*,
- semigroups >=0.16.1 && <0.19
+ semigroups >=0.16.1 && <0.20

exposed-modules: Data.Attoparsec
Data.Attoparsec.ByteString
@@ -139,7 +139,7 @@ test-suite tests
if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
build-depends: fail == 4.9.*,
- semigroups >=0.16.1 && <0.19
+ semigroups >=0.16.1 && <0.20

benchmark benchmarks
type: exitcode-stdio-1.0
@@ -185,7 +185,7 @@ benchmark benchmarks
if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
build-depends: fail == 4.9.*,
- semigroups >=0.16.1 && <0.19
+ semigroups >=0.16.1 && <0.20

source-repository head
type: git

0 comments on commit 4c9c5c4

Please sign in to comment.