Accepting request 821465 from devel:languages:python
- In the new multiversion world, python*.inv is in python3.8
directory not python3.
- update to version 3.1.2:
* Incompatible changes
+ #7650: autodoc: the signature of base function will be shown for
decorated functions, not a signature of decorator
* Bugs fixed
+ #7844: autodoc: Failed to detect module when relative module
name given
+ #7856: autodoc: AttributeError is raised when non-class object
is given to the autoclass directive
+ #7850: autodoc: KeyError is raised for invalid mark up when
autodoc_typehints is 'description'
+ #7812: autodoc: crashed if the target name matches to both an
attribute and module that are same name
+ #7650: autodoc: function signature becomes "(*args, **kwargs)"
if the function is decorated by generic decorator
+ #7812: autosummary: generates broken stub files if the target
code contains an attribute and module that are same name
+ #7806: viewcode: Failed to resolve viewcode references on 3rd
party builders
+ #7838: html theme: List items have extra vertical space
+ #7878: html theme: Undesired interaction between "overflow" and
"float"
- changes from version 3.1.1:
* Incompatible changes
+ #7808: napoleon: a type for attribute are represented as typed
field
* Features added
OBS-URL: https://build.opensuse.org/request/show/821465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=66
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea64df287958ee5aac46be7ac2b7277305b0381d213728c3a49d8bb9b8415807
|
||||
size 5909229
|
||||
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAl7NNzkACgkQECwsF0mN
|
||||
a579pxAAjSOY7KtbxD/HR1bUqRdcTlnlN+OE1CjcPsvtOKDQQM4Tf/fgw0FCq6zO
|
||||
X1rhPkkDkey2prOnioulxvbK6h+gYkOeFbESENwj2SkEUAdfhoee7M27jAOPRTzU
|
||||
bAv3Q5eXLum2SkGBn7A5K+o764r77F3khTb4qdUs8E7JKWZd4vTgLQnrQdw65gxR
|
||||
0Hm1Nvl2McpaGYxli+G8cwQZLON00uPYt+LdUHfDlHBBq/2NhRR4L0pCLB7+e+vo
|
||||
OtdlXeElAk3BWMKOPzG49O6YpNhJDldN5GgyGknVAe9nIRataAJdK7OcJMOrUQzh
|
||||
H4pB+4fSf6vXDtrkE4/pnpbMJl9emDjAMtr8Vn5P1DxkMmoyhtSXAKHU4C2JWeQB
|
||||
XMHPlFzUPINRlZsbToLbneX2AXa8o56WbC6sZNV4jP9rAXMIJfEJ2DYXpOxfjA1G
|
||||
ckvzD+7QkjN4P4DnKu0TxbPnc8K55xCvrDc1pdaJqCaMQv830BfPK9w1uN+SzmeW
|
||||
eHcfeA2WO11bu5i/0kI3bn67HEWCSO5ZO1gjD6e2nqom1z6Odg5RYOCvc2jBid2T
|
||||
AzMGtr9tCM8UvrYauW46uNy4wj39/0Cu8+8YLqp9ijn/Vw65tBRpZ50Jtla9bpi4
|
||||
p8lXdINsWzC3U9rJClaqRMn4u6SmaFq/T5AwoQWUPfJDmGuDFg8=
|
||||
=HZrA
|
||||
-----END PGP SIGNATURE-----
|
||||
3
Sphinx-3.1.2.tar.gz
Normal file
3
Sphinx-3.1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9daeb9b39aa1ffefc2809b43604109825300300b987a24f45976c001ba1a8fd
|
||||
size 5934433
|
||||
16
Sphinx-3.1.2.tar.gz.asc
Normal file
16
Sphinx-3.1.2.tar.gz.asc
Normal file
@@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAl8BryEACgkQECwsF0mN
|
||||
a54s0w//UBpPi7Uxtr7IiUpn46DqsKZT67M/WG1CrBauocTKabUGHLujqhyNw6F3
|
||||
cHA8kaHx5ROMWIkhNl/AkrwAZikHjRKwORQ+3wy8gqyl3LFoHJT6D1YaH6JJGR/Q
|
||||
3b6+sPD1ZctC33tQCRnDMzbjMeXpzkVRjLNhnSIbYVtNVllcyIjf2ZUWxgzW8BVy
|
||||
5AE9+kPSc3uQStKzWBfIXOLms/rDM89xipT8vvm6jg3Fh9jJfD8FZA+wAl3Kq6cm
|
||||
zv7pwTGUPhJOXWntiN3YIYrp5uh8p9VBESYQNxFrk78jQIYbrO0N5GaW65c/BG7c
|
||||
SLOtTMDX594iz283Sk8Ev1YXeRXu6pj95MmhTmU5N75Mk22c3yNmaLLHBelMIfyV
|
||||
3NK/sGWb9JlSJo1eSOr0I3583Qke9cwE0Ghs1+QrFndroeChH9SCiJce5OQ0rRdx
|
||||
vLTszgHBHSUQL2vQNw/P++CUYuem+/7KGGMdkXbwnz54vuIHwFluCy1OgZdQACRO
|
||||
hTiM6W9WWl+zrCoFU8cso0uOSLLndbtCP60Lqj5kEoXFvbnBKVPZCJzDT3q7tj+4
|
||||
oy70tE6BBJVmz0MVICJAJUEid207lxHXa1Euh8+peenpmkqhL+KeDaqjxBdLwBEw
|
||||
r4a2flXTWgmTYQIU5k6xlSdx9n8Gafs+zJk5LVwtBDUex4aZ06Q=
|
||||
=x0eH
|
||||
-----END PGP SIGNATURE-----
|
||||
File diff suppressed because it is too large
Load Diff
@@ -28,7 +28,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-Sphinx%{psuffix}
|
||||
Version: 3.0.4
|
||||
Version: 3.1.2
|
||||
Release: 0
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
@@ -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}
|
||||
@@ -229,18 +228,8 @@ mkdir build.doc
|
||||
|
||||
# get its intersphinx_inventroy from python3-doc
|
||||
# instead of via network from https://docs.python.org/3/objects.inv
|
||||
# https://github.com/sphinx-doc/sphinx/pull/7616
|
||||
%if %{python3_version_nodots} <= 36
|
||||
# python3-doc 3.6.5-lp151.5.4 from Leap 15.1
|
||||
# doesn't have one necessary entry in python3.inv
|
||||
# so use a copy from version 3.8.2-3.1 from Tumbleweed
|
||||
cp %{SOURCE2} doc/python3.inv
|
||||
%else
|
||||
%python_expand cp %{_defaultdocdir}/%{$python_prefix}/html/objects.inv doc/%{$python_prefix}.inv
|
||||
%endif
|
||||
%python_expand sed -i -e "s/\(intersphinx_mapping = ..python.: (.https:..docs.python.org.3.., \)None\()}\)/\1'%{$python_prefix}.inv'\2/g" doc/conf.py
|
||||
# fix file not found error
|
||||
sed -i -e 's/.. include:: ...CODE_OF_CONDUCT//g' doc/code_of_conduct.rst
|
||||
%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%python_exec setup.py build_sphinx -b man
|
||||
|
||||
|
||||
Reference in New Issue
Block a user