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:
parent
4bead352f4
commit
e863277c54
@ -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
|
||||
|
19
textproc/py-mistletoe/Makefile
Normal file
19
textproc/py-mistletoe/Makefile
Normal 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>
|
3
textproc/py-mistletoe/distinfo
Normal file
3
textproc/py-mistletoe/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1679498506
|
||||
SHA256 (mistletoe-1.0.1.tar.gz) = b1f89afb079a1b1a542e9ef2c08dd450a07a2bd935c03cab22c328ad7ca4d8e8
|
||||
SIZE (mistletoe-1.0.1.tar.gz) = 48898
|
10
textproc/py-mistletoe/pkg-descr
Normal file
10
textproc/py-mistletoe/pkg-descr
Normal 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!
|
Loading…
Reference in New Issue
Block a user