forked from pool/python-Sphinx
- update to 7.3.7:
* #12299: Defer loading themes defined via entry points until their explicit use by the user or a child theme. Patch by Adam Turner. * #12305: Return the default value for theme.get_config() with an unsupported theme configuration section. Patch by Adam Turner. * #12295: Re-export all AST types in the C and C++ domains. Patch by Adam Turner. * #12295: Re-export various objects from sphinx.domains.python._annotations in sphinx.domains.python. Patch by Jacob Chesslo and Adam Turner. * #12295: Re-export various objects from sphinx.domains.python._object in sphinx.domains.python. Patch by Jacob Chesslo and Adam Turner. * Handle cases when Any is not an instance of type. Patch by Adam Turner. * #12290: Fix a false-positive warning when setting a configuration value with Any as the valid type to a type other than the value's default. Patch by Adam Turner. * Preload all themes defined via entry points. Patch by Adam Turner. * Fix a bad interaction between the 'Furo' theme and the new- style for configuration values. Patch by Adam Turner. * Require tomli on Python 3.10 and earlier. Patch by Adam Turner. * #11858: Increase the minimum supported version of Alabaster to 0.7.14. Patch by Adam Turner. * #11411: Support Docutils 0.21. Patch by Adam Turner. * #12012: Use types-docutils instead of docutils-stubs. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=264
This commit is contained in:
@@ -26,12 +26,12 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Sphinx%{psuffix}
|
||||
Version: 7.2.6
|
||||
Version: 7.3.7
|
||||
Release: 0
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://sphinx-doc.org
|
||||
URL: https://www.sphinx-doc.org
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinx/sphinx-%{version}.tar.gz
|
||||
# Provide intersphinx inventory offline, run update-intersphinx.sh
|
||||
# https://docs.python.org/3/objects.inv
|
||||
@@ -42,10 +42,6 @@ Source3: requests.inv
|
||||
Source4: readthedocs.inv
|
||||
Source5: update-intersphinx.sh
|
||||
Source99: python-Sphinx.keyring
|
||||
# PATCH-FIX-UPSTREAM: fix-autodoc-tests-python-3117.patch gh#sphinx-doc/sphinx#11793
|
||||
Patch01: fix-autodoc-tests-python-3117.patch
|
||||
# PATCH-FIX-UPSTREAM: fix-test-expectation-for-enum-rendering-on-python-3.12.3.patch gh#sphinx-doc/sphinx#12293
|
||||
Patch02: fix-test-expectation-for-enum-rendering-on-python-3.12.3.patch
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -323,8 +319,8 @@ export LC_ALL="C.utf8"
|
||||
|
||||
%if ! %{with test}
|
||||
%files %{python_files} -f %{python_prefix}-sphinx.lang
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGES README.rst
|
||||
%license LICENSE.rst
|
||||
%doc CHANGES.rst README.rst
|
||||
%python_alternative %{_bindir}/sphinx-apidoc
|
||||
%python_alternative %{_bindir}/sphinx-autogen
|
||||
%python_alternative %{_bindir}/sphinx-build
|
||||
@@ -336,24 +332,21 @@ export LC_ALL="C.utf8"
|
||||
%dir %{python_sitelib}/sphinxcontrib
|
||||
|
||||
%files %{python_files latex}
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/sphinx/texinputs/
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%if 0%{?suse_version} > 1500
|
||||
%files -n python-Sphinx-doc-man
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%license LICENSE.rst
|
||||
%{_mandir}/man1/sphinx-all.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-apidoc.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-build.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-quickstart.1%{?ext_man}
|
||||
|
||||
%files -n python-Sphinx-doc-html
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%license LICENSE.rst
|
||||
%dir %{_docdir}/python-Sphinx/
|
||||
%{_docdir}/python-Sphinx/html/
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user