forked from pool/python-Sphinx
Accepting request 624270 from home:mimi_vx:branches:devel:languages:python
- 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
This commit is contained in:
committed by
Git OBS Bridge
parent
4df51d2927
commit
a27c0c338c
@@ -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
|
||||
|
Reference in New Issue
Block a user