From edeaf332695551dbde2edb065c978e75447624de Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 19 May 2026 19:39:04 +0800 Subject: python3-myst-parser: upgrade 5.0.0 -> 5.1.0 New Features ============ - Add "alert" syntax extension for GFM alerts (e.g. > [!NOTE]) - Add "gfm_autolink" syntax extension for GFM autolinks - Add myst_strikethrough_single_tilde config option to allow single tilde (~) for strikethrough - Add myst_colon_fence_exact_match config option to require the closing colon fence to have exactly the same number of colons as the opening Improvements ============= - Update myst_gfm_only mode to use the unified gfm_plugin, which now includes GFM autolinks, alerts, and improved strikethrough/tasklist handling - Improve MathJax 4 compatibility for Sphinx 9 - Stop directive-option parsing at colon fences, fixing nested colon fence directives Bug Fixes =========== - Use docname instead of source path in warning locations - Correctly encode & in Markdown URLs by not HTML-escaping refuri - Fix RemovedInSphinx10Warning for inventory item iteration - Pin mdit-py-plugins>=0.6.1 for nested field list fix Dependency Upgrades ==================== - Upgrade to markdown-it-py~=4.2 and mdit-py-plugins~=0.6 - Update pygments requirement from <2.20 to <2.21 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-myst-parser_5.1.0.bb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb (limited to 'meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb b/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb new file mode 100644 index 0000000000..6471e370cc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "An extended commonmark compliant parser, with bridges to docutils/sphinx" +HOMEPAGE = "https://github.com/executablebooks/MyST-Parser" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a38a1697260a7ad7bf29f44b362db1fc" + +SRC_URI[sha256sum] = "ab69322dc6719dcc7f296479dbb70181b66df6ed315064f92dbc85c0e1bf2f02" + +inherit pypi python_flit_core + +PYPI_PACKAGE = "myst_parser" + +RDEPENDS:${PN} = "\ + python3-docutils \ + python3-jinja2 \ + python3-markdown-it-py \ + python3-mdit-py-plugins \ + python3-pyyaml \ + python3-sphinx \ + " + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf