git: e863277c5419 - main - textproc/py-mistletoe: Add py-mistletoe 1.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 17:33:24 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e863277c5419501c6356c975b1ecf52401016687 commit e863277c5419501c6356c975b1ecf52401016687 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-05 17:07:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-05 17:29:40 +0000 textproc/py-mistletoe: Add py-mistletoe 1.0.1 mistletoe is a Markdown parser in pure Python, designed to be fast, spec-compliant and fully customizable. Apart from being the fastest CommonMark-compliant Markdown parser implementation in pure Python, mistletoe also supports easy definitions of custom tokens. Parsing Markdown into an abstract syntax tree also allows us to swap out renderers for different output formats, without touching any of the core components. Remember to spell mistletoe in lowercase! --- textproc/Makefile | 1 + textproc/py-mistletoe/Makefile | 19 +++++++++++++++++++ textproc/py-mistletoe/distinfo | 3 +++ textproc/py-mistletoe/pkg-descr | 10 ++++++++++ 4 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 8683909822fa..b845da088917 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1394,6 +1394,7 @@ SUBDIR += py-mdurl SUBDIR += py-mike SUBDIR += py-misaka + SUBDIR += py-mistletoe SUBDIR += py-mistune SUBDIR += py-mistune0 SUBDIR += py-mkdocs diff --git a/textproc/py-mistletoe/Makefile b/textproc/py-mistletoe/Makefile new file mode 100644 index 000000000000..949e00348dbd --- /dev/null +++ b/textproc/py-mistletoe/Makefile @@ -0,0 +1,19 @@ +PORTNAME= mistletoe +PORTVERSION= 1.0.1 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast, extensible Markdown parser in pure Python +WWW= https://github.com/miyuchina/mistletoe + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-mistletoe/distinfo b/textproc/py-mistletoe/distinfo new file mode 100644 index 000000000000..53676a3da28b --- /dev/null +++ b/textproc/py-mistletoe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679498506 +SHA256 (mistletoe-1.0.1.tar.gz) = b1f89afb079a1b1a542e9ef2c08dd450a07a2bd935c03cab22c328ad7ca4d8e8 +SIZE (mistletoe-1.0.1.tar.gz) = 48898 diff --git a/textproc/py-mistletoe/pkg-descr b/textproc/py-mistletoe/pkg-descr new file mode 100644 index 000000000000..41698d6f38fc --- /dev/null +++ b/textproc/py-mistletoe/pkg-descr @@ -0,0 +1,10 @@ +mistletoe is a Markdown parser in pure Python, designed to be fast, +spec-compliant and fully customizable. + +Apart from being the fastest CommonMark-compliant Markdown parser implementation +in pure Python, mistletoe also supports easy definitions of custom tokens. +Parsing Markdown into an abstract syntax tree also allows us to swap out +renderers for different output formats, without touching any of the core +components. + +Remember to spell mistletoe in lowercase!