Fri Feb 17 16:46:43 2023 UTC ()
py-markdown2: updated to 2.4.8

python-markdown2 2.4.8

* Fix images not being procesed correctly

python-markdown2 2.4.7

* Fix hashing nested HTML blocks
* Fix backslash being unable to escape raw HTML tags
* Add support for telegram spoiler in extras
* mermaid support
* Fix escaping ampersands in hrefs
* Fix indented codeblocks inside fences
* Remove code-color extra

python-markdown2 2.4.6

* Feature wavedrom support
* Fix mixing ordered and un-ordered lists combining into single list type

python-markdown2 2.4.5

* Add optional dependencies to setup.py

python-markdown2 2.4.4

* Fix TypeError if html-classes extra is None
* Remove Python2 support
* Replace <strike> with <s> in strike extra
* Fix link patterns extra applying within links
* create proper entry point
* Codespans inside link text issue344
* Underline and HTML comments
* Links with brackets
* Fix emacs local variable one-liners
* Example of the current mixed-paragraph mode behavior in lists
* Fix code block indentation in lists
* Fix filter bypass leading to XSS
* Fix html-classes extra not applying to code spans
* Fix pygments block matching
* Fix pyshell blocks in blockquotes
* Fix multilevel lists
* Remove _uniform_outdent_limit function
* Add support for ordered lists that don't start at 1.
* Fix AssertionError with lazy numbered lists
* Add <ul> and <ol> tags to html-classes extra
* XSS test and fix

python-markdown2 2.4.3

* Fix meta indentation
* Fix code surrounded by blank lines inside blockquote fenced code blocks
* Fix inline code pipe symbol within tables
* Fix code block parsing error
* Fix hr block created when not supposed to
* Fix backslashes removed by adjacent code blocks
* Fix md5-* in resulting HTML when several code blocks follow one by one
* Fix excessive <br> tags in lists using break-on-newline extra
* Standardize key and value definitions for metadata extra
* Fix fenced code blocks breaking lists
* Fix catastrophic backtracking (Regex DoS) in pyshell blocks.
* Fix incorrect indentation of fenced code blocks within lists
* RST admonitions
* Improve error message if link_patterns forgotten
* fix compatibility with pygments 2.12

python-markdown2 2.4.2

* Fix for fenced code blocks issue
* Be more strict on auto linking urls, RE DOS fix

python-markdown2 2.4.1

* Tables extra: allow whitespace at the end of the underline row
* Pyshell extra: enable syntax highlighting if fenced-code-blocks is loaded.
* Regex DOS bandaid fix

python-markdown2 2.4.0

* Fixed bug breaking strings elements in metadata lists
* When rendering fenced code blocks, also add the language-LANG class
* Regex DoS fixes


(adam)
diff -r1.19 -r1.20 pkgsrc/textproc/py-markdown2/Makefile
diff -r1.3 -r1.4 pkgsrc/textproc/py-markdown2/PLIST
diff -r1.15 -r1.16 pkgsrc/textproc/py-markdown2/distinfo

cvs diff -r1.19 -r1.20 pkgsrc/textproc/py-markdown2/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-markdown2/Makefile 2022/01/04 20:54:59 1.19
+++ pkgsrc/textproc/py-markdown2/Makefile 2023/02/17 16:46:42 1.20
@@ -1,27 +1,28 @@ @@ -1,27 +1,28 @@
1# $NetBSD: Makefile,v 1.19 2022/01/04 20:54:59 wiz Exp $ 1# $NetBSD: Makefile,v 1.20 2023/02/17 16:46:42 adam Exp $
2 2
3DISTNAME= markdown2-2.3.10 3DISTNAME= markdown2-2.4.8
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= textproc python 5CATEGORIES= textproc python
7MASTER_SITES= ${MASTER_SITE_PYPI:=m/markdown2/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=m/markdown2/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/trentm/python-markdown2 9HOMEPAGE= https://github.com/trentm/python-markdown2
11COMMENT= Fast and complete Python implementation of Markdown 10COMMENT= Fast and complete Python implementation of Markdown
12LICENSE= mit 11LICENSE= mit
13 12
14USE_LANGUAGES= # none 13USE_LANGUAGES= # none
15 14
 15PYTHON_VERSIONS_INCOMPATIBLE= 27
 16
16REPLACE_PYTHON= lib/markdown2.py 17REPLACE_PYTHON= lib/markdown2.py
17 18
18post-install: 19post-install:
19 cd ${DESTDIR}${PREFIX}/bin && \ 20 cd ${DESTDIR}${PREFIX}/bin && \
20 ${MV} markdown2 markdown2-${PYVERSSUFFIX} || ${TRUE} 21 ${MV} markdown2 markdown2-${PYVERSSUFFIX} || ${TRUE}
21 22
22do-test: 23do-test:
23 cd ${WRKSRC}/test && ${PYTHONBIN} test.py 24 cd ${WRKSRC}/test && ${PYTHONBIN} test.py
24 25
25.include "../../lang/python/application.mk" 26.include "../../lang/python/application.mk"
26.include "../../lang/python/egg.mk" 27.include "../../lang/python/egg.mk"
27.include "../../mk/bsd.pkg.mk" 28.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/textproc/py-markdown2/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/py-markdown2/PLIST 2018/12/06 20:30:31 1.3
+++ pkgsrc/textproc/py-markdown2/PLIST 2023/02/17 16:46:42 1.4
@@ -1,9 +1,11 @@ @@ -1,9 +1,11 @@
1@comment $NetBSD: PLIST,v 1.3 2018/12/06 20:30:31 adam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2023/02/17 16:46:42 adam Exp $
2bin/markdown2-${PYVERSSUFFIX} 2bin/markdown2-${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 7${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/markdown2.py 9${PYSITELIB}/markdown2.py
8${PYSITELIB}/markdown2.pyc 10${PYSITELIB}/markdown2.pyc
9${PYSITELIB}/markdown2.pyo 11${PYSITELIB}/markdown2.pyo

cvs diff -r1.15 -r1.16 pkgsrc/textproc/py-markdown2/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-markdown2/distinfo 2021/10/26 11:23:07 1.15
+++ pkgsrc/textproc/py-markdown2/distinfo 2023/02/17 16:46:42 1.16
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.15 2021/10/26 11:23:07 nia Exp $ 1$NetBSD: distinfo,v 1.16 2023/02/17 16:46:42 adam Exp $
2 2
3BLAKE2s (markdown2-2.3.10.tar.gz) = 97faabdc448e8a638597060b8bda8f903018285b94756800e02a5e6f2749564f 3BLAKE2s (markdown2-2.4.8.tar.gz) = 8b103f66e71a4c5008dc48748d29e8f31abedf0d9ff305e15d56d404ff34dbcd
4SHA512 (markdown2-2.3.10.tar.gz) = 0d695cae9e131930ef67b0f389e0c14b062ddd009e441ec8b70553e4a71d7f4a0ec63f9e039624059c3fe09ad37480e3ddafcf31ffa1b031be26490c6b6b89c4 4SHA512 (markdown2-2.4.8.tar.gz) = d7ec267ac11bdb5f58b34d9bef095377790de50cea03d1ebb50f586c463c1c3ab541a88a00ea5afae83943699e607827e760504e211014ce8a2c33b4c72ff07e
5Size (markdown2-2.3.10.tar.gz) = 102543 bytes 5Size (markdown2-2.4.8.tar.gz) = 119398 bytes