Accepting request 947122 from home:marxin:branches:devel:languages:python
- Update to version 4.4.0: * #10007: Use ``importlib_metadata`` for python-3.9 or older * #10007: Drop ``setuptools`` * #9075: autodoc: Add a config variable :confval:`autodoc_typehints_format` to suppress the leading module names of typehints of function signatures (ex. ``io.StringIO`` -> ``StringIO``) * #9831: Autosummary now documents only the members specified in a module's ``__all__`` attribute if :confval:`autosummary_ignore_module_all` is set to ``False``. The default behaviour is unchanged. Autogen also now supports this behavior with the ``--respect-module-all`` switch. * #9555: autosummary: Improve error messages on failure to load target object * #9800: extlinks: Emit warning if a hardcoded link is replaceable by an extlink, suggesting a replacement. * #9961: html: Support nested <kbd> HTML elements in other HTML builders * #10013: html: Allow to change the loading method of JS via ``loading_method`` parameter for :meth:`Sphinx.add_js_file()` * #9551: html search: "Hide Search Matches" link removes "highlight" parameter from URL * #9815: html theme: Wrap sidebar components in div to allow customizing their layout via CSS * #9827: i18n: Sort items in glossary by translated terms * #9899: py domain: Allows to specify cross-reference specifier (``.`` and ``~``) as ``:type:`` option * #9894: linkcheck: add option ``linkcheck_exclude_documents`` to disable link checking in matched documents. * #9793: sphinx-build: Allow to use the parallel build feature in macOS on macOS and Python3.8+ * #10055: sphinx-build: Create directories when ``-w`` option given * #9993: std domain: Allow to refer an inline target (ex. ``_`target name```) via :rst:role:`ref` role OBS-URL: https://build.opensuse.org/request/show/947122 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=200
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -24,4 +24,6 @@
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
*.changes filter=lfs diff=lfs merge=lfs -text
|
||||
*.changes filter=lfs diff=lfs merge=lfs -text
|
||||
python3.inv filter=lfs diff=lfs merge=lfs -text
|
||||
readthedocs.inv filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a8836751a68306b3fe97ecbe44db786f8479c3bf4b80e3a7f5c838657b4698c
|
||||
size 6657148
|
||||
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAmG+740ACgkQECwsF0mN
|
||||
a56bIg/5AeOPA5L07jYLeNMHgVaqjQor3uA72zxxFK83LQ8sB7uPg3Q82sIhbMAL
|
||||
oWH/Kb4nTtTa5CanoFdHzD6hrvv7iPHi0FspN2my84x/6ZUMHJyuecJFP5RhaFgK
|
||||
7PPW0y9vbJY72Odu47x8rWDkJ3PAJMHf1ZEJ3aTNOianBdRSOm5+ke8C6xvYhn7q
|
||||
c6o5QoGMIwzH0YzVvFP+OY7yJKESwoK48HxRbY/xA3W1fvHF5LOft5kuti6m8Ubz
|
||||
adS3lb58tZfW5wuJTodE5KS1FFPhRq13xwJT6SD1hSw8oHm3cNd/1TtT1RCc0pVW
|
||||
p+cd/8pOiTTk6uc76irhaRL4OcBqy7nSPL8Wagnj84k2NGRKM1rMDjYAbihOFYQt
|
||||
22G2260MFzOi6chfIADj8gg56GTx36YZi5HNaaQ9MS5N+PnHF75HZDowP6ULSZM6
|
||||
jiIxE8S4qv86r2taSRfoUBYdT5G60gCGHjQ0sKQ/lkqrsqdlQPGcD8DuAdxwVMRb
|
||||
/Njr/0ZKMHzKnB6LX6igSfklPQry6EcmxMsOHn1KifwZYzqluNNBAjDo5+99ZDtx
|
||||
bwQ++cA4QhOvYH/CAehCZnv7d6j6xKM+9iamtRLLFPf69NUFWCPSfj1R+SXGdyC2
|
||||
LXoTKT0DDiAzFw3vuzLVkUSJkJwWWXt+HHWfe8Q+zyTQPaBCrE4=
|
||||
=u0B8
|
||||
-----END PGP SIGNATURE-----
|
||||
3
Sphinx-4.4.0.tar.gz
Normal file
3
Sphinx-4.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6caad9786055cb1fa22b4a365c1775816b876f91966481765d7d50e9f0dd35cc
|
||||
size 6690021
|
||||
16
Sphinx-4.4.0.tar.gz.asc
Normal file
16
Sphinx-4.4.0.tar.gz.asc
Normal file
@@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEihG3ml0NdJpm8KAwECwsF0mNa54FAmHkN0MACgkQECwsF0mN
|
||||
a56ozg//WQkUxKbanlRgDPipIYkORbVmv1RMyAt6CBfX+mTyK4zHNul4Oj0m7F1F
|
||||
evJKeCGPZT32nKFb03v0PABoQ14QmwGzzyRi0qSgEe8vFE7cr2UY4c0RPpM5nVxR
|
||||
6h4eu4hCLKx4ym/CN+RZ9/YAPt20rkdnHZff81Nxd9Fj4qdgRclWx/iVfo5O9ykW
|
||||
QPUZANEPdc/0pZa0u4QhEgxZYXO4Z5s3hNkW4qtK2lnzfADMsubit7xh/Ajwr+QB
|
||||
HK7oPhe9gwcf6Fh0ML6ZBcrapmkcO9DSWmqpYpDZEdr4OGHYw+yJ3MPC3AqapD6n
|
||||
7VwI5UZUBgLZssQUgXYNXFai/LAYTN+E6HTsaAaaWVX4jujaHcjfkMd6NcpthENN
|
||||
+X/V8YcSIcMUVIwYFNTNdQ7crrBVIsr4xOcBjcCvacp82v0CCqRx8la43u7EcXGm
|
||||
7ZnWYtTG15OygLmIVZ0GiE+ONAZohX3bdR+Kd+iMFMC5oZl+StVEBX4R95GI1KeS
|
||||
VNXItLrPSsQr7X6SZv1/MZCqLe2yuk9SUaReFoF+UMWn999cBWVSExXzl5Ze8AcC
|
||||
Qt1z174OS7iwnmzwjY7O9X2ag0Aiswn0w9Tk6DsMCVnyqIxpytdi4vKVMI3LDkXT
|
||||
EM332tIWE064B1GEp2eGRhzho3klzgfxakdMPXlhBXxeXEndc94=
|
||||
=MFtg
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,2 +0,0 @@
|
||||
# false positive as the -latex package only ships latex files and no actual python code
|
||||
addFilter("python3.*-Sphinx-latex.noarch: .: no-dependency-on python-base 3.*")
|
||||
BIN
python-Sphinx.changes
LFS
BIN
python-Sphinx.changes
LFS
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -28,7 +28,7 @@
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-Sphinx%{psuffix}
|
||||
Version: 4.3.2
|
||||
Version: 4.4.0
|
||||
Release: 0
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
@@ -39,7 +39,7 @@ Source1: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%
|
||||
# Provide intersphinx inventory offline
|
||||
Source2: https://docs.python.org/3/objects.inv#/python3.inv
|
||||
Source3: https://requests.readthedocs.io/en/master/objects.inv#/requests.inv
|
||||
Source99: python-Sphinx-rpmlintrc
|
||||
Source4: https://docs.readthedocs.io/en/stable/objects.inv#/readthedocs.inv
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -236,12 +236,14 @@ mkdir build.doc
|
||||
|
||||
cp %{SOURCE2} doc/python3.inv
|
||||
cp %{SOURCE3} doc/requests.inv
|
||||
cp %{SOURCE4} doc/readthedocs.inv
|
||||
%{python_expand # Use one bundled intersphinx inventory for all flavors.
|
||||
# The python3.6 inventory fails to build even in its own flavor.
|
||||
# Use a more recent default (currently 3.9) from the source tag instead.
|
||||
# The same for requests.
|
||||
sed -i -e "s/\((.https:..docs.python.org.3.., \)None\()\)/\1'python3.inv'\2/g" doc/conf.py
|
||||
sed -i -e "s/\((.https:..requests.readthedocs.io.*, \)None\()\)/\1'requests.inv'\2/g" doc/conf.py
|
||||
sed -i -e "s/\((.https:..docs.readthedocs.io.*, \)None\()\)/\1'readthedocs.inv'\2/g" doc/conf.py
|
||||
$python setup.py build_sphinx
|
||||
rm build/sphinx/html/.buildinfo
|
||||
$python setup.py build_sphinx -b man
|
||||
@@ -276,6 +278,7 @@ grep -F %{$python_sitelib} ${langfile} >> %{$python_prefix}-${langfile} \
|
||||
%else
|
||||
mkdir -p %{buildroot}%{_docdir}/python-Sphinx/
|
||||
mv build.doc/html %{buildroot}%{_docdir}/python-Sphinx/
|
||||
rm -rf %{buildroot}%{_docdir}/python-Sphinx/html/_images
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
mv build.doc/man/sphinx-all.1 %{buildroot}%{_mandir}/man1/sphinx-all.1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a266f498d0c2a5154a47372700557be8e8d5dd52ee9c91be28c7f6a94f18bbee
|
||||
size 112781
|
||||
oid sha256:b66778ebc993920f8e38e5e6e92ff87408d96643f15c21beb3b68a9ec9191c94
|
||||
size 112797
|
||||
|
||||
3
readthedocs.inv
Normal file
3
readthedocs.inv
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b26acd3a4de20f5be301954925f7364435b4ea22499bbaa1ea8c06366044f63
|
||||
size 19635
|
||||
Reference in New Issue
Block a user