pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hs-commonmark Import commonmark-0.2.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1f88def57a3
branches:  trunk
changeset: 373384:e1f88def57a3
user:      pho <pho%pkgsrc.org@localhost>
date:      Fri Feb 11 11:31:47 2022 +0000

description:
Import commonmark-0.2.1.1

0.2.1.1
* Fix bug in prettyShow for SourceRange (#80). The bug led to an infinite
  loop in certain cases.

0.2.1
* Use official 0.30 spec.txt.
* Update HTML block parser for recent spec changes.
* Fix test case from commonmark/cmark#383. We need to index the list of
  stack bottoms not just by the length mod 3 of the closer but by whether
  it can be an opener, since this goes into the calculation of whether the
  delimiters can match.

0.2
* Commonmark.Inlines: export LinkInfo(..) [API change].
* Commonmark.Inlines: export pLink [API chage].
* Comonmark.ReferenceMap: Add linkPos field to LinkInfo [API change].
* Commonmark.Tokens: normalize unicode to NFC before tokenizing
  (#57). Normalization might affect detection of flankingness, recognition
  of reference links, etc.
* Commonmark.Html: add data-prefix to non-HTML5 attributes, as pandoc does.
* Remove unnecessary build-depends.
* Use lightweight tasty-bench instead of criterion for benchmarks.

diffstat:

 textproc/hs-commonmark/Makefile      |  6 +++---
 textproc/hs-commonmark/buildlink3.mk |  8 +++++---
 textproc/hs-commonmark/distinfo      |  8 ++++----
 3 files changed, 12 insertions(+), 10 deletions(-)

diffs (54 lines):

diff -r fee13a1b8d6d -r e1f88def57a3 textproc/hs-commonmark/Makefile
--- a/textproc/hs-commonmark/Makefile   Fri Feb 11 11:29:44 2022 +0000
+++ b/textproc/hs-commonmark/Makefile   Fri Feb 11 11:31:47 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/01/18 02:48:25 pho Exp $
+# $NetBSD: Makefile,v 1.4 2022/02/11 11:31:47 pho Exp $
 
-DISTNAME=      commonmark-0.1.1.4
-PKGREVISION=   2
+DISTNAME=      commonmark-0.2.1.1
 CATEGORIES=    textproc
 
 MAINTAINER=    pho%cielonegro.org@localhost
@@ -9,4 +8,5 @@
 LICENSE=       modified-bsd
 
 .include "../../mk/haskell.mk"
+.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fee13a1b8d6d -r e1f88def57a3 textproc/hs-commonmark/buildlink3.mk
--- a/textproc/hs-commonmark/buildlink3.mk      Fri Feb 11 11:29:44 2022 +0000
+++ b/textproc/hs-commonmark/buildlink3.mk      Fri Feb 11 11:31:47 2022 +0000
@@ -1,13 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.3 2022/01/18 02:48:25 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2022/02/11 11:31:47 pho Exp $
 
 BUILDLINK_TREE+=       hs-commonmark
 
 .if !defined(HS_COMMONMARK_BUILDLINK3_MK)
 HS_COMMONMARK_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-commonmark+=  hs-commonmark>=0.1.1
-BUILDLINK_ABI_DEPENDS.hs-commonmark+=  hs-commonmark>=0.1.1.4nb2
+BUILDLINK_API_DEPENDS.hs-commonmark+=  hs-commonmark>=0.2.1
+BUILDLINK_ABI_DEPENDS.hs-commonmark+=  hs-commonmark>=0.2.1.1
 BUILDLINK_PKGSRCDIR.hs-commonmark?=    ../../textproc/hs-commonmark
+
+.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
 .endif # HS_COMMONMARK_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-commonmark
diff -r fee13a1b8d6d -r e1f88def57a3 textproc/hs-commonmark/distinfo
--- a/textproc/hs-commonmark/distinfo   Fri Feb 11 11:29:44 2022 +0000
+++ b/textproc/hs-commonmark/distinfo   Fri Feb 11 11:31:47 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:21:59 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/02/11 11:31:47 pho Exp $
 
-BLAKE2s (commonmark-0.1.1.4.tar.gz) = 84c6d6135d803a29885fc7ecdcb675f175d125df0cb6336ca1a7512f0ee618cc
-SHA512 (commonmark-0.1.1.4.tar.gz) = d8f8f652a78d6fcc0b623f6750f3735c22d623a3a8e423384ff0778993c0ac65e986bfb37ba939d0c4cda3db95af2289520883579d82372af5cf5e5bb0540657
-Size (commonmark-0.1.1.4.tar.gz) = 99102 bytes
+BLAKE2s (commonmark-0.2.1.1.tar.gz) = fae9c4d2a897bece3b8783c3db140ccfc362a9abfc1f9c21d29a4e3276154653
+SHA512 (commonmark-0.2.1.1.tar.gz) = a1c5cb4d85e078e3f1fc303706eb0f9b3d8b87e1a2f8deb5a0c9ff7529beefb02f77a77057919d2abd5586d24f69f93766287d5cd9c5ceb47239a37d22b8a702
+Size (commonmark-0.2.1.1.tar.gz) = 100854 bytes



Home | Main Index | Thread Index | Old Index