pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-markdown



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar 17 14:05:34 UTC 2024

Modified Files:
        pkgsrc/textproc/py-markdown: Makefile distinfo

Log Message:
py-markdown: update to 3.6.

## [3.6] -- 2024-03-14

### Changed

#### Refactor TOC Sanitation

* All postprocessors are now run on heading content.
* Footnote references are now stripped from heading content. Fixes #660.
* A more robust `striptags` is provided to convert headings to plain text.
  Unlike, the `markupsafe` implementation, HTML entities are not unescaped.
* The plain text `name`, rich `html`, and unescaped raw `data-toc-label` are
  saved to `toc_tokens`, allowing users to access the full rich text content of
  the headings directly from `toc_tokens`.
* The value of `data-toc-label` is sanitized separate from heading content
  before being written to `name`. This fixes a bug which allowed markup through
  in certain circumstances. To access the raw unsanitized data, retrieve the
  value from `token['data-toc-label']` directly.
* An `html.unescape` call is made just prior to calling `slugify` so that
  `slugify` only operates on Unicode characters. Note that `html.unescape` is
  not run on `name`, `html`, or `data-toc-label`.
* The functions `get_name` and `stashedHTML2text` defined in the `toc` extension
  are both **deprecated**. Instead, third party extensions should use some
  combination of the new functions `run_postprocessors`, `render_inner_html` and
  `striptags`.

### Fixed

* Include `scripts/*.py` in the generated source tarballs (#1430).
* Ensure lines after heading in loose list are properly detabbed (#1443).
* Give smarty tree processor higher priority than toc (#1440).
* Permit carets (`^`) and square brackets (`]`) but explicitly exclude
  backslashes (`\`) from abbreviations (#1444).
* In attribute lists (`attr_list`, `fenced_code`), quoted attribute values are
  now allowed to contain curly braces (`}`) (#1414).


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/textproc/py-markdown/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/textproc/py-markdown/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-markdown/Makefile
diff -u pkgsrc/textproc/py-markdown/Makefile:1.34 pkgsrc/textproc/py-markdown/Makefile:1.35
--- pkgsrc/textproc/py-markdown/Makefile:1.34   Sat Jan 13 07:10:27 2024
+++ pkgsrc/textproc/py-markdown/Makefile        Sun Mar 17 14:05:34 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2024/01/13 07:10:27 adam Exp $
+# $NetBSD: Makefile,v 1.35 2024/03/17 14:05:34 wiz Exp $
 
-DISTNAME=      Markdown-3.5.2
+DISTNAME=      Markdown-3.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/Markdown/}

Index: pkgsrc/textproc/py-markdown/distinfo
diff -u pkgsrc/textproc/py-markdown/distinfo:1.23 pkgsrc/textproc/py-markdown/distinfo:1.24
--- pkgsrc/textproc/py-markdown/distinfo:1.23   Sat Jan 13 07:10:27 2024
+++ pkgsrc/textproc/py-markdown/distinfo        Sun Mar 17 14:05:34 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2024/01/13 07:10:27 adam Exp $
+$NetBSD: distinfo,v 1.24 2024/03/17 14:05:34 wiz Exp $
 
-BLAKE2s (Markdown-3.5.2.tar.gz) = ea28f1763cdd68bdb277f41078886b48ef7ab9b530279da150390ac2b81bde63
-SHA512 (Markdown-3.5.2.tar.gz) = a112620162cb0764848dbe766bd23df6b7220ec3db6eb60d5663757092300c5c6abb9af6a412280fc3f59e617263c3abf0ed4a969eebacd3e964228525165f24
-Size (Markdown-3.5.2.tar.gz) = 349398 bytes
+BLAKE2s (Markdown-3.6.tar.gz) = 42032995a69f916b4de81d08896879ba9bd1879e2e584150a4da5bc179cb93f2
+SHA512 (Markdown-3.6.tar.gz) = a523f75ea72fa71f4f0f1a59523bb1a6c5c7605ba5a0be4dc37aa5bd5c87e32563f5253404485c99c13caa27501c9003aea524154a7999a22e6497829492b997
+Size (Markdown-3.6.tar.gz) = 354715 bytes



Home | Main Index | Thread Index | Old Index