Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2024-11-08 11:55:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docutils" Fri Nov 8 11:55:40 2024 rev:41 rq:1220388 version:0.21.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2024-04-03 17:19:11.734798239 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.2017/python-docutils.changes 2024-11-08 11:58:02.798126154 +0100 @@ -1,0 +2,27 @@ +Sun Nov 3 05:32:05 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 0.21.2: + * General: + + Drop support for Python 3.7 and 3.8. + + Provide rst2* "console_scripts" entry points (without the .py + extension) instead of installing the rst2*.py front end tools in the + binary PATH. + + Use docutils --reader=pep --writer=pep_html for a PEP preview. + + Use python -m docutils.writers.odf_odt.prepstyles to strip the page + size from an ODT writer stylesheet. + + Use the same CSV format for the :header: option and the main data of + the "csv-table" directive. + + New option "loading" for the "image" directive. Sets the new attribute + loading of the <image> doctree element. + * Configuration changes: + + New configuration setting root_prefix. Configurable root directory + for included files. + + New configuration setting sources for the "buildhtml.py" application. + + Simpler and more secure input encoding default behaviour: + # Do not use the locale encoding as fallback if Python is started in + UTF-8 mode. Stop using "latin1" as second fallback. + # Remove BOM (U+FEFF ZWNBSP at start of data) only if the + input_encoding configuration setting is None, '', 'utf-8-sig', + 'utf-16', or 'utf-32'. Do not remove other ZWNBSPs. + +------------------------------------------------------------------- Old: ---- docutils-0.20.1.tar.gz New: ---- docutils-0.21.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-docutils.spec ++++++ --- /var/tmp/diff_new_pack.tG6OUF/_old 2024-11-08 11:58:04.354191045 +0100 +++ /var/tmp/diff_new_pack.tG6OUF/_new 2024-11-08 11:58:04.374191879 +0100 @@ -26,16 +26,16 @@ %bcond_with test %endif Name: python-docutils%{psuffix} -Version: 0.20.1 +Version: 0.21.2 Release: 0 Summary: Python Documentation Utilities License: BSD-2-Clause AND Python-2.0 AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain URL: https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc +BuildRequires: %{python_module base >= 3.9} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(pre): update-alternatives @@ -46,8 +46,7 @@ Recommends: python-roman BuildArch: noarch %if %{with test} -BuildRequires: %{python_module Pillow} -BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module docutils = %{version}} BuildRequires: %{python_module packaging} # BuildRequires: %%{python_module roman} %endif @@ -66,11 +65,8 @@ %autosetup -p1 -n docutils-%{version} # Remove useless ".py" ending from executables: for i in tools/rst*; do mv "$i" "${i/.py}"; done -sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1'|" setup.py find . -name \*.mp4 -print -exec chmod -x '{}' \; - -# Actually seems to work with Python 3.6 -sed -i -e '/python_requires/ s/7/6/' setup.py +find . -name \*.swp -delete # Remove shebang from non-executable files sed -i '1{/^#!/d}' \ @@ -91,7 +87,7 @@ %install %if !%{with test} %pyproject_install -for binary in docutils rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5 ; do +for binary in docutils rst2html rst2latex rst2man rst2odt rst2pseudoxml rst2s5 rst2xetex rst2xml rst2html4 rst2html5 ; do %python_clone -a %{buildroot}%{_bindir}/$binary done %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -108,7 +104,7 @@ update-alternatives --query rst2html >/dev/null 2>&1 && update-alternatives --quiet --remove-all rst2html ||: %post -%python_install_alternative docutils rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5 +%python_install_alternative docutils rst2html rst2latex rst2man rst2odt rst2pseudoxml rst2s5 rst2xetex rst2xml rst2html4 rst2html5 %postun %python_uninstall_alternative docutils @@ -121,12 +117,10 @@ %python_alternative %{_bindir}/rst2latex %python_alternative %{_bindir}/rst2man %python_alternative %{_bindir}/rst2odt -%python_alternative %{_bindir}/rst2odt_prepstyles %python_alternative %{_bindir}/rst2pseudoxml %python_alternative %{_bindir}/rst2s5 %python_alternative %{_bindir}/rst2xetex %python_alternative %{_bindir}/rst2xml -%python_alternative %{_bindir}/rstpep2html %python_alternative %{_bindir}/rst2html4 %python_alternative %{_bindir}/rst2html5 %{python_sitelib}/docutils/ ++++++ docutils-0.20.1.tar.gz -> docutils-0.21.2.tar.gz ++++++ ++++ 65927 lines of diff (skipped)