py-mistune2: re-add version 2.0.5 of py-mistune

as mailman3 (py-hyperkitty) doesn't handle version 3.
This commit is contained in:
markd 2024-02-12 11:41:09 +00:00
parent d76285ebc6
commit d407f08967
5 changed files with 100 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1452 2024/02/10 07:02:34 adam Exp $
# $NetBSD: Makefile,v 1.1453 2024/02/12 11:41:09 markd Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@ -1107,6 +1107,7 @@ SUBDIR+= py-mdit-py-plugins
SUBDIR+= py-mecab
SUBDIR+= py-merge3
SUBDIR+= py-mistune
SUBDIR+= py-mistune2
SUBDIR+= py-mkdocs
SUBDIR+= py-mkdocs-bootstrap
SUBDIR+= py-mkdocs-bootswatch

View File

@ -0,0 +1,9 @@
The fastest markdown parser in pure Python with renderer features, inspired by
marked.
Features:
* Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy.
* Very Fast. It is the fastest in all pure Python markdown parsers.
* More Features. Table, footnotes, autolink, fenced code etc.
This is the older version 2, required by mailman3

View File

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.1 2024/02/12 11:41:09 markd Exp $
DISTNAME= mistune-2.0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/mistune/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/lepture/mistune
COMMENT= Sane Markdown parser with useful plugins and renderers
LICENSE= modified-bsd
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -0,0 +1,63 @@
@comment $NetBSD: PLIST,v 1.1 2024/02/12 11:41:09 markd Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/mistune/__init__.py
${PYSITELIB}/mistune/__init__.pyc
${PYSITELIB}/mistune/__init__.pyo
${PYSITELIB}/mistune/block_parser.py
${PYSITELIB}/mistune/block_parser.pyc
${PYSITELIB}/mistune/block_parser.pyo
${PYSITELIB}/mistune/directives/__init__.py
${PYSITELIB}/mistune/directives/__init__.pyc
${PYSITELIB}/mistune/directives/__init__.pyo
${PYSITELIB}/mistune/directives/admonition.py
${PYSITELIB}/mistune/directives/admonition.pyc
${PYSITELIB}/mistune/directives/admonition.pyo
${PYSITELIB}/mistune/directives/base.py
${PYSITELIB}/mistune/directives/base.pyc
${PYSITELIB}/mistune/directives/base.pyo
${PYSITELIB}/mistune/directives/include.py
${PYSITELIB}/mistune/directives/include.pyc
${PYSITELIB}/mistune/directives/include.pyo
${PYSITELIB}/mistune/directives/toc.py
${PYSITELIB}/mistune/directives/toc.pyc
${PYSITELIB}/mistune/directives/toc.pyo
${PYSITELIB}/mistune/inline_parser.py
${PYSITELIB}/mistune/inline_parser.pyc
${PYSITELIB}/mistune/inline_parser.pyo
${PYSITELIB}/mistune/markdown.py
${PYSITELIB}/mistune/markdown.pyc
${PYSITELIB}/mistune/markdown.pyo
${PYSITELIB}/mistune/plugins/__init__.py
${PYSITELIB}/mistune/plugins/__init__.pyc
${PYSITELIB}/mistune/plugins/__init__.pyo
${PYSITELIB}/mistune/plugins/abbr.py
${PYSITELIB}/mistune/plugins/abbr.pyc
${PYSITELIB}/mistune/plugins/abbr.pyo
${PYSITELIB}/mistune/plugins/def_list.py
${PYSITELIB}/mistune/plugins/def_list.pyc
${PYSITELIB}/mistune/plugins/def_list.pyo
${PYSITELIB}/mistune/plugins/extra.py
${PYSITELIB}/mistune/plugins/extra.pyc
${PYSITELIB}/mistune/plugins/extra.pyo
${PYSITELIB}/mistune/plugins/footnotes.py
${PYSITELIB}/mistune/plugins/footnotes.pyc
${PYSITELIB}/mistune/plugins/footnotes.pyo
${PYSITELIB}/mistune/plugins/table.py
${PYSITELIB}/mistune/plugins/table.pyc
${PYSITELIB}/mistune/plugins/table.pyo
${PYSITELIB}/mistune/plugins/task_lists.py
${PYSITELIB}/mistune/plugins/task_lists.pyc
${PYSITELIB}/mistune/plugins/task_lists.pyo
${PYSITELIB}/mistune/renderers.py
${PYSITELIB}/mistune/renderers.pyc
${PYSITELIB}/mistune/renderers.pyo
${PYSITELIB}/mistune/scanner.py
${PYSITELIB}/mistune/scanner.pyc
${PYSITELIB}/mistune/scanner.pyo
${PYSITELIB}/mistune/util.py
${PYSITELIB}/mistune/util.pyc
${PYSITELIB}/mistune/util.pyo

View File

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2024/02/12 11:41:09 markd Exp $
BLAKE2s (mistune-2.0.5.tar.gz) = 400a32e13544e171f146d6d885eea4b358bfa98da3e856886daedb64239a9405
SHA512 (mistune-2.0.5.tar.gz) = 109447977a441ebbedfca2abbe62415139d94c48ae56c3d8cae04df3f93ccd1e8333b3dbb8bf61a2096b903df6c3aab2fadd0893fb82815416f17555465e98c7
Size (mistune-2.0.5.tar.gz) = 75854 bytes