- Updated from version 0.18.1 to 0.19 - Update of rootfile - Changelog Release 0.19 (2022-07-05) * General - Dropped support for Python 2.7, 3.5, and 3.6. and removed compatibility hacks from code and tests. - Code cleanup, check PEP 8 conformity with `flake8` (exceptions in file tox.ini). * docutils/__main__.py - New module. Support for ``python -m docutils``. Also used for the ``docutils`` console script `entry point`. * docutils/core.py: - Let `Publisher.publish()` print info and prompt when waiting for input from a terminal (cf. https://clig.dev/#interactivity). - Respect "input_encoding_error_handler" setting when opening a source. * docutils/io.py - New function `error_string()` obsoletes `utils.error_reporting.ErrorString`. - Class `ErrorOutput` moved here from `utils/error_reporting`. - Use "utf-8-sig" instead of Python's default encoding if the "input_encoding" setting is None. - Fix error when reading of UTF-16 encoded source without trailing newline. * docutils/parsers/__init__.py - Aliases "markdown" and "commonmark" point to "commonmark_wrapper". - Alias for the "myst" parser (https://pypi.org/project/myst-docutils). - Use absolute module names in `_parser_aliases` instead of two import attempts. (Keeps details if the `recommonmark_wrapper.py` module raises an ImportError.) - Prepend parser name to ImportError if importing a parser class fails. * docutils/parsers/commonmark_wrapper.py - New module for parsing CommonMark input. Selects a locally installed 3rd-party parser (pycmark, myst, or recommonmark). * docutils/parsers/recommonmark_wrapper.py - Raise ImportError, if import of the upstream parser module fails. If called from an `"include" directive`_, the system-message now has source/line info. - Adapt to and test with "recommonmark" versions 0.6.0 and 0.7.1. .. _"include" directive: docs/ref/rst/directives.html#include * docutils/parsers/rst/__init__.py - Update PEP base URL (fixes bug #445), use "https:" scheme in RFC base URL. - Add `reporter` to `Directive` class attributes. * docutils/parsers/rst/directives/__init__.py - `parser_name()` keeps details if converting ImportError to ValueError. * docutils/parsers/rst/roles.py - Don't use mutable default values for function arguments. Fixes bug #430. * docutils/transforms/universal.py - Fix bug #435: invalid references in `problematic` nodes with report_level=4. * docutils/utils/__init__.py - `decode_path()` returns `str` instance instead of `nodes.reprunicode`. * docutils/utils/error_reporting.py - Add deprecation warning. * docutils/writers/_html_base.py - Add "html writers" to `config_section_dependencies`. Fixes bug #443. - Write table column widths with 3 digits precision. Fixes bug #444. * docutils/writers/html5_polyglot/__init__.py - Add space before "charset" meta tag closing sequence. - Remove class value "controls" from an `image` node with video content after converting it to a "control" attribute of the <video> tag. - Wrap groups of footnotes in an ``<aside>`` for easier styling. * docutils/writers/pep_html/ - Use "https:" scheme in "python_home" URL default. - Fix links in template.txt. * setup.py: - New "docutils" console script `entry point`__. Fixes bug #447. __ https://packaging.python.org/en/latest/specifications/entry-points/ * test/alltests.py - Always encode the log file "alltests.out" using 'utf-8'. * test/DocutilsTestSupport.py - `exception_data()` now returns None if no exception was raised. - `recommonmark_wrapper` only imported if upstream parser is present. * test/test_parsers/test_rst/test_directives/test_tables.py - Fix bug #436: Null char valid in CSV since Python 3.11. * tools/docutils-cli.py - Allow 3rd-party drop-in components for reader and parser, too. - Fix help output. - Actual code moved to docutils.__main__.py.
Tested-by: Adolf Belka adolf.belka@ipfire.org Signed-off-by: Adolf Belka adolf.belka@ipfire.org --- config/rootfiles/packages/python3-docutils | 20 ++++++++++++-------- lfs/python3-docutils | 6 +++--- 2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/config/rootfiles/packages/python3-docutils b/config/rootfiles/packages/python3-docutils index 52bf11c03..d07f71195 100644 --- a/config/rootfiles/packages/python3-docutils +++ b/config/rootfiles/packages/python3-docutils @@ -1,3 +1,4 @@ +usr/bin/docutils usr/bin/rst2html.py usr/bin/rst2html4.py usr/bin/rst2html5.py @@ -11,15 +12,17 @@ usr/bin/rst2xetex.py usr/bin/rst2xml.py usr/bin/rstpep2html.py #usr/lib/python3.10/site-packages/docutils -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/PKG-INFO -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/SOURCES.html -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/SOURCES.txt -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/dependency_links.html -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/dependency_links.txt -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/top_level.html -#usr/lib/python3.10/site-packages/docutils-0.18.1-py3.10.egg-info/top_level.txt +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/PKG-INFO +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/SOURCES.html +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/SOURCES.txt +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/dependency_links.html +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/dependency_links.txt +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/entry_points.txt +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/top_level.html +#usr/lib/python3.10/site-packages/docutils-0.19-py3.10.egg-info/top_level.txt usr/lib/python3.10/site-packages/docutils/__init__.py +usr/lib/python3.10/site-packages/docutils/__main__.py usr/lib/python3.10/site-packages/docutils/core.py usr/lib/python3.10/site-packages/docutils/examples.py usr/lib/python3.10/site-packages/docutils/frontend.py @@ -56,6 +59,7 @@ usr/lib/python3.10/site-packages/docutils/languages/zh_tw.py usr/lib/python3.10/site-packages/docutils/nodes.py #usr/lib/python3.10/site-packages/docutils/parsers usr/lib/python3.10/site-packages/docutils/parsers/__init__.py +usr/lib/python3.10/site-packages/docutils/parsers/commonmark_wrapper.py usr/lib/python3.10/site-packages/docutils/parsers/null.py usr/lib/python3.10/site-packages/docutils/parsers/recommonmark_wrapper.py #usr/lib/python3.10/site-packages/docutils/parsers/rst diff --git a/lfs/python3-docutils b/lfs/python3-docutils index b4f97fc22..98bb8b765 100644 --- a/lfs/python3-docutils +++ b/lfs/python3-docutils @@ -24,7 +24,7 @@
include Config
-VER = 0.18.1 +VER = 0.19 SUMMARY = Python Documentation Utilities
THISAPP = docutils-$(VER) @@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = python3-docutils -PAK_VER = 5 +PAK_VER = 6
DEPS =
@@ -47,7 +47,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 = 3959199236baade9601d61c3f6d7b6f840fbefdd46d9ea05869fde2cd2c800356a01faba891f51e220c85e66f3029f49f616f2046b85041b674c64825a4242ec +$(DL_FILE)_BLAKE2 = 9983a905642de4e81ca118578671b503ddfda4bef1afcc0524de40543e1f9617fd8d768ef467da49d2f01076683400bad6a0fe15f6b5a3a1e202c42b2e34ab1b
install : $(TARGET)