From 4df51d2927a9f0ea7283c560d72fb2a4f1062fad2212e72e106ef1ca20b5bb60 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 17 Jul 2018 08:22:19 +0000 Subject: [PATCH 1/2] - update to 1.7.5 - update to 1.7.5: * #4924: html search: Upper characters problem in any other languages * #4932: apidoc: some subpackage is ignored if sibling subpackage contains a module starting with underscore * #4863, #4938, #4939: i18n doesn't handle node.title correctly tat used for contents, topic, admonition, table and section. * #4913: i18n: literal blocks in bullet list are not translated * #4962: C++, raised TypeError on duplicate declaration. * #4825: C++, properly parse expr roles and give better error messages when (escaped) line breaks are present. * C++, properly use ``desc_addname`` nodes for prefixes of names. * C++, parse pack expansions in function calls. * #4915, #4916: links on search page are broken when using dirhtml builder * #4969: autodoc: constructor method should not have return annotation * latex: deeply nested enumerated list which is beginning with non-1 causes LaTeX engine crashed * #4978: latex: shorthandoff is not set up for Brazil locale * #4928: i18n: Ignore dot-directories like .git/ in LC_MESSAGES/ * #4946: py domain: type field could not handle "None" as a type * #4979: latex: Incorrect escaping of curly braces in index entries * #4956: autodoc: Failed to extract document from a subclass of the class on mocked module * #4973: latex: glossary directive adds whitespace to each item * #4980: latex: Explicit labels on code blocks are duplicated * #4919: node.asdom() crashes if toctree has :numbered: option * #4914: autodoc: Parsing error when using dataclasses without default values * #4931: autodoc: crashed when handler for autodoc-skip-member raises an error * #4931: autodoc: crashed when subclass of mocked class are processed by OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=108 --- Sphinx-1.7.4.tar.gz | 3 --- Sphinx-1.7.5.tar.gz | 3 +++ python-Sphinx-doc.changes | 5 +++++ python-Sphinx-doc.spec | 2 +- python-Sphinx.changes | 34 ++++++++++++++++++++++++++++++++++ python-Sphinx.spec | 2 +- 6 files changed, 44 insertions(+), 5 deletions(-) delete mode 100644 Sphinx-1.7.4.tar.gz create mode 100644 Sphinx-1.7.5.tar.gz diff --git a/Sphinx-1.7.4.tar.gz b/Sphinx-1.7.4.tar.gz deleted file mode 100644 index ee6fa71..0000000 --- a/Sphinx-1.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e9b1a75a3eae05dded19c80eb17325be675e0698975baae976df603b6ed1eb10 -size 4722408 diff --git a/Sphinx-1.7.5.tar.gz b/Sphinx-1.7.5.tar.gz new file mode 100644 index 0000000..9e0ea72 --- /dev/null +++ b/Sphinx-1.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d45480a229edf70d84ca9fae3784162b1bc75ee47e480ffe04a4b7f21a95d76d +size 4726802 diff --git a/python-Sphinx-doc.changes b/python-Sphinx-doc.changes index 9d48259..18461b6 100644 --- a/python-Sphinx-doc.changes +++ b/python-Sphinx-doc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 17 08:15:33 UTC 2018 - dmueller@suse.com + +- update to 1.7.5 + ------------------------------------------------------------------- Wed May 23 12:17:03 UTC 2018 - mimi.vx@gmail.com diff --git a/python-Sphinx-doc.spec b/python-Sphinx-doc.spec index 789d540..499b231 100644 --- a/python-Sphinx-doc.spec +++ b/python-Sphinx-doc.spec @@ -23,7 +23,7 @@ %bcond_with latex %endif Name: python-Sphinx-doc -Version: 1.7.4 +Version: 1.7.5 Release: 0 Summary: Documentation for python-Sphinx License: BSD-2-Clause diff --git a/python-Sphinx.changes b/python-Sphinx.changes index e53c118..79b7267 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Tue Jul 17 08:14:57 UTC 2018 - dmueller@suse.com + +- update to 1.7.5: + * #4924: html search: Upper characters problem in any other languages + * #4932: apidoc: some subpackage is ignored if sibling subpackage contains a + module starting with underscore + * #4863, #4938, #4939: i18n doesn't handle node.title correctly tat used for + contents, topic, admonition, table and section. + * #4913: i18n: literal blocks in bullet list are not translated + * #4962: C++, raised TypeError on duplicate declaration. + * #4825: C++, properly parse expr roles and give better error messages when + (escaped) line breaks are present. + * C++, properly use ``desc_addname`` nodes for prefixes of names. + * C++, parse pack expansions in function calls. + * #4915, #4916: links on search page are broken when using dirhtml builder + * #4969: autodoc: constructor method should not have return annotation + * latex: deeply nested enumerated list which is beginning with non-1 causes + LaTeX engine crashed + * #4978: latex: shorthandoff is not set up for Brazil locale + * #4928: i18n: Ignore dot-directories like .git/ in LC_MESSAGES/ + * #4946: py domain: type field could not handle "None" as a type + * #4979: latex: Incorrect escaping of curly braces in index entries + * #4956: autodoc: Failed to extract document from a subclass of the class on + mocked module + * #4973: latex: glossary directive adds whitespace to each item + * #4980: latex: Explicit labels on code blocks are duplicated + * #4919: node.asdom() crashes if toctree has :numbered: option + * #4914: autodoc: Parsing error when using dataclasses without default values + * #4931: autodoc: crashed when handler for autodoc-skip-member raises an error + * #4931: autodoc: crashed when subclass of mocked class are processed by + napoleon module + * #5007: sphinx-build crashes when error log contains a "%" character + ------------------------------------------------------------------- Wed May 23 12:14:49 UTC 2018 - mimi.vx@gmail.com diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 04d2659..4d6da96 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -24,7 +24,7 @@ %bcond_with latex %endif Name: python-Sphinx -Version: 1.7.4 +Version: 1.7.5 Release: 0 Summary: Python documentation generator License: BSD-2-Clause From a27c0c338c40f0246562ba947572fe70c092519ae1976d2b6248f534501016fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Jul 2018 12:46:04 +0000 Subject: [PATCH 2/2] Accepting request 624270 from home:mimi_vx:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update to 1.7.6 - run Sphinx testsuite in package * LaTeX \sphinxupquote{} breaks in Russian * sphinx.testing uses deprecated pytest API; Node.get_marker(name) * crashed when recommonmark.AutoStrictify is enabled * latex: crashed with docutils package provided by Debian/Ubuntu * latex: a label for table is vanished if table does not have a caption * crashed with numbered toctree * C, render empty argument lists for macros. * C++, fix lookup of full template specializations with no template arguments. * C++, fix assertion on missing references in global scope when using intersphinx. * autodoc: crashed by Form Feed Character * autodoc: loses the first staticmethod parameter for old styled classes * quickstart: Typing Ctrl-U clears the whole of line * html: “relations” sidebar is not shown by default * latex: curly braces in index entries are not handled correctly * epub: Wrong internal href fragment links * apidoc: Interface of sphinx.apidoc:main() has changed * PDF builds of French projects have issues with XeTeX * napoleon raises RuntimeError with python 3.7 * sphinx-build: Interface of sphinx:main() has changed * sphinx-build: sphinx.cmd.build.main() refers sys.argv instead of given argument * autosummary: warning is emitted when the first line of docstring ends with literal notation * autosummary: warnings of autosummary indicates wrong location (refs: #5146) * autodoc: crashed on inspecting dict like object which does not support sorting * autodoc: Enum argument missing if it shares value with another * py domain: rtype field could not handle “None” as a type * LaTeX: indexing of terms containing @, !, or " fails OBS-URL: https://build.opensuse.org/request/show/624270 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=109 --- Sphinx-1.7.5.tar.gz | 3 --- Sphinx-1.7.6.tar.gz | 3 +++ python-Sphinx-doc.changes | 38 ++++++++++++++++++++++++++++++++++++++ python-Sphinx-doc.spec | 14 ++++++++++++-- python-Sphinx.changes | 38 ++++++++++++++++++++++++++++++++++++++ python-Sphinx.spec | 6 ++++-- 6 files changed, 95 insertions(+), 7 deletions(-) delete mode 100644 Sphinx-1.7.5.tar.gz create mode 100644 Sphinx-1.7.6.tar.gz diff --git a/Sphinx-1.7.5.tar.gz b/Sphinx-1.7.5.tar.gz deleted file mode 100644 index 9e0ea72..0000000 --- a/Sphinx-1.7.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d45480a229edf70d84ca9fae3784162b1bc75ee47e480ffe04a4b7f21a95d76d -size 4726802 diff --git a/Sphinx-1.7.6.tar.gz b/Sphinx-1.7.6.tar.gz new file mode 100644 index 0000000..e20ae09 --- /dev/null +++ b/Sphinx-1.7.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:217ad9ece2156ed9f8af12b5d2c82a499ddf2c70a33c5f81864a08d8c67b9efc +size 4724123 diff --git a/python-Sphinx-doc.changes b/python-Sphinx-doc.changes index 18461b6..700d6f3 100644 --- a/python-Sphinx-doc.changes +++ b/python-Sphinx-doc.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Wed Jul 18 15:28:39 UTC 2018 - mimi.vx@gmail.com + +- update to 1.7.6 +- run Sphinx testsuite in package + * LaTeX \sphinxupquote{} breaks in Russian + * sphinx.testing uses deprecated pytest API; Node.get_marker(name) + * crashed when recommonmark.AutoStrictify is enabled + * latex: crashed with docutils package provided by Debian/Ubuntu + * latex: a label for table is vanished if table does not have a caption + * crashed with numbered toctree + * C, render empty argument lists for macros. + * C++, fix lookup of full template specializations with no template arguments. + * C++, fix assertion on missing references in global scope when using intersphinx. + * autodoc: crashed by Form Feed Character + * autodoc: loses the first staticmethod parameter for old styled classes + * quickstart: Typing Ctrl-U clears the whole of line + * html: “relations” sidebar is not shown by default + * latex: curly braces in index entries are not handled correctly + * epub: Wrong internal href fragment links + * apidoc: Interface of sphinx.apidoc:main() has changed + * PDF builds of French projects have issues with XeTeX + * napoleon raises RuntimeError with python 3.7 + * sphinx-build: Interface of sphinx:main() has changed + * sphinx-build: sphinx.cmd.build.main() refers sys.argv + instead of given argument + * autosummary: warning is emitted when the first line of docstring ends + with literal notation + * autosummary: warnings of autosummary indicates wrong location (refs: #5146) + * autodoc: crashed on inspecting dict like object which does not support sorting + * autodoc: Enum argument missing if it shares value with another + * py domain: rtype field could not handle “None” as a type + * LaTeX: indexing of terms containing @, !, or " fails + * html: crashes if copying static files are failed + * autodoc: Fix formatting type annotations for tuples with more than two arguments + * i18n: crashed by auto-symbol footnote references + * autosummary: module summary has been broken when it starts with heading + ------------------------------------------------------------------- Tue Jul 17 08:15:33 UTC 2018 - dmueller@suse.com diff --git a/python-Sphinx-doc.spec b/python-Sphinx-doc.spec index 499b231..2e50909 100644 --- a/python-Sphinx-doc.spec +++ b/python-Sphinx-doc.spec @@ -23,7 +23,7 @@ %bcond_with latex %endif Name: python-Sphinx-doc -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: Documentation for python-Sphinx License: BSD-2-Clause @@ -31,9 +31,15 @@ Group: Documentation/Other URL: http://sphinx-doc.org Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz Patch1: disable-test.patch +BuildRequires: %{python_module Sphinx = %version} +BuildRequires: %{python_module html5lib} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +BuildRequires: ImageMagick BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-Sphinx +BuildRequires: python3-mypy +BuildRequires: python3-typed-ast Recommends: %{name}-html = %{version} BuildArch: noarch %if %{with latex} @@ -124,6 +130,10 @@ mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quicksta %python_clone %{buildroot}%{_mandir}/man1/sphinx-build.1 %python_clone %{buildroot}%{_mandir}/man1/sphinx-quickstart.1 +%check +export LANG="en_US.UTF-8" +%python_exec -m pytest tests -k "not linkcheck" -v + %files %{python_files} %license LICENSE %doc AUTHORS EXAMPLES diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 79b7267..553b4de 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Wed Jul 18 15:28:39 UTC 2018 - mimi.vx@gmail.com + +- update to 1.7.6 +- fix Requires based on results of Shinx testsuite + * LaTeX \sphinxupquote{} breaks in Russian + * sphinx.testing uses deprecated pytest API; Node.get_marker(name) + * crashed when recommonmark.AutoStrictify is enabled + * latex: crashed with docutils package provided by Debian/Ubuntu + * latex: a label for table is vanished if table does not have a caption + * crashed with numbered toctree + * C, render empty argument lists for macros. + * C++, fix lookup of full template specializations with no template arguments. + * C++, fix assertion on missing references in global scope when using intersphinx. + * autodoc: crashed by Form Feed Character + * autodoc: loses the first staticmethod parameter for old styled classes + * quickstart: Typing Ctrl-U clears the whole of line + * html: “relations” sidebar is not shown by default + * latex: curly braces in index entries are not handled correctly + * epub: Wrong internal href fragment links + * apidoc: Interface of sphinx.apidoc:main() has changed + * PDF builds of French projects have issues with XeTeX + * napoleon raises RuntimeError with python 3.7 + * sphinx-build: Interface of sphinx:main() has changed + * sphinx-build: sphinx.cmd.build.main() refers sys.argv + instead of given argument + * autosummary: warning is emitted when the first line of docstring ends + with literal notation + * autosummary: warnings of autosummary indicates wrong location (refs: #5146) + * autodoc: crashed on inspecting dict like object which does not support sorting + * autodoc: Enum argument missing if it shares value with another + * py domain: rtype field could not handle “None” as a type + * LaTeX: indexing of terms containing @, !, or " fails + * html: crashes if copying static files are failed + * autodoc: Fix formatting type annotations for tuples with more than two arguments + * i18n: crashed by auto-symbol footnote references + * autosummary: module summary has been broken when it starts with heading + ------------------------------------------------------------------- Tue Jul 17 08:14:57 UTC 2018 - dmueller@suse.com diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 4d6da96..12233b1 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -24,7 +24,7 @@ %bcond_with latex %endif Name: python-Sphinx -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: Python documentation generator License: BSD-2-Clause @@ -32,7 +32,7 @@ Group: Development/Languages/Python URL: http://sphinx-doc.org Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz Patch1: disable-test.patch -BuildRequires: %{python_module devel} +BuildRequires: %{python_module base} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -99,6 +99,7 @@ Requires: tex(amsfonts.sty) Requires: tex(amsmath.sty) Requires: tex(amssymb.sty) Requires: tex(amsthm.sty) +Requires: tex(anyfontsize.sty) Requires: tex(array.sty) Requires: tex(article.cls) Requires: tex(atbegshi.sty) @@ -136,6 +137,7 @@ Requires: tex(pcrr.tfm) Requires: tex(pdftex.def) Requires: tex(pdftex.map) Requires: tex(phvr.tfm) +Requires: tex(polyglossia.sty) Requires: tex(pplr.tfm) Requires: tex(preview.sty) Requires: tex(ptmr.tfm)