pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hs-commonmark



Module Name:    pkgsrc
Committed By:   pho
Date:           Fri Feb 11 11:31:47 UTC 2022

Modified Files:
        pkgsrc/textproc/hs-commonmark: Makefile buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/hs-commonmark/Makefile \
    pkgsrc/textproc/hs-commonmark/buildlink3.mk \
    pkgsrc/textproc/hs-commonmark/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/hs-commonmark/Makefile
diff -u pkgsrc/textproc/hs-commonmark/Makefile:1.3 pkgsrc/textproc/hs-commonmark/Makefile:1.4
--- pkgsrc/textproc/hs-commonmark/Makefile:1.3  Tue Jan 18 02:48:25 2022
+++ pkgsrc/textproc/hs-commonmark/Makefile      Fri Feb 11 11:31:47 2022
@@ -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 @@ COMMENT=        Pure Haskell commonmark parser
 LICENSE=       modified-bsd
 
 .include "../../mk/haskell.mk"
+.include "../../textproc/hs-unicode-transforms/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/hs-commonmark/buildlink3.mk
diff -u pkgsrc/textproc/hs-commonmark/buildlink3.mk:1.3 pkgsrc/textproc/hs-commonmark/buildlink3.mk:1.4
--- pkgsrc/textproc/hs-commonmark/buildlink3.mk:1.3     Tue Jan 18 02:48:25 2022
+++ pkgsrc/textproc/hs-commonmark/buildlink3.mk Fri Feb 11 11:31:47 2022
@@ -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
Index: pkgsrc/textproc/hs-commonmark/distinfo
diff -u pkgsrc/textproc/hs-commonmark/distinfo:1.3 pkgsrc/textproc/hs-commonmark/distinfo:1.4
--- pkgsrc/textproc/hs-commonmark/distinfo:1.3  Tue Oct 26 11:21:59 2021
+++ pkgsrc/textproc/hs-commonmark/distinfo      Fri Feb 11 11:31:47 2022
@@ -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