forked from pool/python-Sphinx
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=157
This commit is contained in:
parent
f3d03df06a
commit
99906790ba
@ -71,7 +71,6 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module Sphinx = %{version}}
|
||||
BuildRequires: %{python_module Sphinx-latex = %{version}}
|
||||
BuildRequires: %{python_module doc}
|
||||
BuildRequires: %{python_module html5lib}
|
||||
BuildRequires: %{python_module mypy}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@ -230,7 +229,7 @@ mkdir build.doc
|
||||
# get its intersphinx_inventroy from python3-doc
|
||||
# instead of via network from https://docs.python.org/3/objects.inv
|
||||
cp %{SOURCE2} doc/python3.inv
|
||||
%python_expand sed -i -e "s/\(intersphinx_mapping = ..python.: (.https:..docs.python.org.3.., \)None\()}\)/\1'python%{$python_version}.inv'\2/g" doc/conf.py
|
||||
%python_expand sed -i -e "s/\(intersphinx_mapping = ..python.: (.https:..docs.python.org.3.., \)None\()}\)/\1'%{$python_prefix}.inv'\2/g" doc/conf.py
|
||||
%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%python_exec setup.py build_sphinx -b man
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user