Skip to content

Commit

Permalink
Import commonmark-0.2.1.1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
depressed-pho committed Feb 11, 2022
1 parent 573d6e9 commit 310c35d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions textproc/hs-commonmark/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $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
COMMENT= Pure Haskell commonmark parser
LICENSE= modified-bsd

.include "../../mk/haskell.mk"
.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 5 additions & 3 deletions textproc/hs-commonmark/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions textproc/hs-commonmark/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 310c35d

Please sign in to comment.