pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc Add textproc/go-goldmark version 1.1.30



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f58f0ff0d85e
branches:  trunk
changeset: 428202:f58f0ff0d85e
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Sat Apr 25 23:49:20 2020 +0000

description:
Add textproc/go-goldmark version 1.1.30

goldmark is a Markdown parser written in Go. It is compliant with
CommonMark 0.29. Its features include:

- Standards-compliant. goldmark is fully compliant with the latest
  CommonMark specification.
- Extensible. Do you want to add a @username mention syntax to
  Markdown? You can easily do so in goldmark. You can add your AST
  nodes, parsers for block-level elements, parsers for inline-level
  elements, transformers for paragraphs, transformers for the whole
  AST structure, and renderers.
- Performance. goldmark's performance is on par with that of cmark,
  the CommonMark reference implementation written in C.
- Robust. goldmark is tested with go-fuzz, a fuzz testing tool.
- Built-in extensions. goldmark ships with common extensions like
  tables, strikethrough, task lists, and definition lists.
- Depends only on standard libraries.

diffstat:

 textproc/Makefile             |   3 +-
 textproc/go-goldmark/DESCR    |  16 +++++++
 textproc/go-goldmark/Makefile |  20 +++++++++
 textproc/go-goldmark/PLIST    |  95 +++++++++++++++++++++++++++++++++++++++++++
 textproc/go-goldmark/distinfo |   6 ++
 5 files changed, 139 insertions(+), 1 deletions(-)

diffs (170 lines):

diff -r f71b08275d43 -r f58f0ff0d85e textproc/Makefile
--- a/textproc/Makefile Sat Apr 25 22:23:05 2020 +0000
+++ b/textproc/Makefile Sat Apr 25 23:49:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1134 2020/04/14 19:24:09 js Exp $
+# $NetBSD: Makefile,v 1.1135 2020/04/25 23:49:20 nikita Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -227,6 +227,7 @@
 SUBDIR+=       go-chroma
 SUBDIR+=       go-diff
 SUBDIR+=       go-glob
+SUBDIR+=       go-goldmark
 SUBDIR+=       go-inflect
 SUBDIR+=       go-md2man
 SUBDIR+=       go-mmark
diff -r f71b08275d43 -r f58f0ff0d85e textproc/go-goldmark/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-goldmark/DESCR        Sat Apr 25 23:49:20 2020 +0000
@@ -0,0 +1,16 @@
+goldmark is a Markdown parser written in Go. It is compliant with
+CommonMark 0.29. Its features include:
+
+- Standards-compliant. goldmark is fully compliant with the latest
+  CommonMark specification.
+- Extensible. Do you want to add a @username mention syntax to
+  Markdown? You can easily do so in goldmark. You can add your AST
+  nodes, parsers for block-level elements, parsers for inline-level
+  elements, transformers for paragraphs, transformers for the whole
+  AST structure, and renderers.
+- Performance. goldmark's performance is on par with that of cmark,
+  the CommonMark reference implementation written in C.
+- Robust. goldmark is tested with go-fuzz, a fuzz testing tool.
+- Built-in extensions. goldmark ships with common extensions like
+  tables, strikethrough, task lists, and definition lists.
+- Depends only on standard libraries.
diff -r f71b08275d43 -r f58f0ff0d85e textproc/go-goldmark/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-goldmark/Makefile     Sat Apr 25 23:49:20 2020 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2020/04/25 23:49:20 nikita Exp $
+
+DISTNAME=      goldmark-1.1.30
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=yuin/}
+CATEGORIES=    textproc
+GITHUB_PROJECT=        goldmark
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+# DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER=    nikita%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/yuin/goldmark/
+COMMENT=       CommonMark compliant Markdown parser in Go
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/yuin/goldmark
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f71b08275d43 -r f58f0ff0d85e textproc/go-goldmark/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-goldmark/PLIST        Sat Apr 25 23:49:20 2020 +0000
@@ -0,0 +1,95 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/25 23:49:20 nikita Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/ast.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/extension.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/extension/ast.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/fuzz.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/parser.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/renderer.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/renderer/html.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/testutil.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/text.a
+gopkg/pkg/${GO_PLATFORM}/github.com/yuin/goldmark/util.a
+gopkg/src/github.com/yuin/goldmark/LICENSE
+gopkg/src/github.com/yuin/goldmark/Makefile
+gopkg/src/github.com/yuin/goldmark/README.md
+gopkg/src/github.com/yuin/goldmark/_benchmark/cmark/.gitignore
+gopkg/src/github.com/yuin/goldmark/_benchmark/cmark/Makefile
+gopkg/src/github.com/yuin/goldmark/_benchmark/cmark/_data.md
+gopkg/src/github.com/yuin/goldmark/_benchmark/cmark/cmark_benchmark.c
+gopkg/src/github.com/yuin/goldmark/_benchmark/cmark/goldmark_benchmark.go
+gopkg/src/github.com/yuin/goldmark/_benchmark/go/_data.md
+gopkg/src/github.com/yuin/goldmark/_benchmark/go/benchmark_test.go
+gopkg/src/github.com/yuin/goldmark/_test/extra.txt
+gopkg/src/github.com/yuin/goldmark/_test/options.txt
+gopkg/src/github.com/yuin/goldmark/_test/spec.json
+gopkg/src/github.com/yuin/goldmark/_tools/gen-unicode-case-folding-map.go
+gopkg/src/github.com/yuin/goldmark/ast/ast.go
+gopkg/src/github.com/yuin/goldmark/ast/ast_test.go
+gopkg/src/github.com/yuin/goldmark/ast/block.go
+gopkg/src/github.com/yuin/goldmark/ast/inline.go
+gopkg/src/github.com/yuin/goldmark/commonmark_test.go
+gopkg/src/github.com/yuin/goldmark/extension/_test/definition_list.txt
+gopkg/src/github.com/yuin/goldmark/extension/_test/footnote.txt
+gopkg/src/github.com/yuin/goldmark/extension/_test/linkify.txt
+gopkg/src/github.com/yuin/goldmark/extension/_test/strikethrough.txt
+gopkg/src/github.com/yuin/goldmark/extension/_test/table.txt
+gopkg/src/github.com/yuin/goldmark/extension/_test/tasklist.txt
+gopkg/src/github.com/yuin/goldmark/extension/_test/typographer.txt
+gopkg/src/github.com/yuin/goldmark/extension/ast/definition_list.go
+gopkg/src/github.com/yuin/goldmark/extension/ast/footnote.go
+gopkg/src/github.com/yuin/goldmark/extension/ast/strikethrough.go
+gopkg/src/github.com/yuin/goldmark/extension/ast/table.go
+gopkg/src/github.com/yuin/goldmark/extension/ast/tasklist.go
+gopkg/src/github.com/yuin/goldmark/extension/definition_list.go
+gopkg/src/github.com/yuin/goldmark/extension/definition_list_test.go
+gopkg/src/github.com/yuin/goldmark/extension/footnote.go
+gopkg/src/github.com/yuin/goldmark/extension/footnote_test.go
+gopkg/src/github.com/yuin/goldmark/extension/gfm.go
+gopkg/src/github.com/yuin/goldmark/extension/linkify.go
+gopkg/src/github.com/yuin/goldmark/extension/linkify_test.go
+gopkg/src/github.com/yuin/goldmark/extension/strikethrough.go
+gopkg/src/github.com/yuin/goldmark/extension/strikethrough_test.go
+gopkg/src/github.com/yuin/goldmark/extension/table.go
+gopkg/src/github.com/yuin/goldmark/extension/table_test.go
+gopkg/src/github.com/yuin/goldmark/extension/tasklist.go
+gopkg/src/github.com/yuin/goldmark/extension/tasklist_test.go
+gopkg/src/github.com/yuin/goldmark/extension/typographer.go
+gopkg/src/github.com/yuin/goldmark/extension/typographer_test.go
+gopkg/src/github.com/yuin/goldmark/extra_test.go
+gopkg/src/github.com/yuin/goldmark/fuzz/fuzz.go
+gopkg/src/github.com/yuin/goldmark/fuzz/fuzz_test.go
+gopkg/src/github.com/yuin/goldmark/go.mod
+gopkg/src/github.com/yuin/goldmark/go.sum
+gopkg/src/github.com/yuin/goldmark/markdown.go
+gopkg/src/github.com/yuin/goldmark/options_test.go
+gopkg/src/github.com/yuin/goldmark/parser/attribute.go
+gopkg/src/github.com/yuin/goldmark/parser/atx_heading.go
+gopkg/src/github.com/yuin/goldmark/parser/auto_link.go
+gopkg/src/github.com/yuin/goldmark/parser/blockquote.go
+gopkg/src/github.com/yuin/goldmark/parser/code_block.go
+gopkg/src/github.com/yuin/goldmark/parser/code_span.go
+gopkg/src/github.com/yuin/goldmark/parser/delimiter.go
+gopkg/src/github.com/yuin/goldmark/parser/emphasis.go
+gopkg/src/github.com/yuin/goldmark/parser/fcode_block.go
+gopkg/src/github.com/yuin/goldmark/parser/html_block.go
+gopkg/src/github.com/yuin/goldmark/parser/link.go
+gopkg/src/github.com/yuin/goldmark/parser/link_ref.go
+gopkg/src/github.com/yuin/goldmark/parser/list.go
+gopkg/src/github.com/yuin/goldmark/parser/list_item.go
+gopkg/src/github.com/yuin/goldmark/parser/paragraph.go
+gopkg/src/github.com/yuin/goldmark/parser/parser.go
+gopkg/src/github.com/yuin/goldmark/parser/raw_html.go
+gopkg/src/github.com/yuin/goldmark/parser/setext_headings.go
+gopkg/src/github.com/yuin/goldmark/parser/thematic_break.go
+gopkg/src/github.com/yuin/goldmark/renderer/html/html.go
+gopkg/src/github.com/yuin/goldmark/renderer/renderer.go
+gopkg/src/github.com/yuin/goldmark/testutil/testutil.go
+gopkg/src/github.com/yuin/goldmark/testutil/testutil_test.go
+gopkg/src/github.com/yuin/goldmark/text/reader.go
+gopkg/src/github.com/yuin/goldmark/text/segment.go
+gopkg/src/github.com/yuin/goldmark/util/html5entities.go
+gopkg/src/github.com/yuin/goldmark/util/unicode_case_folding.go
+gopkg/src/github.com/yuin/goldmark/util/util.go
+gopkg/src/github.com/yuin/goldmark/util/util_safe.go
+gopkg/src/github.com/yuin/goldmark/util/util_unsafe.go
diff -r f71b08275d43 -r f58f0ff0d85e textproc/go-goldmark/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-goldmark/distinfo     Sat Apr 25 23:49:20 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/25 23:49:20 nikita Exp $
+
+SHA1 (goldmark-1.1.30.tar.gz) = fd359cf605ab77466204c97d6d541fe2036f8c69
+RMD160 (goldmark-1.1.30.tar.gz) = d6cb209d6835d00661f4c7693d8fb78c3d00d6ee
+SHA512 (goldmark-1.1.30.tar.gz) = 2b3010eafc0daf4e2fe27b0bea38eff38025c145db1806324e341224b31e494c10ffd167d89b4cf02fff120d4b9507e3afe69ea1e218c8fc1e74d16490479357
+Size (goldmark-1.1.30.tar.gz) = 225425 bytes



Home | Main Index | Thread Index | Old Index