python-Sphinx/python-Sphinx.spec

363 lines
12 KiB
RPMSpec
Raw Normal View History

- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
#
# spec file for package python-Sphinx
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
#
# Copyright (c) 2024 SUSE LLC
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-Sphinx%{psuffix}
- update to 7.2.6: * #11679: Add the :envvar:`!SPHINX_AUTODOC_RELOAD_MODULES` environment variable, which if set reloads modules when using autodoc with ``TYPE_CHECKING = True``. * #11679: Use :py:func:`importlib.reload` to reload modules in autodoc. * autodoc: Support positional-only parameters in classmethod methods * Restore support string methods on path objects. This is deprecated and will be removed in Sphinx 8. Use os.fspath() to convert Path * linkcheck: Resolve hanging tests for timezones west of London and * Add the :no-typesetting: option to suppress textual output and only * Restored the the str interface of the asset classes (_CascadingStyleSheet and _JavaScript), which several extensions relied upon. This will be variables/structure members * html: HTML logo or Favicon specified as file not being found on output * #8959: using UNIX path separator in image directive confuses Sphinx on Windows bracketed, not braced (and is anyhow not needed) - Add sphinx-pr8520-fix-AliasNode-copy.patch to fix failing - add sphinx-pygments-compat.patch (fix tests with newer pygments) module has submodules - Recommends only on SUSE - Move sphinxcontrib namespace into seperate package to avoid - Split latex-related stuff into its own subpackage so we can - Be explicit about six version requirements anymore. If you want to keep italic style, adapt your stylesheet. figure numbers instead # symbol. unused_docs have been removed. font. Custom writers will have to be adapted to handle this node. lineno-match option. Thanks to Jeppe Pihl. - Add sphinx-setup_command_unicode.patch: Backport of OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=253
2023-09-14 12:17:23 +02:00
Version: 7.2.6
Release: 0
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
Summary: Python documentation generator
License: BSD-2-Clause
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
Group: Development/Languages/Python
URL: http://sphinx-doc.org
Accepting request 1101202 from home:marxin:branches:devel:languages:python - Update to 7.1.1: * #11514: Fix ``SOURCE_DATE_EPOCH`` in multi-line copyright footer. Patch by Bénédikt Tran. - Update to 7.1.0: * Releases are no longer signed, given the `change in PyPI policy`_. * #11412: Emit warnings on using a deprecated Python-specific index entry type (namely, ``module``, ``keyword``, ``operator``, ``object``, ``exception``, ``statement``, and ``builtin``) in the :rst:dir:`index` directive, and set the removal version to Sphinx 9. Patch by Adam Turner. * #11415: Add a checksum to JavaScript and CSS asset URIs included within generated HTML, using the CRC32 algorithm. * :meth:`~sphinx.application.Sphinx.require_sphinx` now allows the version requirement to be specified as ``(major, minor)``. * #11011: Allow configuring a line-length limit for object signatures, via :confval:`maximum_signature_line_length` and the domain-specific variants. If the length of the signature (in characters) is greater than the configured limit, each parameter in the signature will be split to its own logical line. This behaviour may also be controlled by options on object description directives, for example :rst:dir:`py:function:single-line-parameter-list`. Patch by Thomas Louf, Adam Turner, and Jean-François B. * #10983: Support for multiline copyright statements in the footer block. Patch by Stefanie Molin * ``sphinx.util.display.status_iterator`` now clears the current line with ANSI control codes, rather than overprinting with space characters. * #11431: linkcheck: Treat SSL failures as broken links. Patch by Bénédikt Tran * #11157: Keep the ``translated`` attribute on translated nodes. * #11451: Improve the traceback displayed when using :option:`sphinx-build -T` in parallel builds. Patch by Bénédikt Tran * #11324: linkcheck: Use session-basd HTTP requests. OBS-URL: https://build.opensuse.org/request/show/1101202 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=245
2023-07-29 11:12:43 +02:00
Source: https://files.pythonhosted.org/packages/source/s/sphinx/sphinx-%{version}.tar.gz
Accepting request 991054 from home:marxin:branches:devel:languages:python - Update to version 5.1.0 * #10656: Support `Docutils 0.19`_. Patch by Adam Turner. * #10467: Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``. Patch by Adam Turner. * #9856: Deprecated ``sphinx.ext.napoleon.iterators``. * #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. * #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option` directives through a new :confval:`option_emphasise_placeholders` configuration option. * #10439: std domain: Use the repr of some variables when displaying warnings, making whitespace issues easier to identify. * #10571: quickstart: Reduce content in the generated ``conf.py`` file. Patch by Pradyun Gedam. * #10648: LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>` keys allow to configure four separate border-widths, four paddings, four corner radii, a shadow (possibly inset), colours for border, background, shadow for each of the code-block, topic, attention, caution, danger, error and warning directives. * #10655: LaTeX: Explain non-standard encoding in LatinRules.xdy * #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when using Docutils 0.18 or later, to allow for easier styling. This matches the behaviour introduced in Docutils 0.19. Patch by Adam Turner. * #10518: config: Add ``include_patterns`` as the opposite of ``exclude_patterns``. Patch by Adam Turner. * #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ * #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due to missing ``Node.findall()`` * #10506: LaTeX: build error if highlighting inline code role in figure caption (refs: #10251) OBS-URL: https://build.opensuse.org/request/show/991054 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=214
2022-07-25 17:58:13 +02:00
# Provide intersphinx inventory offline, run update-intersphinx.sh
# https://docs.python.org/3/objects.inv
Source2: python3.inv
Accepting request 991054 from home:marxin:branches:devel:languages:python - Update to version 5.1.0 * #10656: Support `Docutils 0.19`_. Patch by Adam Turner. * #10467: Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``. Patch by Adam Turner. * #9856: Deprecated ``sphinx.ext.napoleon.iterators``. * #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. * #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option` directives through a new :confval:`option_emphasise_placeholders` configuration option. * #10439: std domain: Use the repr of some variables when displaying warnings, making whitespace issues easier to identify. * #10571: quickstart: Reduce content in the generated ``conf.py`` file. Patch by Pradyun Gedam. * #10648: LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>` keys allow to configure four separate border-widths, four paddings, four corner radii, a shadow (possibly inset), colours for border, background, shadow for each of the code-block, topic, attention, caution, danger, error and warning directives. * #10655: LaTeX: Explain non-standard encoding in LatinRules.xdy * #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when using Docutils 0.18 or later, to allow for easier styling. This matches the behaviour introduced in Docutils 0.19. Patch by Adam Turner. * #10518: config: Add ``include_patterns`` as the opposite of ``exclude_patterns``. Patch by Adam Turner. * #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ * #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due to missing ``Node.findall()`` * #10506: LaTeX: build error if highlighting inline code role in figure caption (refs: #10251) OBS-URL: https://build.opensuse.org/request/show/991054 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=214
2022-07-25 17:58:13 +02:00
# https://requests.readthedocs.io/en/stable/objects.inv
Source3: requests.inv
Accepting request 991054 from home:marxin:branches:devel:languages:python - Update to version 5.1.0 * #10656: Support `Docutils 0.19`_. Patch by Adam Turner. * #10467: Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``. Patch by Adam Turner. * #9856: Deprecated ``sphinx.ext.napoleon.iterators``. * #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. * #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option` directives through a new :confval:`option_emphasise_placeholders` configuration option. * #10439: std domain: Use the repr of some variables when displaying warnings, making whitespace issues easier to identify. * #10571: quickstart: Reduce content in the generated ``conf.py`` file. Patch by Pradyun Gedam. * #10648: LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>` keys allow to configure four separate border-widths, four paddings, four corner radii, a shadow (possibly inset), colours for border, background, shadow for each of the code-block, topic, attention, caution, danger, error and warning directives. * #10655: LaTeX: Explain non-standard encoding in LatinRules.xdy * #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when using Docutils 0.18 or later, to allow for easier styling. This matches the behaviour introduced in Docutils 0.19. Patch by Adam Turner. * #10518: config: Add ``include_patterns`` as the opposite of ``exclude_patterns``. Patch by Adam Turner. * #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ * #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due to missing ``Node.findall()`` * #10506: LaTeX: build error if highlighting inline code role in figure caption (refs: #10251) OBS-URL: https://build.opensuse.org/request/show/991054 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=214
2022-07-25 17:58:13 +02:00
# https://docs.readthedocs.io/en/stable/objects.inv
Source4: readthedocs.inv
Accepting request 991054 from home:marxin:branches:devel:languages:python - Update to version 5.1.0 * #10656: Support `Docutils 0.19`_. Patch by Adam Turner. * #10467: Deprecated ``sphinx.util.stemmer`` in favour of ``snowballstemmer``. Patch by Adam Turner. * #9856: Deprecated ``sphinx.ext.napoleon.iterators``. * #10444: html theme: Allow specifying multiple CSS files through the ``stylesheet`` setting in ``theme.conf`` or by setting ``html_style`` to an iterable of strings. * #10366: std domain: Add support for emphasising placeholders in :rst:dir:`option` directives through a new :confval:`option_emphasise_placeholders` configuration option. * #10439: std domain: Use the repr of some variables when displaying warnings, making whitespace issues easier to identify. * #10571: quickstart: Reduce content in the generated ``conf.py`` file. Patch by Pradyun Gedam. * #10648: LaTeX: CSS-named-alike additional :ref:`'sphinxsetup' <latexsphinxsetup>` keys allow to configure four separate border-widths, four paddings, four corner radii, a shadow (possibly inset), colours for border, background, shadow for each of the code-block, topic, attention, caution, danger, error and warning directives. * #10655: LaTeX: Explain non-standard encoding in LatinRules.xdy * #10599: HTML Theme: Wrap consecutive footnotes in an ``<aside>`` element when using Docutils 0.18 or later, to allow for easier styling. This matches the behaviour introduced in Docutils 0.19. Patch by Adam Turner. * #10518: config: Add ``include_patterns`` as the opposite of ``exclude_patterns``. Patch by Adam Turner. * #10594: HTML Theme: field term colons are doubled if using Docutils 0.18+ * #10596: Build failure if Docutils version is 0.18 (not 0.18.1) due to missing ``Node.findall()`` * #10506: LaTeX: build error if highlighting inline code role in figure caption (refs: #10251) OBS-URL: https://build.opensuse.org/request/show/991054 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=214
2022-07-25 17:58:13 +02:00
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
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
2018-07-20 14:46:04 +02:00
BuildRequires: %{python_module base}
BuildRequires: %{python_module flit-core}
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
BuildRequires: python3-pip
# workaround for suboptimal CentOS-7 project config
#!BuildIgnore: texinfo
Requires: python-Babel >= 1.3
- Updateo version 1.2b3: + The Sphinx error log files will now include a list of the loaded extensions for help in debugging. + PR#154: Remove "sphinx" prefix from LaTeX class name except 'sphinxmanual' and 'sphinxhowto'. Now you can use your custom document class without 'sphinx' prefix. Thanks to Erik B. + #1265: Fix i18n: crash when translating a section name that is pointed to from a named target. + A wrong condition broke the search feature on first page that is usually index.rst. This issue was introduced in 1.2b1. + #703: When Sphinx can't decode filenames with non-ASCII characters, Sphinx now catches UnicodeError and will continue if possible instead of raising the exception. - Changes from version 1.2b2 and prior: + See CHANGES file - Own /etc/alternatives/sphinx-* by ghosting (update-alternatives) * PR#40: Fix safe_repr function to decode bytestrings with non-ASCII * PR#37: Allow configuring sphinx-apidoc via SPHINX_APIDOC_OPTIONS. * #864: Fix crash with some settings of :confval:modindex_common_prefix. * #862: Fix handling of -D and -A options on Python 3. * #831: Provide --project flag in setup_command as advertised. * #873: Fix assertion errors with empty only directives. * #805: Make the Sphinx.add_index_to_domain method work correctly. * #599: Import PIL as from PIL import Image. * #571: Implement ~ cross-reference prefix for the C domain. * Fix traceback with only directives preceded by targets. * Fix JavaScript domain links to objects with $ in their name. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=41
2013-11-06 12:47:17 +01:00
Requires: python-Jinja2 >= 2.3
Requires: python-Pygments >= 2.14
Requires: python-alabaster >= 0.7
Requires: python-docutils >= 0.12
Requires: python-imagesize
Requires: python-packaging
Requires: python-requests >= 2.5.0
Requires: python-snowballstemmer >= 1.1
Requires: python-sphinx_rtd_theme
Requires: python-sphinxcontrib-applehelp
Requires: python-sphinxcontrib-devhelp
Requires: python-sphinxcontrib-htmlhelp >= 2.0.0
Requires: python-sphinxcontrib-jsmath
Requires: python-sphinxcontrib-qthelp >= 1.0.2
Requires: python-sphinxcontrib-serializinghtml >= 1.1.9
Requires: python-sphinxcontrib-websupport
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-SQLAlchemy >= 0.9
Recommends: python-Sphinx-doc-man
Recommends: python-Whoosh >= 2.0
BuildArch: noarch
%if 0%{?python_version_nodots} < 310
Requires: python-importlib-metadata >= 4.4
%endif
%if %{with test}
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Sphinx = %{version}}
BuildRequires: %{python_module Sphinx-latex = %{version}}
Accepting request 1082382 from home:marxin:branches:devel:languages:python - Bump to version 6.2.0 * Require Docutils 0.18.1 or greater. * LaTeX: removal of some internal TeX ``\dimen`` registers (not previously publicly documented) as per 5.1.0 code comments in ``sphinx.sty``: ``\sphinxverbatimsep``, ``\sphinxverbatimborder``, ``\sphinxshadowsep``, ``\sphinxshadowsize``, and ``\sphinxshadowrule``. (refs: #11105) * Remove ``.egg`` support from pycode ``ModuleAnalyser``; Python eggs are a now-obsolete binary distribution format * #11089: Remove deprecated code in ``sphinx.builders.linkcheck``. Patch by Daniel Eades * Remove internal-only ``sphinx.locale.setlocale`` * #11247: Deprecate the legacy ``intersphinx_mapping`` format * ``sphinx.util.osutil.cd`` is deprecated in favour of ``contextlib.chdir``. * #11277: :rst:dir:`autoproperty` allows the return type to be specified as a type comment (e.g., ``# type: () -> int``). Patch by Bénédikt Tran * #10811: Autosummary: extend ``__all__`` to imported members for template rendering when option ``autosummary_ignore_module_all`` is set to ``False``. Patch by Clement Pinard * #11147: Add a ``content_offset`` parameter to ``nested_parse_with_titles()``, allowing for correct line numbers during nested parsing. Patch by Jeremy Maitin-Shepard * Update to Unicode CLDR 42 * Add a ``--jobs`` synonym for ``-j``. Patch by Hugo van Kemenade * LaTeX: a command ``\sphinxbox`` for styling text elements with a (possibly rounded) box, optional background color and shadow, has been added. See :ref:`sphinxbox`. (refs: #11224) * LaTeX: add ``\sphinxstylenotetitle``, ..., ``\sphinxstylewarningtitle``, ..., for an extra layer of mark-up freeing up ``\sphinxstrong`` for other uses. See :ref:`latex-macros`. (refs: #11267) * LaTeX: :dudir:`note`, :dudir:`hint`, :dudir:`important` and :dudir:`tip` can OBS-URL: https://build.opensuse.org/request/show/1082382 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=236
2023-04-24 13:22:35 +02:00
BuildRequires: %{python_module filelock}
BuildRequires: %{python_module html5lib}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sphinxcontrib-websupport}
BuildRequires: %{python_module testsuite}
BuildRequires: ImageMagick
BuildRequires: graphviz
# For PNG format
BuildRequires: graphviz-gd
# For PDF format (!?)
BuildRequires: graphviz-gnome
BuildRequires: texlive-tex-gyre
%endif
%python_subpackages
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%description
Sphinx is a tool that facilitates creating documentation for Python
projects (or other documents consisting of multiple reStructuredText
sources). It was originally created for the Python documentation, and
supports Python project documentation well, but C/C++ is likewise
supported.
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
Sphinx uses reStructuredText as its markup language. Sphinx draws from
the parsing and translating suite, the Docutils.
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%package latex
Summary: Sphinx packages for LaTeX
Group: Productivity/Publishing/TeX/Base
Requires: python-Sphinx = %{version}
Requires: texlive-dvipng
Requires: texlive-gnu-freefont
Requires: texlive-latex
Requires: texlive-latexmk
Requires: texlive-makeindex
Requires: texlive-metafont
Requires: texlive-pdftex
Requires: tex(8r.enc)
Requires: tex(alltt.sty)
Requires: tex(amsfonts.sty)
Requires: tex(amsmath.sty)
Requires: tex(amssymb.sty)
Requires: tex(amsthm.sty)
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
2018-07-20 14:46:04 +02:00
Requires: tex(anyfontsize.sty)
Requires: tex(array.sty)
Requires: tex(article.cls)
Requires: tex(atbegshi.sty)
Requires: tex(babel.sty)
Requires: tex(bm.sty)
Requires: tex(capt-of.sty)
Requires: tex(cmap.sty)
Requires: tex(color.sty)
Requires: tex(colortbl.sty)
Requires: tex(dvipdfmx.def)
Requires: tex(english.ldf)
Requires: tex(eqparbox.sty)
Requires: tex(fancybox.sty)
Requires: tex(fancyhdr.sty)
Requires: tex(fancyvrb.sty)
Requires: tex(float.sty)
Requires: tex(fncychap.sty)
Requires: tex(fontenc.sty)
Requires: tex(footnote.sty)
Requires: tex(framed.sty)
Requires: tex(graphics.sty)
Requires: tex(graphicx.sty)
Requires: tex(hypcap.sty)
Requires: tex(hyperref.sty)
Requires: tex(ifthen.sty)
Requires: tex(inputenc.sty)
Requires: tex(longtable.sty)
Requires: tex(luatex85.sty)
Requires: tex(makeidx.sty)
Requires: tex(multirow.sty)
Requires: tex(needspace.sty)
Requires: tex(newfloat.sty)
Requires: tex(palatino.sty)
Requires: tex(parskip.sty)
Requires: tex(pcrr.tfm)
Requires: tex(pdftex.def)
Requires: tex(pdftex.map)
Requires: tex(phvr.tfm)
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
2018-07-20 14:46:04 +02:00
Requires: tex(polyglossia.sty)
Requires: tex(pplr.tfm)
Requires: tex(preview.sty)
Requires: tex(ptmr.tfm)
Requires: tex(pzcmi.tfm)
Requires: tex(tabulary.sty)
Requires: tex(textcomp.sty)
Requires: tex(tgtermes.sty)
Requires: tex(threeparttable.sty)
Requires: tex(times.sty)
Requires: tex(titlesec.sty)
Requires: tex(upquote.sty)
Requires: tex(utf8.def)
Requires: tex(utf8x.def)
Requires: tex(varwidth.sty)
Requires: tex(wrapfig.sty)
%description latex
Sphinx is a tool that facilitates creating documentation for Python
projects (or other documents consisting of multiple reStructuredText
sources).
This package contains the LaTeX components for python-Sphinx.
%if 0%{?suse_version} > 1500
%package -n python-Sphinx-doc
Summary: Man files for python-Sphinx
Group: Documentation/Other
Requires: python3-Sphinx = %{version}
%description -n python-Sphinx-doc
Sphinx is a tool that facilitates creating documentation for Python
projects (or other documents consisting of multiple reStructuredText
sources). It was originally created for the Python documentation, and
supports Python project documentation well, but C/C++ is likewise
supported.
Sphinx uses reStructuredText as its markup language. Sphinx draws from
the parsing and translating suite, the Docutils.
This package contains the documentation for Sphinx.
%package -n python-Sphinx-doc-man
Summary: Man files for python-Sphinx
Group: Documentation/Man
Requires: python3-Sphinx = %{version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
Supplements: python3-Sphinx
Obsoletes: python-Sphinx-doc-man-common <= %{version}
%description -n python-Sphinx-doc-man
Sphinx is a tool that facilitates creating documentation for Python
projects (or other documents consisting of multiple reStructuredText
sources).
This package contains the manual pages for the Sphinx executables.
%package -n python-Sphinx-doc-html
Summary: HTML Documentation for python-Sphinx
Group: Documentation/HTML
Provides: python-Sphinx-doc-html = %{version}
%description -n python-Sphinx-doc-html
Sphinx is a tool that facilitates creating documentation for Python
projects (or other documents consisting of multiple reStructuredText
sources).
This package contains the HTML documentation for Sphinx.
%endif
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%prep
Accepting request 1101202 from home:marxin:branches:devel:languages:python - Update to 7.1.1: * #11514: Fix ``SOURCE_DATE_EPOCH`` in multi-line copyright footer. Patch by Bénédikt Tran. - Update to 7.1.0: * Releases are no longer signed, given the `change in PyPI policy`_. * #11412: Emit warnings on using a deprecated Python-specific index entry type (namely, ``module``, ``keyword``, ``operator``, ``object``, ``exception``, ``statement``, and ``builtin``) in the :rst:dir:`index` directive, and set the removal version to Sphinx 9. Patch by Adam Turner. * #11415: Add a checksum to JavaScript and CSS asset URIs included within generated HTML, using the CRC32 algorithm. * :meth:`~sphinx.application.Sphinx.require_sphinx` now allows the version requirement to be specified as ``(major, minor)``. * #11011: Allow configuring a line-length limit for object signatures, via :confval:`maximum_signature_line_length` and the domain-specific variants. If the length of the signature (in characters) is greater than the configured limit, each parameter in the signature will be split to its own logical line. This behaviour may also be controlled by options on object description directives, for example :rst:dir:`py:function:single-line-parameter-list`. Patch by Thomas Louf, Adam Turner, and Jean-François B. * #10983: Support for multiline copyright statements in the footer block. Patch by Stefanie Molin * ``sphinx.util.display.status_iterator`` now clears the current line with ANSI control codes, rather than overprinting with space characters. * #11431: linkcheck: Treat SSL failures as broken links. Patch by Bénédikt Tran * #11157: Keep the ``translated`` attribute on translated nodes. * #11451: Improve the traceback displayed when using :option:`sphinx-build -T` in parallel builds. Patch by Bénédikt Tran * #11324: linkcheck: Use session-basd HTTP requests. OBS-URL: https://build.opensuse.org/request/show/1101202 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=245
2023-07-29 11:12:43 +02:00
%setup -q -n sphinx-%{version}
%autopatch -p1
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%build
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
%pyproject_wheel
%if %{with test}
mkdir build.doc
cp %{SOURCE2} doc/python3.inv
cp %{SOURCE3} doc/requests.inv
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
2022-01-18 22:35:10 +01:00
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
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
sed -i -e "s/\((.https:..requests.readthedocs.io.*, \)None\()\)/\1'requests.inv'\2/g" doc/conf.py
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
2022-01-18 22:35:10 +01:00
sed -i -e "s/\((.https:..docs.readthedocs.io.*, \)None\()\)/\1'readthedocs.inv'\2/g" doc/conf.py
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
# rm build/sphinx/html/.buildinfo
Accepting request 1082382 from home:marxin:branches:devel:languages:python - Bump to version 6.2.0 * Require Docutils 0.18.1 or greater. * LaTeX: removal of some internal TeX ``\dimen`` registers (not previously publicly documented) as per 5.1.0 code comments in ``sphinx.sty``: ``\sphinxverbatimsep``, ``\sphinxverbatimborder``, ``\sphinxshadowsep``, ``\sphinxshadowsize``, and ``\sphinxshadowrule``. (refs: #11105) * Remove ``.egg`` support from pycode ``ModuleAnalyser``; Python eggs are a now-obsolete binary distribution format * #11089: Remove deprecated code in ``sphinx.builders.linkcheck``. Patch by Daniel Eades * Remove internal-only ``sphinx.locale.setlocale`` * #11247: Deprecate the legacy ``intersphinx_mapping`` format * ``sphinx.util.osutil.cd`` is deprecated in favour of ``contextlib.chdir``. * #11277: :rst:dir:`autoproperty` allows the return type to be specified as a type comment (e.g., ``# type: () -> int``). Patch by Bénédikt Tran * #10811: Autosummary: extend ``__all__`` to imported members for template rendering when option ``autosummary_ignore_module_all`` is set to ``False``. Patch by Clement Pinard * #11147: Add a ``content_offset`` parameter to ``nested_parse_with_titles()``, allowing for correct line numbers during nested parsing. Patch by Jeremy Maitin-Shepard * Update to Unicode CLDR 42 * Add a ``--jobs`` synonym for ``-j``. Patch by Hugo van Kemenade * LaTeX: a command ``\sphinxbox`` for styling text elements with a (possibly rounded) box, optional background color and shadow, has been added. See :ref:`sphinxbox`. (refs: #11224) * LaTeX: add ``\sphinxstylenotetitle``, ..., ``\sphinxstylewarningtitle``, ..., for an extra layer of mark-up freeing up ``\sphinxstrong`` for other uses. See :ref:`latex-macros`. (refs: #11267) * LaTeX: :dudir:`note`, :dudir:`hint`, :dudir:`important` and :dudir:`tip` can OBS-URL: https://build.opensuse.org/request/show/1082382 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=236
2023-04-24 13:22:35 +02:00
$python -m sphinx -b man -j auto ./doc ./build.doc/man
$python -m sphinx -b html -j auto ./doc ./build.doc/html
}
%endif
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%install
%if ! %{with test}
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/sphinx-apidoc
%python_clone -a %{buildroot}%{_bindir}/sphinx-autogen
%python_clone -a %{buildroot}%{_bindir}/sphinx-build
%python_clone -a %{buildroot}%{_bindir}/sphinx-quickstart
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib
%python_expand %fdupes %{buildroot}%{$python_sitelib}
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
# gh#openSUSE/python-rpm-macros#74
%{!?python_find_lang: %define python_find_lang() \
%find_lang %{**} \
langfile=%{?2}%{!?2:%1.lang} \
%{python_expand # \
grep -v 'python.*site-packages' ${langfile} > %{$python_prefix}-${langfile} \
grep -F %{$python_sitelib} ${langfile} >> %{$python_prefix}-${langfile} \
} \
}
%python_find_lang sphinx
%else
%if 0%{?suse_version} > 1500
mkdir -p %{buildroot}%{_docdir}/python-Sphinx/
mv build.doc/html %{buildroot}%{_docdir}/python-Sphinx/
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
2022-01-18 22:35:10 +01:00
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
mv build.doc/man/sphinx-apidoc.1 %{buildroot}%{_mandir}/man1/sphinx-apidoc.1
mv build.doc/man/sphinx-build.1 %{buildroot}%{_mandir}/man1/sphinx-build.1
mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quickstart.1
%endif
%endif
# Always deduplicate
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if ! %{with test}
%post
%python_install_alternative sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart
:
%postun
%python_uninstall_alternative sphinx-apidoc
%endif
%check
%if %{with test}
export PYTHONPATH=.
export LC_ALL="C.utf8"
# test_latex_images test downloading a remote image
# test_signature_annotations doesnt work
%pytest tests -k 'not (linkcheck or test_latex_images or test_signature_annotations or test_copy_images or test_ext_imgconverter)'
%endif
%if ! %{with test}
%files %{python_files} -f %{python_prefix}-sphinx.lang
%license LICENSE
%doc AUTHORS CHANGES README.rst
%python_alternative %{_bindir}/sphinx-apidoc
%python_alternative %{_bindir}/sphinx-autogen
%python_alternative %{_bindir}/sphinx-build
%python_alternative %{_bindir}/sphinx-quickstart
%{python_sitelib}/sphinx/
%exclude %{python_sitelib}/sphinx/texinputs/
Accepting request 1006671 from home:marxin:branches:devel:languages:python - Update to version 5.2.2 * #10872: Restore link targets for autodoc modules to the top of content. Patch by Dominic Davis-Foster. - Update to version 5.2.1 * #10861: Always normalise the ``pycon3`` lexer to ``pycon``. * Fix using ``sphinx.ext.autosummary`` with modules containing titles in the module-level docstring. - Remove unneeded spec hunks. - Update to version 5.2.0 * #10356: Sphinx now uses declarative metadata with pyproject.toml to create packages, using PyPA’s build project as a build backend. Patch by Adam Turner. * #10286: C++, support requires clauses not just between the template parameter lists and the declaration. * #10755: linkcheck: Check the source URL of raw directives that use the url option. * #10781: Allow ref role to be used with definitions and fields. * #10717: HTML Search: Increase priority for full title and subtitle matches in search results * #10718: HTML Search: Save search result score to the HTML element for debugging * #10673: Make toctree accept ‘genindex’, ‘modindex’ and ‘search’ docnames * #6316, #10804: Add domain objects to the table of contents. Patch by Adam Turner * #6692: HTML Search: Include explicit index directive index entries in the search index and search results. Patch by Adam Turner * #10816: imgmath: Allow embedding images in HTML as base64 * #10257: C++, ensure consistent non-specialization template argument representation. * #10729: C++, fix parsing of certain non-type template parameter packs. * #10715: Revert #10520: “Fix” use of sidebar classes in agogo.css_t * #10701: Fix ValueError in the new ``deque`` based ``sphinx.ext.napolean`` iterator implementation. * #10702: Restore compatability with third-party builders. OBS-URL: https://build.opensuse.org/request/show/1006671 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=218
2022-09-28 18:52:39 +02:00
%dir %{python_sitelib}/sphinx-%{version}.dist-info
%{python_sitelib}/sphinx-%{version}.dist-info/*
%dir %{python_sitelib}/sphinxcontrib
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%files %{python_files latex}
%license LICENSE
%doc AUTHORS
%{python_sitelib}/sphinx/texinputs/
%endif
%if %{with test}
%if 0%{?suse_version} > 1500
%files -n python-Sphinx-doc-man
%license LICENSE
%doc AUTHORS
%{_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
%dir %{_docdir}/python-Sphinx/
%{_docdir}/python-Sphinx/html/
%endif
%endif
- Renamed to 'python-Sphinx', obsoletes 'python-sphinx' - Update to version 1.0.7: * #347: Fix wrong generation of directives of static methods in autosummary. * #599: Import PIL as ``from PIL import Image``. * #558: Fix longtables with captions in LaTeX output. * Make token references work as hyperlinks again in LaTeX output. * #572: Show warnings by default when reference labels cannot be found. * #536: Include line number when complaining about missing reference targets in nitpicky mode. * #590: Fix inline display of graphviz diagrams in LaTeX output. * #589: Build using app.build() in setup command. * Fix a bug in the inheritance diagram exception that caused base classes to be skipped if one of them is a builtin. * Fix general index links for C++ domain objects. * #332: Make admonition boundaries in LaTeX output visible. * #573: Fix KeyErrors occurring on rebuild after removing a file. * Fix a traceback when removing files with globbed toctrees. * If an autodoc object cannot be imported, always re-read the document containing the directive on next build. * If an autodoc object cannot be imported, show the full traceback of the import error. * Fix a bug where the removal of download files and images wasn't noticed. * #571: Implement ``~`` cross-reference prefix for the C domain. * Fix regression of LaTeX output with the fix of #556. * #568: Fix lookup of class attribute documentation on descriptors so that comment documentation now works. * Fix traceback with ``only`` directives preceded by targets. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=1
2011-07-03 13:34:40 +02:00
%changelog