pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-mistune



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Aug 28 09:20:22 UTC 2023

Modified Files:
        pkgsrc/textproc/py-mistune: Makefile PLIST distinfo

Log Message:
py-mistune: updated to 3.0.1

Version 3.0.1
-------------
* Add ``py.typed`` for mypy
* Add ``tests``, ``docs`` for sdist
* Support ``renderer="ast"`` for rendering AST

Version 3.0.0
-------------
* Do not strip leading unicode spaces like emsp
* Ensure new line at end of the text

Version 3.0.0rc5
----------------
* Fix fenced directives
* Fix inline link parser
* Fix block math plugin for multiple lines
* Fix empty list item for markdown renderer

Version 3.0.0rc4
----------------
* Fix plugin footnotes when there is no newline at the end
* Move safe HTML entities to HTMLRenderer
* Redesign directives parsing
* Add Image and Figure directive

Version 3.0.0rc3
----------------
* Render inline math with ``\(`` and ``\)``
* Added ``RSTRenderer``, and ``MarkdownRenderer``
* Fix ``toc_hook`` method
* **Breaking change**, rename ``RstDirective`` to ``RSTDirective``

Version 3.0.0rc2
----------------
* Add **spoiler** plugin
* Add ``collapse`` option for ``TableOfContents`` directive
* **Breaking change** on directive design, added fenced directive

Version 3.0.0rc1
----------------
* Add **superscript** plugin

Version 3.0.0a3
---------------
* Fix ruby plugin
* Change toc parameter ``depth`` to ``level``

Version 3.0.0a2
---------------
* Escape block code in HTMLRenderer
* Fix parsing links

Version 3.0.0a1
---------------
This is the first release of v3. Features included:

* redesigned mistune
* plugins
* directives


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/py-mistune/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-mistune/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/py-mistune/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/py-mistune/Makefile
diff -u pkgsrc/textproc/py-mistune/Makefile:1.10 pkgsrc/textproc/py-mistune/Makefile:1.11
--- pkgsrc/textproc/py-mistune/Makefile:1.10    Fri May  5 09:02:14 2023
+++ pkgsrc/textproc/py-mistune/Makefile Mon Aug 28 09:20:22 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2023/05/05 09:02:14 adam Exp $
+# $NetBSD: Makefile,v 1.11 2023/08/28 09:20:22 adam Exp $
 
-DISTNAME=      mistune-2.0.5
+DISTNAME=      mistune-3.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mistune/}
@@ -10,6 +10,9 @@ HOMEPAGE=     https://github.com/lepture/mis
 COMMENT=       Sane Markdown parser with useful plugins and renderers
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
@@ -17,5 +20,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-mistune/PLIST
diff -u pkgsrc/textproc/py-mistune/PLIST:1.4 pkgsrc/textproc/py-mistune/PLIST:1.5
--- pkgsrc/textproc/py-mistune/PLIST:1.4        Fri May  5 08:48:35 2023
+++ pkgsrc/textproc/py-mistune/PLIST    Mon Aug 28 09:20:22 2023
@@ -1,63 +1,80 @@
-@comment $NetBSD: PLIST,v 1.4 2023/05/05 08:48:35 wiz 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
+@comment $NetBSD: PLIST,v 1.5 2023/08/28 09:20:22 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${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}/top_level.txt
 ${PYSITELIB}/mistune/__init__.py
 ${PYSITELIB}/mistune/__init__.pyc
-${PYSITELIB}/mistune/__init__.pyo
+${PYSITELIB}/mistune/__main__.py
+${PYSITELIB}/mistune/__main__.pyc
 ${PYSITELIB}/mistune/block_parser.py
 ${PYSITELIB}/mistune/block_parser.pyc
-${PYSITELIB}/mistune/block_parser.pyo
+${PYSITELIB}/mistune/core.py
+${PYSITELIB}/mistune/core.pyc
 ${PYSITELIB}/mistune/directives/__init__.py
 ${PYSITELIB}/mistune/directives/__init__.pyc
-${PYSITELIB}/mistune/directives/__init__.pyo
+${PYSITELIB}/mistune/directives/_base.py
+${PYSITELIB}/mistune/directives/_base.pyc
+${PYSITELIB}/mistune/directives/_fenced.py
+${PYSITELIB}/mistune/directives/_fenced.pyc
+${PYSITELIB}/mistune/directives/_rst.py
+${PYSITELIB}/mistune/directives/_rst.pyc
 ${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/image.py
+${PYSITELIB}/mistune/directives/image.pyc
 ${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/helpers.py
+${PYSITELIB}/mistune/helpers.pyc
 ${PYSITELIB}/mistune/inline_parser.py
 ${PYSITELIB}/mistune/inline_parser.pyc
-${PYSITELIB}/mistune/inline_parser.pyo
+${PYSITELIB}/mistune/list_parser.py
+${PYSITELIB}/mistune/list_parser.pyc
 ${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/formatting.py
+${PYSITELIB}/mistune/plugins/formatting.pyc
+${PYSITELIB}/mistune/plugins/math.py
+${PYSITELIB}/mistune/plugins/math.pyc
+${PYSITELIB}/mistune/plugins/ruby.py
+${PYSITELIB}/mistune/plugins/ruby.pyc
+${PYSITELIB}/mistune/plugins/speedup.py
+${PYSITELIB}/mistune/plugins/speedup.pyc
+${PYSITELIB}/mistune/plugins/spoiler.py
+${PYSITELIB}/mistune/plugins/spoiler.pyc
 ${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/plugins/url.py
+${PYSITELIB}/mistune/plugins/url.pyc
+${PYSITELIB}/mistune/py.typed
+${PYSITELIB}/mistune/renderers/__init__.py
+${PYSITELIB}/mistune/renderers/__init__.pyc
+${PYSITELIB}/mistune/renderers/_list.py
+${PYSITELIB}/mistune/renderers/_list.pyc
+${PYSITELIB}/mistune/renderers/html.py
+${PYSITELIB}/mistune/renderers/html.pyc
+${PYSITELIB}/mistune/renderers/markdown.py
+${PYSITELIB}/mistune/renderers/markdown.pyc
+${PYSITELIB}/mistune/renderers/rst.py
+${PYSITELIB}/mistune/renderers/rst.pyc
+${PYSITELIB}/mistune/toc.py
+${PYSITELIB}/mistune/toc.pyc
 ${PYSITELIB}/mistune/util.py
 ${PYSITELIB}/mistune/util.pyc
-${PYSITELIB}/mistune/util.pyo

Index: pkgsrc/textproc/py-mistune/distinfo
diff -u pkgsrc/textproc/py-mistune/distinfo:1.9 pkgsrc/textproc/py-mistune/distinfo:1.10
--- pkgsrc/textproc/py-mistune/distinfo:1.9     Fri May  5 08:48:35 2023
+++ pkgsrc/textproc/py-mistune/distinfo Mon Aug 28 09:20:22 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2023/05/05 08:48:35 wiz Exp $
+$NetBSD: distinfo,v 1.10 2023/08/28 09:20:22 adam 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
+BLAKE2s (mistune-3.0.1.tar.gz) = 87fddbd9f03bd598e7b482d0da132f4d909518131f1e5911d1666fad1a479287
+SHA512 (mistune-3.0.1.tar.gz) = 280c1baf87a5dac7aafc8181f3098c556c36017a97de6c75576858ff2a318103c9086c811d61faef43453160020bd4a1db2a3007d6afb26e6cfc701df40d435f
+Size (mistune-3.0.1.tar.gz) = 91271 bytes



Home | Main Index | Thread Index | Old Index