pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/hs-attoparsec Update to attoparsec-0.13.2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbf1ad9c5230
branches:  trunk
changeset: 346424:dbf1ad9c5230
user:      pho <pho%pkgsrc.org@localhost>
date:      Tue Dec 31 17:33:18 2019 +0000

description:
Update to attoparsec-0.13.2.3

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
  (https://github.com/bos/attoparsec/issues/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 (https://github.com/bos/attoparsec/issues/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 (https://github.com/bos/attoparsec/issues/97)
* Added more context to error messages
  (https://github.com/bos/attoparsec/pull/79)

0.12.1.3
* Fixed incorrect tracking of Text lengths
  (https://github.com/bos/attoparsec/issues/80)

diffstat:

 textproc/hs-attoparsec/Makefile                       |   8 +-
 textproc/hs-attoparsec/PLIST                          |  61 -------------------
 textproc/hs-attoparsec/buildlink3.mk                  |   9 +-
 textproc/hs-attoparsec/distinfo                       |  11 +-
 textproc/hs-attoparsec/patches/patch-attoparsec.cabal |  33 ++++++++++
 5 files changed, 50 insertions(+), 72 deletions(-)

diffs (167 lines):

diff -r ddd6ddc7f04e -r dbf1ad9c5230 textproc/hs-attoparsec/Makefile
--- a/textproc/hs-attoparsec/Makefile   Tue Dec 31 17:32:57 2019 +0000
+++ b/textproc/hs-attoparsec/Makefile   Tue Dec 31 17:33:18 2019 +0000
@@ -1,7 +1,6 @@
-# $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=    pho%cielonegro.org@localhost
@@ -9,6 +8,9 @@
 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"
diff -r ddd6ddc7f04e -r dbf1ad9c5230 textproc/hs-attoparsec/PLIST
--- a/textproc/hs-attoparsec/PLIST      Tue Dec 31 17:32:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2014/09/06 21:20:06 szptvlfn Exp $
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/ByteString.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/ByteString/Buffer.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/ByteString/Char8.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/ByteString/FastSet.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/ByteString/Internal.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/ByteString/Lazy.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Char8.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Combinator.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Internal.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Internal/Fhthagn.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Internal/Types.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Lazy.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Number.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Text.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Text/Buffer.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Text/FastSet.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Text/Internal.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Text/Lazy.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Types.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/Data/Attoparsec/Zepto.hi
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/HSattoparsec-${PKGVERSION}.o
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/libHSattoparsec-${PKGVERSION}.a
-lib/attoparsec-${PKGVERSION}/${HASKELL_VERSION}/package-description
-share/doc/attoparsec-${PKGVERSION}/LICENSE
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-ByteString-Char8.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-ByteString-Lazy.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-ByteString.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Char8.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Combinator.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Lazy.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Number.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Text-Lazy.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Text.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Types.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec-Zepto.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/Data-Attoparsec.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/attoparsec.haddock
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/doc-index.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/frames.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/haddock-util.js
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/hslogo-16.png
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/index-frames.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/index.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-ByteString-Char8.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-ByteString-Lazy.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-ByteString.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Char8.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Combinator.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Lazy.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Number.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Text-Lazy.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Text.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Types.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec-Zepto.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/mini_Data-Attoparsec.html
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/minus.gif
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/ocean.css
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/plus.gif
-${PLIST.doc}share/doc/attoparsec-${PKGVERSION}/html/synopsis.png
diff -r ddd6ddc7f04e -r dbf1ad9c5230 textproc/hs-attoparsec/buildlink3.mk
--- a/textproc/hs-attoparsec/buildlink3.mk      Tue Dec 31 17:32:57 2019 +0000
+++ b/textproc/hs-attoparsec/buildlink3.mk      Tue Dec 31 17:33:18 2019 +0000
@@ -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
diff -r ddd6ddc7f04e -r dbf1ad9c5230 textproc/hs-attoparsec/distinfo
--- a/textproc/hs-attoparsec/distinfo   Tue Dec 31 17:32:57 2019 +0000
+++ b/textproc/hs-attoparsec/distinfo   Tue Dec 31 17:33:18 2019 +0000
@@ -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
diff -r ddd6ddc7f04e -r dbf1ad9c5230 textproc/hs-attoparsec/patches/patch-attoparsec.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-attoparsec/patches/patch-attoparsec.cabal     Tue Dec 31 17:33:18 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index