commit python-docutils for openSUSE:Factory
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-04-03 17:18:46 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.1905 (New) Package is "python-docutils" Wed Apr 3 17:18:46 2024 rev:40 rq:1164112 version:0.20.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2024-02-28 19:45:39.362614805 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.1905/python-docutils.changes 2024-04-03 17:19:11.734798239 +0200 @@ -1,0 +2,8 @@ +Sat Mar 30 15:15:42 UTC 2024 - Ben Greiner + +- Fix update-alternatives updates: docutils is the master but + rst2html from old installations can create update failures +- Fix bytecode cache errors: Don't modify python scripts after + install + +--- @@ -11,2 +19,2 @@ - * Docutils 0.20 is the last version supporting Python 3.7 and 3.8. - * Support Python 3.11 (patch #198 by Hugo van Kemenade). + * Docutils 0.20 is the last version supporting Python 3.7 and 3.8. + * Support Python 3.11 (patch #198 by Hugo van Kemenade). Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.SQjrRI/_old 2024-04-03 17:19:12.330820201 +0200 +++ /var/tmp/diff_new_pack.SQjrRI/_new 2024-04-03 17:19:12.334820348 +0200 @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-docutils # # Copyright (c) 2024 SUSE LLC # @@ -38,8 +38,9 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(pre): update-alternatives Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Recommends: python-Pillow Recommends: python-Pygments Recommends: python-roman @@ -69,7 +70,20 @@ 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 +sed -i -e '/python_requires/ s/7/6/' setup.py + +# Remove shebang from non-executable files +sed -i '1{/^#!/d}' \ + docutils/__main__.py \ + docutils/parsers/commonmark_wrapper.py \ + docutils/parsers/recommonmark_wrapper.py \ + docutils/utils/error_reporting.py \ + docutils/utils/math/math2html.py \ + docutils/utils/math/tex2unichar.py \ + docutils/utils/smartquotes.py \ + docutils/writers/_html_base.py \ + docutils/writers/odf_odt/prepstyles.py \ + docutils/writers/xetex/__init__.py %build %pyproject_wheel @@ -80,17 +94,7 @@ for binary in docutils rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5 ; do %python_clone -a %{buildroot}%{_bindir}/$binary done -%{python_expand %fdupes %{buildroot}%{$python_sitelib} - -# Remove shebang from non-executable files -for i in code_analyzer error_reporting punctuation_chars smartquotes math/latex2mathml math/math2html math/tex2mathml_extern ; do -sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitelib}/docutils/utils/$i.py -done -for i in writers/xetex/__init__ writers/_html_base __main__ parsers/commonmark_wrapper parsers/recommonmark_wrapper ; do -sed -i -e '1{\@^#! *%{_bindir}.*python@d}' %{buildroot}%{$python_sitelib}/docutils/$i.py -done -} - +%python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check @@ -99,14 +103,16 @@ %endif %if !%{with test} +# sometime ago rst2html was the master which would let fail the upgrade with master docutils in post below +%pre +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 rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5 %postun -%{python_uninstall_alternative docutils rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html rst2html4 rst2html5} -%endif +%python_uninstall_alternative docutils -%if !%{with test} %files %{python_files} %license COPYING.txt licenses/*.txt %doc FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/*
commit python-docutils for openSUSE:Factory
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 2023-11-13 22:16:09 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.17445 (New) Package is "python-docutils" Mon Nov 13 22:16:09 2023 rev:38 rq:1124758 version:0.20.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2023-10-15 19:26:09.569912921 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.17445/python-docutils.changes 2023-11-13 22:16:35.706057050 +0100 @@ -1,0 +2,35 @@ +Fri Nov 10 02:31:29 UTC 2023 - Steve Kowalik + +- Update to 0.20.1: + * Include tox.ini and docutils.conf in the source package + * Docutils 0.20 is the last version supporting Python 3.7 and 3.8. + * Support Python 3.11 (patch #198 by Hugo van Kemenade). + * New functions `rst2â¦()` for use as "console_scripts" `entry points`_. + * Fix `previous_sibling()` method that led to invalid HTML in some cases + * Fix bug #463. Spurious comma in deprecation warning. + * Improved mock Sphinx module. + * `Transformer.populate_from_components()` now silently ignores +components that are not instances of `docutils.TransformSpec`. + * Accept author names with initials like ``A. Einstein`` in the "author" +`bibliographic field`_ instead of rising an error + * `DanglingReferences` ignores `citation_reference` nodes if the +"use_bibex" setting is active. + * New utility function `xml_declaration()`. + * `DependencyList.add()` accepts `pathlib.Path` instances. + * Support "mod" notation for modulo operation / modulus arithmetic. + * Wrap definition lists with "details" class argument in a +with the "id" and "class" values of the list node. + * Use dpub-ARIA role "doc-footnote__" (instead of ARIA role "note") +for footnotes. + * Do not load the `inputenc` package in UTF-8 encoded LaTeX sources. +(UTF-8 is the default encoding for LaTeX2e since 2018). + * Fix behaviour of the use_bibtex_ setting. + * Outsource parts of `depart_document()` to new auxiliary methods +`make_title()` and `append_bibliography()`. + * Drop ``\usepackage{fixltx2e}`` from template. + * Fix SetuptoolsDeprecationWarning: ``Installing '' as data is deprecated`` +by adding data directories to package_data.packages list. + * Refactored tests to use common `unittest` idioms. +- Drop pygments-2.14.patch, no longer needed. + +--- Old: docutils-0.19.tar.gz pygments-2.14.patch New: docutils-0.20.1.tar.gz BETA DEBUG BEGIN: Old: * Refactored tests to use common `unittest` idioms. - Drop pygments-2.14.patch, no longer needed. BETA DEBUG END: Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.eNjJDW/_old 2023-11-13 22:16:36.758095785 +0100 +++ /var/tmp/diff_new_pack.eNjJDW/_new 2023-11-13 22:16:36.762095932 +0100 @@ -26,15 +26,13 @@ %bcond_with test %endif Name: python-docutils%{psuffix} -Version:0.19 +Version:0.20.1 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 -# PATCH-FIX-OPENSUSE pygments-2.14.patch shp#docutils#201 -Patch0: pygments-2.14.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -129,6 +127,6 @@ %python_alternative %{_bindir}/rst2html4 %python_alternative %{_bindir}/rst2html5 %{python_sitelib}/docutils/ -%{python_sitelib}/docutils-%{version}*-info +%{python_sitelib}/docutils-%{version}.dist-info %endif ++ docutils-0.19.tar.gz -> docutils-0.20.1.tar.gz ++ 42032 lines of diff (skipped)
commit python-docutils for openSUSE:Factory
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 2023-10-15 19:26:00 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.20540 (New) Package is "python-docutils" Sun Oct 15 19:26:00 2023 rev:37 rq:1117736 version:0.19 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2023-04-22 22:02:19.413884786 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.20540/python-docutils.changes 2023-10-15 19:26:09.569912921 +0200 @@ -1,0 +2,5 @@ +Fri Oct 13 22:59:14 UTC 2023 - Matej Cepl + +- python-roman is not actually necessary for testing. + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.13f1Uc/_old 2023-10-15 19:26:10.093931798 +0200 +++ /var/tmp/diff_new_pack.13f1Uc/_new 2023-10-15 19:26:10.093931798 +0200 @@ -53,7 +53,7 @@ BuildRequires: %{python_module Pillow} BuildRequires: %{python_module Pygments} BuildRequires: %{python_module packaging} -BuildRequires: %{python_module roman} +# BuildRequires: %%{python_module roman} %endif %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: docutils = %{version}
commit python-docutils for openSUSE:Factory
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 2023-04-22 22:01:17 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.1533 (New) Package is "python-docutils" Sat Apr 22 22:01:17 2023 rev:36 rq:1081943 version:0.19 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2023-01-25 17:54:53.095813629 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.1533/python-docutils.changes 2023-04-22 22:02:19.413884786 +0200 @@ -1,0 +2,10 @@ +Fri Apr 21 12:24:23 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +--- +Sun Apr 16 01:30:00 UTC 2023 - Matej Cepl + +- Update single spec from Factory + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.Lz9Qw3/_old 2023-04-22 22:02:19.997888277 +0200 +++ /var/tmp/diff_new_pack.Lz9Qw3/_new 2023-04-22 22:02:20.005888326 +0200 @@ -16,6 +16,7 @@ # +%{?sle15_python_module_pythons} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test
commit python-docutils for openSUSE:Factory
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 2023-01-25 17:42:26 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.32243 (New) Package is "python-docutils" Wed Jan 25 17:42:26 2023 rev:35 rq:1060567 version:0.19 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2023-01-15 17:57:54.750112589 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.32243/python-docutils.changes 2023-01-25 17:54:53.095813629 +0100 @@ -1,0 +2,5 @@ +Tue Jan 24 07:15:02 UTC 2023 - Steve Kowalik + +- Refactor pygments-2.14.patch to not use distutils. + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.1iIgMj/_old 2023-01-25 17:54:53.515815871 +0100 +++ /var/tmp/diff_new_pack.1iIgMj/_new 2023-01-25 17:54:53.519815893 +0100 @@ -45,11 +45,13 @@ Requires(postun):update-alternatives Recommends: python-Pillow Recommends: python-Pygments +Requires: python-packaging Recommends: python-roman BuildArch: noarch %if %{with test} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module roman} %endif %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" ++ pygments-2.14.patch ++ --- /var/tmp/diff_new_pack.1iIgMj/_old 2023-01-25 17:54:53.583816234 +0100 +++ /var/tmp/diff_new_pack.1iIgMj/_new 2023-01-25 17:54:53.587816256 +0100 @@ -2,9 +2,11 @@ === --- docutils-0.19.orig/test/test_parsers/test_rst/test_directives/test_code.py +++ docutils-0.19/test/test_parsers/test_rst/test_directives/test_code.py -@@ -11,13 +11,18 @@ Test the 'code' directive in parsers/rst +@@ -10,14 +10,20 @@ Test the 'code' directive in parsers/rst + if __name__ == '__main__': import __init__ # noqa: F401 ++from packaging.version import Version from test_parsers import DocutilsTestSupport -from docutils.utils.code_analyzer import with_pygments +from docutils.utils.code_analyzer import with_pygments, pygments_version @@ -15,14 +17,14 @@ if not with_pygments: del(totest['code-parsing']) +del(totest['code-parsing-2-14']) -+elif pygments_version >= '2.14.0': ++elif pygments_version >= Version('2.14.0'): +del(totest['code-parsing']) +else: +del(totest['code-parsing-2-14']) s.generateTests(totest) return s -@@ -170,6 +175,165 @@ totest['code-parsing'] = [ +@@ -170,6 +176,165 @@ totest['code-parsing'] = [ \n\ print @@ -192,9 +194,11 @@ === --- docutils-0.19.orig/test/test_parsers/test_rst/test_directives/test_code_long.py +++ docutils-0.19/test/test_parsers/test_rst/test_directives/test_code_long.py -@@ -11,14 +11,20 @@ Test the 'code' directive in body.py wit +@@ -10,15 +10,22 @@ Test the 'code' directive in body.py wit + if __name__ == '__main__': import __init__ # noqa: F401 ++from packaging.version import Version from test_parsers import DocutilsTestSupport -from docutils.utils.code_analyzer import with_pygments +from docutils.utils.code_analyzer import with_pygments, pygments_version @@ -204,7 +208,7 @@ settings = {'syntax_highlight': 'long'} s = DocutilsTestSupport.ParserTestSuite(suite_settings=settings) if with_pygments: -+if pygments_version >= '2.14.0': ++if pygments_version >= Version('2.14.0'): +del(totest['code-parsing-long']) +else: +del(totest['code-parsing-long-2-14']) @@ -214,7 +218,7 @@ return s -@@ -73,6 +79,94 @@ totest['code-parsing-long'] = [ +@@ -73,6 +80,94 @@ totest['code-parsing-long'] = [ \n\ print @@ -313,8 +317,11 @@ === --- docutils-0.19.orig/test/test_parsers/test_rst/test_directives/test_include.py +++ docutils-0.19/test/test_parsers/test_rst/test_directives/test_include.py -@@ -12,7 +12,7 @@ if __name__ == '__main__': +@@ -10,9 +10,10 @@ Tests for misc.py "include" directive. + import os.path + if __name__ == '__main__': import __init__ # noqa: F401 ++from packaging.version import Version from test_parsers import DocutilsTestSupport from docutils import parsers -from docutils.utils.code_analyzer import with_pygments @@ -322,19 +329,19 @@ # optional
commit python-docutils for openSUSE:Factory
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 2023-01-15 17:57:49 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.32243 (New) Package is "python-docutils" Sun Jan 15 17:57:49 2023 rev:34 rq:1057655 version:0.19 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2022-11-15 13:20:40.164566574 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.32243/python-docutils.changes 2023-01-15 17:57:54.750112589 +0100 @@ -1,0 +2,13 @@ +Tue Jan 10 15:42:55 UTC 2023 - Daniel Garcia + +- Delete sphix-6.0.0.patch +- Add pygments-2.14.patch +- The patch is related to pygments not Sphinx and the patch is updated to make + it conditional so it work with older versions of pygments, shp#docutils#201 + +--- +Wed Jan 4 13:09:13 UTC 2023 - Daniel Garcia + +- Add sphinx-6.0.0.patch to fix tests for new version of sphinx. + +--- New: pygments-2.14.patch Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.3ttzhX/_old 2023-01-15 17:57:56.150120900 +0100 +++ /var/tmp/diff_new_pack.3ttzhX/_new 2023-01-15 17:57:56.158120947 +0100 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,6 +32,8 @@ URL:https://pypi.python.org/pypi/docutils/ Source: https://files.pythonhosted.org/packages/source/d/docutils/docutils-%{version}.tar.gz Source99: python-docutils-rpmlintrc +# PATCH-FIX-OPENSUSE pygments-2.14.patch shp#docutils#201 +Patch0: pygments-2.14.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -62,7 +64,7 @@ easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. %prep -%setup -q -n docutils-%{version} +%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 ++ pygments-2.14.patch ++ 670 lines (skipped)
commit python-docutils for openSUSE:Factory
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 2022-11-15 13:18:05 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.1597 (New) Package is "python-docutils" Tue Nov 15 13:18:05 2022 rev:33 rq:1032911 version:0.19 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2022-04-03 21:30:33.628108061 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.1597/python-docutils.changes 2022-11-15 13:20:40.164566574 +0100 @@ -1,0 +2,194 @@ +Wed Nov 2 12:32:50 UTC 2022 - Matej Cepl + +- 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). +- New module. Support for python -m docutils. Also used for + the docutils console script entry point. +- 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. +- 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. +- 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. +- New module for parsing CommonMark input. Selects a + locally installed 3rd-party parser (pycmark, myst, or + recommonmark). +- 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. +- Update PEP base URL (fixes bug #445), use "https:" scheme + in RFC base URL. +- Add reporter to Directive class attributes. +- parser_name() keeps details if converting ImportError to + ValueError. +- Don't use mutable default values for function + arguments. Fixes bug #430. +- Fix bug #435: invalid references in problematic nodes with + report_level=4. +- decode_path() returns str instance instead of + nodes.reprunicode. +- Add deprecation warning. +- Add "html writers" to config_section_dependencies. Fixes + bug #443. +- Write table column widths with 3 digits precision. Fixes + bug #444. +- 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 + tag. +- Wrap groups of footnotes in an for easier styling. +- Use "https:" scheme in "python_home" URL default. +- Fix links in template.txt. +- New "docutils" console script entry point. Fixes bug #447. +- Always encode the log file "alltests.out" using 'utf-8'. +- exception_data() now returns None if no exception was + raised. +- recommonmark_wrapper only imported if upstream parser is + present. +- Fix bug #436: Null char valid in CSV since Python 3.11. +- Allow 3rd-party drop-in components for reader and parser, + too. +- Fix help output. +- Actual code moved to docutils.__main__.py. +- Options -h and --help print short usage message. +- Release 0.18.1 (2021-11-23) +- Node.traverse() returns a list again to restore backwards + compatibility. Fixes bug #431. +- New method Node.findall(): like Node.traverse() but returns + an iterator. Obsoletes Node.traverse(). +- Fix behaviour of get_stylesheet_list(): do not look up + stylesheets given as "stylesheet" setting. Cf. bug #434. +- Fix handling of footnote_backlinks==False (report Alan G + Isaac). +- Fix typo (bug #432). +- Fix spurious output with Windows (bug #350). +- Fix a false positive (bug #434). +- Release 0.18 (2021-10-26) +- mark as provisional (will switch from using "optparse" to + "argparse"). +- remove hack for the now obsolete "mod_python" Apache + module. +- new function get_default_settings() +-
commit python-docutils for openSUSE:Factory
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 2022-04-03 21:30:32 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.1900 (New) Package is "python-docutils" Sun Apr 3 21:30:32 2022 rev:32 rq:966231 version:0.17.1 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2020-12-16 10:59:27.187508928 +0100 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.1900/python-docutils.changes 2022-04-03 21:30:33.628108061 +0200 @@ -1,0 +2,37 @@ +Sat Oct 16 21:09:06 UTC 2021 - Dirk M??ller + +- update to 0.17.1: + * Fix bug #406 (MathML translation of ``\mathbf``). + * Open "docutils.sty" with encoding set to "utf8". + * Provide fallbacks for parser config settings +to facilitate programmatic use. + * Installing with ``setup.py`` now requires ``setuptools``. +Alternatively, install with `pip`_ (or "manually"). + * Use importlib.import_module() to programmatically import modules. + * Fix bug #385: Import of language modules. + * Arabic mappings by Shahin. + * Fixes in Korean translation by Shinjo Park. + * Fix error when copying `system_message` node + * Make the sidebar's "title" argument optional + * Make "meta" elements available for "latex" and "odt". + * Prevent infinite inclusion loops. + * Move non-essential styling to ``plain.css``. + * Support "captionbelow" class value for tables. + * Display code line numbers as pseudo-elements which are skipped +when copying text from code blocks. Solves feature request #32. + * Support numbered figures. + * New optional style that adapts to different screen sizes. + * Fix #394 fix missing new line after rubric. + * Patch #168 fix crashing on empty citation (by Takeshi KOMIYA). + * Fix #126 manpage title with spaces. + * Fix #380 commandline option problem in sphinx. + * Fix/improve metadata handling: +fix "keyword" splitting, +allow generic fields (stored as "Custom Properties"). +__ docs/user/config.html#detailled + * Run python3 test like python2 against source not the build/-directory + * New generic command line front end that allows the free selection of +reader, parser, and writer components. +- remove pygments25.patch (upstream) + +--- Old: docutils-0.16.tar.gz pygments25.patch New: docutils-0.17.1.tar.gz Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.9M8JZZ/_old 2022-04-03 21:30:35.376088493 +0200 +++ /var/tmp/diff_new_pack.9M8JZZ/_new 2022-04-03 21:30:35.380088448 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-docutils +# spec file # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,21 +26,20 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-docutils%{psuffix} -Version:0.16 +Version:0.17.1 Release:0 Summary:Python Documentation Utilities -License:Python-2.0 AND BSD-2-Clause AND GPL-2.0-or-later AND GPL-3.0-or-later AND SUSE-Public-Domain +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 -Patch0: pygments25.patch BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-xml Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: python-Pillow Recommends: python-Pygments Recommends: python-roman @@ -63,7 +62,6 @@ %prep %setup -q -n docutils-%{version} -%patch0 -p1 # 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 @@ -72,6 +70,7 @@ sed -i -e "1d" "docutils/utils/$i.py" done sed -i -e "1d" "docutils/writers/xetex/__init__.py" "docutils/writers/_html_base.py" +rm ./docs/dev/.release.txt.swp %build %python_build ++ docutils-0.16.tar.gz -> docutils-0.17.1.tar.gz ++ 54076 lines of diff (skipped)
commit python-docutils for openSUSE:Factory
Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2020-12-16 10:59:25 Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new.2328 (New) Package is "python-docutils" Wed Dec 16 10:59:25 2020 rev:31 rq:855611 version:0.16 Changes: --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2020-04-19 21:48:55.504015193 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new.2328/python-docutils.changes 2020-12-16 10:59:27.187508928 +0100 @@ -1,0 +2,7 @@ +Sat Dec 12 00:33:13 UTC 2020 - Benjamin Greiner + +- In a world with more than one python 3 flavor, provide "docutils" + with the default python3 provider. + gh#openSUSE/python-rpm-macros#66 + +--- Other differences: -- ++ python-docutils.spec ++ --- /var/tmp/diff_new_pack.x1fRH2/_old 2020-12-16 10:59:27.943509671 +0100 +++ /var/tmp/diff_new_pack.x1fRH2/_new 2020-12-16 10:59:27.943509671 +0100 @@ -50,7 +50,7 @@ BuildRequires: %{python_module Pygments} BuildRequires: %{python_module roman} %endif -%ifpython3 +%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: docutils = %{version} Obsoletes: docutils < %{version} %endif ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org