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)