1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

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!
This commit is contained in:
Po-Chuan Hsieh 2023-04-06 01:07:35 +08:00
parent 4bead352f4
commit e863277c54
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 33 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1679498506
SHA256 (mistletoe-1.0.1.tar.gz) = b1f89afb079a1b1a542e9ef2c08dd450a07a2bd935c03cab22c328ad7ca4d8e8
SIZE (mistletoe-1.0.1.tar.gz) = 48898

View File

@ -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!