pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb 20 10:52:17 UTC 2023

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-markdown-it-py: ALTERNATIVES DESCR Makefile PLIST
            distinfo

Log Message:
py-markdown-it-py: added version 2.1.0

This is a Python port of markdown-it, and some of its associated plugins.

* Follows the CommonMark spec for baseline parsing
* Configurable syntax: you can add new rules and even replace existing ones.
* Pluggable: Adds syntax extensions to extend the parser (see the plugin list).
* High speed (see our benchmarking tests)
* Safe by default


To generate a diff of this commit:
cvs rdiff -u -r1.1364 -r1.1365 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-markdown-it-py/ALTERNATIVES \
    pkgsrc/textproc/py-markdown-it-py/DESCR \
    pkgsrc/textproc/py-markdown-it-py/Makefile \
    pkgsrc/textproc/py-markdown-it-py/PLIST \
    pkgsrc/textproc/py-markdown-it-py/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1364 pkgsrc/textproc/Makefile:1.1365
--- pkgsrc/textproc/Makefile:1.1364     Mon Jan 30 19:38:05 2023
+++ pkgsrc/textproc/Makefile    Mon Feb 20 10:52:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1364 2023/01/30 19:38:05 nikita Exp $
+# $NetBSD: Makefile,v 1.1365 2023/02/20 10:52:16 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1068,6 +1068,7 @@ SUBDIR+=  py-m2r
 SUBDIR+=       py-manuel
 SUBDIR+=       py-marisa
 SUBDIR+=       py-markdown
+SUBDIR+=       py-markdown-it-py
 SUBDIR+=       py-markdown-math
 SUBDIR+=       py-markdown2
 SUBDIR+=       py-markdown3

Added files:

Index: pkgsrc/textproc/py-markdown-it-py/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-markdown-it-py/ALTERNATIVES:1.1
--- /dev/null   Mon Feb 20 10:52:17 2023
+++ pkgsrc/textproc/py-markdown-it-py/ALTERNATIVES      Mon Feb 20 10:52:16 2023
@@ -0,0 +1 @@
+bin/markdown-it @PREFIX@/bin/markdown-it-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-markdown-it-py/DESCR
diff -u /dev/null pkgsrc/textproc/py-markdown-it-py/DESCR:1.1
--- /dev/null   Mon Feb 20 10:52:17 2023
+++ pkgsrc/textproc/py-markdown-it-py/DESCR     Mon Feb 20 10:52:16 2023
@@ -0,0 +1,7 @@
+This is a Python port of markdown-it, and some of its associated plugins.
+
+* Follows the CommonMark spec for baseline parsing
+* Configurable syntax: you can add new rules and even replace existing ones.
+* Pluggable: Adds syntax extensions to extend the parser (see the plugin list).
+* High speed (see our benchmarking tests)
+* Safe by default
Index: pkgsrc/textproc/py-markdown-it-py/Makefile
diff -u /dev/null pkgsrc/textproc/py-markdown-it-py/Makefile:1.1
--- /dev/null   Mon Feb 20 10:52:17 2023
+++ pkgsrc/textproc/py-markdown-it-py/Makefile  Mon Feb 20 10:52:16 2023
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2023/02/20 10:52:16 adam Exp $
+
+DISTNAME=      markdown-it-py-2.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/markdown-it-py/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/executablebooks/markdown-it-py
+COMMENT=       Python port of markdown-it
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.4:../../devel/py-flit_core
+DEPENDS+=      ${PYPKGPREFIX}-mdurl>=0.1:../../www/py-mdurl
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} markdown-it markdown-it-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-markdown-it-py/PLIST
diff -u /dev/null pkgsrc/textproc/py-markdown-it-py/PLIST:1.1
--- /dev/null   Mon Feb 20 10:52:17 2023
+++ pkgsrc/textproc/py-markdown-it-py/PLIST     Mon Feb 20 10:52:16 2023
@@ -0,0 +1,141 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/20 10:52:16 adam Exp $
+bin/markdown-it-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.markdown-it
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/markdown_it/__init__.py
+${PYSITELIB}/markdown_it/__init__.pyc
+${PYSITELIB}/markdown_it/_compat.py
+${PYSITELIB}/markdown_it/_compat.pyc
+${PYSITELIB}/markdown_it/_punycode.py
+${PYSITELIB}/markdown_it/_punycode.pyc
+${PYSITELIB}/markdown_it/cli/__init__.py
+${PYSITELIB}/markdown_it/cli/__init__.pyc
+${PYSITELIB}/markdown_it/cli/parse.py
+${PYSITELIB}/markdown_it/cli/parse.pyc
+${PYSITELIB}/markdown_it/common/__init__.py
+${PYSITELIB}/markdown_it/common/__init__.pyc
+${PYSITELIB}/markdown_it/common/entities.py
+${PYSITELIB}/markdown_it/common/entities.pyc
+${PYSITELIB}/markdown_it/common/html_blocks.py
+${PYSITELIB}/markdown_it/common/html_blocks.pyc
+${PYSITELIB}/markdown_it/common/html_re.py
+${PYSITELIB}/markdown_it/common/html_re.pyc
+${PYSITELIB}/markdown_it/common/normalize_url.py
+${PYSITELIB}/markdown_it/common/normalize_url.pyc
+${PYSITELIB}/markdown_it/common/utils.py
+${PYSITELIB}/markdown_it/common/utils.pyc
+${PYSITELIB}/markdown_it/helpers/__init__.py
+${PYSITELIB}/markdown_it/helpers/__init__.pyc
+${PYSITELIB}/markdown_it/helpers/parse_link_destination.py
+${PYSITELIB}/markdown_it/helpers/parse_link_destination.pyc
+${PYSITELIB}/markdown_it/helpers/parse_link_label.py
+${PYSITELIB}/markdown_it/helpers/parse_link_label.pyc
+${PYSITELIB}/markdown_it/helpers/parse_link_title.py
+${PYSITELIB}/markdown_it/helpers/parse_link_title.pyc
+${PYSITELIB}/markdown_it/main.py
+${PYSITELIB}/markdown_it/main.pyc
+${PYSITELIB}/markdown_it/parser_block.py
+${PYSITELIB}/markdown_it/parser_block.pyc
+${PYSITELIB}/markdown_it/parser_core.py
+${PYSITELIB}/markdown_it/parser_core.pyc
+${PYSITELIB}/markdown_it/parser_inline.py
+${PYSITELIB}/markdown_it/parser_inline.pyc
+${PYSITELIB}/markdown_it/port.yaml
+${PYSITELIB}/markdown_it/presets/__init__.py
+${PYSITELIB}/markdown_it/presets/__init__.pyc
+${PYSITELIB}/markdown_it/presets/commonmark.py
+${PYSITELIB}/markdown_it/presets/commonmark.pyc
+${PYSITELIB}/markdown_it/presets/default.py
+${PYSITELIB}/markdown_it/presets/default.pyc
+${PYSITELIB}/markdown_it/presets/zero.py
+${PYSITELIB}/markdown_it/presets/zero.pyc
+${PYSITELIB}/markdown_it/py.typed
+${PYSITELIB}/markdown_it/renderer.py
+${PYSITELIB}/markdown_it/renderer.pyc
+${PYSITELIB}/markdown_it/ruler.py
+${PYSITELIB}/markdown_it/ruler.pyc
+${PYSITELIB}/markdown_it/rules_block/__init__.py
+${PYSITELIB}/markdown_it/rules_block/__init__.pyc
+${PYSITELIB}/markdown_it/rules_block/blockquote.py
+${PYSITELIB}/markdown_it/rules_block/blockquote.pyc
+${PYSITELIB}/markdown_it/rules_block/code.py
+${PYSITELIB}/markdown_it/rules_block/code.pyc
+${PYSITELIB}/markdown_it/rules_block/fence.py
+${PYSITELIB}/markdown_it/rules_block/fence.pyc
+${PYSITELIB}/markdown_it/rules_block/heading.py
+${PYSITELIB}/markdown_it/rules_block/heading.pyc
+${PYSITELIB}/markdown_it/rules_block/hr.py
+${PYSITELIB}/markdown_it/rules_block/hr.pyc
+${PYSITELIB}/markdown_it/rules_block/html_block.py
+${PYSITELIB}/markdown_it/rules_block/html_block.pyc
+${PYSITELIB}/markdown_it/rules_block/lheading.py
+${PYSITELIB}/markdown_it/rules_block/lheading.pyc
+${PYSITELIB}/markdown_it/rules_block/list.py
+${PYSITELIB}/markdown_it/rules_block/list.pyc
+${PYSITELIB}/markdown_it/rules_block/paragraph.py
+${PYSITELIB}/markdown_it/rules_block/paragraph.pyc
+${PYSITELIB}/markdown_it/rules_block/reference.py
+${PYSITELIB}/markdown_it/rules_block/reference.pyc
+${PYSITELIB}/markdown_it/rules_block/state_block.py
+${PYSITELIB}/markdown_it/rules_block/state_block.pyc
+${PYSITELIB}/markdown_it/rules_block/table.py
+${PYSITELIB}/markdown_it/rules_block/table.pyc
+${PYSITELIB}/markdown_it/rules_core/__init__.py
+${PYSITELIB}/markdown_it/rules_core/__init__.pyc
+${PYSITELIB}/markdown_it/rules_core/block.py
+${PYSITELIB}/markdown_it/rules_core/block.pyc
+${PYSITELIB}/markdown_it/rules_core/inline.py
+${PYSITELIB}/markdown_it/rules_core/inline.pyc
+${PYSITELIB}/markdown_it/rules_core/linkify.py
+${PYSITELIB}/markdown_it/rules_core/linkify.pyc
+${PYSITELIB}/markdown_it/rules_core/normalize.py
+${PYSITELIB}/markdown_it/rules_core/normalize.pyc
+${PYSITELIB}/markdown_it/rules_core/replacements.py
+${PYSITELIB}/markdown_it/rules_core/replacements.pyc
+${PYSITELIB}/markdown_it/rules_core/smartquotes.py
+${PYSITELIB}/markdown_it/rules_core/smartquotes.pyc
+${PYSITELIB}/markdown_it/rules_core/state_core.py
+${PYSITELIB}/markdown_it/rules_core/state_core.pyc
+${PYSITELIB}/markdown_it/rules_inline/__init__.py
+${PYSITELIB}/markdown_it/rules_inline/__init__.pyc
+${PYSITELIB}/markdown_it/rules_inline/autolink.py
+${PYSITELIB}/markdown_it/rules_inline/autolink.pyc
+${PYSITELIB}/markdown_it/rules_inline/backticks.py
+${PYSITELIB}/markdown_it/rules_inline/backticks.pyc
+${PYSITELIB}/markdown_it/rules_inline/balance_pairs.py
+${PYSITELIB}/markdown_it/rules_inline/balance_pairs.pyc
+${PYSITELIB}/markdown_it/rules_inline/emphasis.py
+${PYSITELIB}/markdown_it/rules_inline/emphasis.pyc
+${PYSITELIB}/markdown_it/rules_inline/entity.py
+${PYSITELIB}/markdown_it/rules_inline/entity.pyc
+${PYSITELIB}/markdown_it/rules_inline/escape.py
+${PYSITELIB}/markdown_it/rules_inline/escape.pyc
+${PYSITELIB}/markdown_it/rules_inline/html_inline.py
+${PYSITELIB}/markdown_it/rules_inline/html_inline.pyc
+${PYSITELIB}/markdown_it/rules_inline/image.py
+${PYSITELIB}/markdown_it/rules_inline/image.pyc
+${PYSITELIB}/markdown_it/rules_inline/link.py
+${PYSITELIB}/markdown_it/rules_inline/link.pyc
+${PYSITELIB}/markdown_it/rules_inline/newline.py
+${PYSITELIB}/markdown_it/rules_inline/newline.pyc
+${PYSITELIB}/markdown_it/rules_inline/state_inline.py
+${PYSITELIB}/markdown_it/rules_inline/state_inline.pyc
+${PYSITELIB}/markdown_it/rules_inline/strikethrough.py
+${PYSITELIB}/markdown_it/rules_inline/strikethrough.pyc
+${PYSITELIB}/markdown_it/rules_inline/text.py
+${PYSITELIB}/markdown_it/rules_inline/text.pyc
+${PYSITELIB}/markdown_it/rules_inline/text_collapse.py
+${PYSITELIB}/markdown_it/rules_inline/text_collapse.pyc
+${PYSITELIB}/markdown_it/token.py
+${PYSITELIB}/markdown_it/token.pyc
+${PYSITELIB}/markdown_it/tree.py
+${PYSITELIB}/markdown_it/tree.pyc
+${PYSITELIB}/markdown_it/utils.py
+${PYSITELIB}/markdown_it/utils.pyc
Index: pkgsrc/textproc/py-markdown-it-py/distinfo
diff -u /dev/null pkgsrc/textproc/py-markdown-it-py/distinfo:1.1
--- /dev/null   Mon Feb 20 10:52:17 2023
+++ pkgsrc/textproc/py-markdown-it-py/distinfo  Mon Feb 20 10:52:16 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/02/20 10:52:16 adam Exp $
+
+BLAKE2s (markdown-it-py-2.1.0.tar.gz) = 9a7bb89e467342a88e839c3a58b3e6d48be17e57a8f1a790b4347fea22daf077
+SHA512 (markdown-it-py-2.1.0.tar.gz) = b69231cd47b906e107393fe9c079338e1fc0cc6eac565e4c3f26cf4c5daad6526a9c8ebdc8e391e9584cf9bb9fa4c73faa9fc17e1784965ab98fcfb824420e1c
+Size (markdown-it-py-2.1.0.tar.gz) = 66227 bytes



Home | Main Index | Thread Index | Old Index