Hello community, here is the log from the commit of package python-docutils for openSUSE:Factory checked in at 2017-11-17 10:35:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-docutils (Old) and /work/SRC/openSUSE:Factory/.python-docutils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docutils" Fri Nov 17 10:35:48 2017 rev:23 rq:541212 version:0.14 Changes: -------- --- /work/SRC/openSUSE:Factory/python-docutils/python-docutils.changes 2017-06-13 16:07:07.135018069 +0200 +++ /work/SRC/openSUSE:Factory/.python-docutils.new/python-docutils.changes 2017-11-17 10:35:49.765811764 +0100 @@ -1,0 +2,60 @@ +Fri Nov 10 22:54:38 UTC 2017 - a...@gmx.de + +- specfile: + * add binary rst2html4 + +- update to version 0.14: + * Enable validation of Docutils XML documents against the DTD: + Use attribute type NMTOKEN instead of REFID for the `refid` attribute + and NMTOKENS for `backrefs`: REFID refers to an ID type instance, + however, the `ids` attribute cannot use the ID type because `XML only + allows one ID per Element Type`__ and doesn't support a multiple-ID + "IDS" attribute type. + * Added documentation for escaped whitespace in URI contexts. + * Clarify use of Unicode character categories. + * Added functionality: escaped whitespace in URI contexts. + * Consistent handling of all whitespace characters in inline markup + recognition. Fixes [ 307 ] and [ 3402314 ] (now [ 173 ]). + * Added support for escaped whitespace in URI contexts. + * Rework patch [ 120 ] (revert change to "Table.get_column_widths()" + that led to problems in an application with a custom table + directive). + * Fix [ 320 ] Russian docinfo fields not recognized. + * Don't add a second ID to problematic references. + * Fix SmartQuotes: warn only once if language is unsupported, keep + "rawsource" when "educating" quotes. + * Added "split_escaped_whitespace" function, support for escaped + whitespace in URI contexts. + * Fix [ 321 ] Import block might cause name error. + * Update quote definitions for languages et, fi, fr, ro, sv, tr, uk. + * New quote definitions for hr, hsb, hu, lv, sh, sl, sr. + * Fix [ 313 ] Differentiate apostrophe from closing single quote (if + possible). + * Fix [ 317 ] Extra space inserted with French smartquotes. + * Add command line interface for stand-alone use (requires 2.7). + * Provide default title in metadata (required by HTML5). + * Fix [ 312 ] HTML writer generates invalid HTML if the table has + two tags. + * Fix [ 319 ] The MathJax CDN shut down on April 30, 2017. For + security reasons, we don't use a third party public installation as default but + warn if math-output_ is set to MathJax without specifying a URL. + * Apply [ 125 ] HTML writer: respect automatic table column sizing. + * Handle class arguments for block-level elements by wrapping them + in a "DUclass" environment. This replaces the special handling for + "epigraph" and "topic" elements. + * Apply [ 141 ] Handling inline in manpage writer. + * Command setting "language" now sets the default language of the + generated ODF document. + * The use of image directive options :width: (%), :scale:, etc now + set the width/height/size of images in the generated ODF + documents. + * The heading/title of admonitions now reflects the language + specified by the "language" setting. + * Fixed [ 306 ] only first of multiple "image" directives with the + same URL shown in output. + * Fixed [ 282 ] python3: AttributeError. + * tools/rst2html4.py: New front-end. + * tools/dev/generate_punctuation_chars.py: New skript to test and + update utils.punctuation_chars. + +------------------------------------------------------------------- Old: ---- docutils-0.13.1.tar.gz New: ---- docutils-0.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-docutils.spec ++++++ --- /var/tmp/diff_new_pack.f6QgFn/_old 2017-11-17 10:35:50.493785120 +0100 +++ /var/tmp/diff_new_pack.f6QgFn/_new 2017-11-17 10:35:50.493785120 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-docutils -Version: 0.13.1 +Version: 0.14 Release: 0 Summary: Python Documentation Utilities License: Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain @@ -64,17 +64,25 @@ %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +# To avoid conflicts with the rst2html4 package +mv %{buildroot}%{_bindir}/rst2html4 %{buildroot}%{_bindir}/rst2html4-docutils +ln -s -f %{_sysconfdir}/alternatives/rst2html4 %{buildroot}%{_bindir}/rst2html4 + # To avoid conflicts with the rst2html5 package mv %{buildroot}%{_bindir}/rst2html5 %{buildroot}%{_bindir}/rst2html5-docutils ln -s -f %{_sysconfdir}/alternatives/rst2html5 %{buildroot}%{_bindir}/rst2html5 %ifpython3 %post +update-alternatives --install %{_bindir}/rst2html4 rst2html4 %{_bindir}/rst2html4-docutils 15 update-alternatives --install %{_bindir}/rst2html5 rst2html5 %{_bindir}/rst2html5-docutils 15 %endif %ifpython3 %postun +if [ ! -f %{_bindir}/rst2html4-docutils ] ; then + update-alternatives --remove rst2html4 %{_bindir}/rst2html4-docutils +fi if [ ! -f %{_bindir}/rst2html5-docutils ] ; then update-alternatives --remove rst2html5 %{_bindir}/rst2html5-docutils fi @@ -96,8 +104,11 @@ %python3_only %{_bindir}/rst2xetex %python3_only %{_bindir}/rst2xml %python3_only %{_bindir}/rstpep2html +%python3_only %{_bindir}/rst2html4 +%python3_only %{_bindir}/rst2html4-docutils %python3_only %{_bindir}/rst2html5 %python3_only %{_bindir}/rst2html5-docutils +%python3_only %ghost %{_sysconfdir}/alternatives/rst2html4 %python3_only %ghost %{_sysconfdir}/alternatives/rst2html5 %{python_sitelib}/docutils/ %{python_sitelib}/docutils-%{version}-py%{python_version}.egg-info ++++++ docutils-0.13.1.tar.gz -> docutils-0.14.tar.gz ++++++ ++++ 24207 lines of diff (skipped)