python-Sphinx/python-Sphinx.spec

108 lines
3.8 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
#
- Update to version 1.1.13: * PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII characters correctly. * PR#37: Allow configuring sphinx-apidoc via ``SPHINX_APIDOC_OPTIONS``. * PR#34: Restore Python 2.4 compatibility. * PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to the document class. * #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets. * #859: Fix exception under certain circumstances when not finding appropriate objects to link to. * #860: Do not crash when encountering invalid doctest examples, just emit a warning. * #864: Fix crash with some settings of :confval:`modindex_common_prefix`. * #862: Fix handling of ``-D`` and ``-A`` options on Python 3. * #851: Recognize and warn about circular toctrees, instead of running into recursion errors. * #853: Restore compatibility with docutils trunk. * #852: Fix HtmlHelp index entry links again. * #854: Fix inheritance_diagram raising attribute errors on builtins. * #832: Fix crashes when putting comments or lone terms in a glossary. * #834, #818: Fix HTML help language/encoding mapping for all Sphinx supported languages. * #844: Fix crashes when dealing with Unicode output in doctest extension. * #831: Provide ``--project`` flag in setup_command as advertised. * #875: Fix reading config files under Python 3. * #876: Fix quickstart test under Python 3. * #870: Fix spurious KeyErrors when removing documents. * #892: Fix single-HTML builder misbehaving with the master document in a subdirectory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=13
2012-05-23 15:00:54 +02:00
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
- 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.
- 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
# Please submit bugfixes or comments via http://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
Name: python-Sphinx
- Update to version 1.1.13: * PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII characters correctly. * PR#37: Allow configuring sphinx-apidoc via ``SPHINX_APIDOC_OPTIONS``. * PR#34: Restore Python 2.4 compatibility. * PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to the document class. * #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets. * #859: Fix exception under certain circumstances when not finding appropriate objects to link to. * #860: Do not crash when encountering invalid doctest examples, just emit a warning. * #864: Fix crash with some settings of :confval:`modindex_common_prefix`. * #862: Fix handling of ``-D`` and ``-A`` options on Python 3. * #851: Recognize and warn about circular toctrees, instead of running into recursion errors. * #853: Restore compatibility with docutils trunk. * #852: Fix HtmlHelp index entry links again. * #854: Fix inheritance_diagram raising attribute errors on builtins. * #832: Fix crashes when putting comments or lone terms in a glossary. * #834, #818: Fix HTML help language/encoding mapping for all Sphinx supported languages. * #844: Fix crashes when dealing with Unicode output in doctest extension. * #831: Provide ``--project`` flag in setup_command as advertised. * #875: Fix reading config files under Python 3. * #876: Fix quickstart test under Python 3. * #870: Fix spurious KeyErrors when removing documents. * #892: Fix single-HTML builder misbehaving with the master document in a subdirectory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=13
2012-05-23 15:00:54 +02:00
Version: 1.1.3
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
Url: http://sphinx.pocoo.org
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
Source: http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
- Update to version 1.1.13: * PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII characters correctly. * PR#37: Allow configuring sphinx-apidoc via ``SPHINX_APIDOC_OPTIONS``. * PR#34: Restore Python 2.4 compatibility. * PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to the document class. * #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets. * #859: Fix exception under certain circumstances when not finding appropriate objects to link to. * #860: Do not crash when encountering invalid doctest examples, just emit a warning. * #864: Fix crash with some settings of :confval:`modindex_common_prefix`. * #862: Fix handling of ``-D`` and ``-A`` options on Python 3. * #851: Recognize and warn about circular toctrees, instead of running into recursion errors. * #853: Restore compatibility with docutils trunk. * #852: Fix HtmlHelp index entry links again. * #854: Fix inheritance_diagram raising attribute errors on builtins. * #832: Fix crashes when putting comments or lone terms in a glossary. * #834, #818: Fix HTML help language/encoding mapping for all Sphinx supported languages. * #844: Fix crashes when dealing with Unicode output in doctest extension. * #831: Provide ``--project`` flag in setup_command as advertised. * #875: Fix reading config files under Python 3. * #876: Fix quickstart test under Python 3. * #870: Fix spurious KeyErrors when removing documents. * #892: Fix single-HTML builder misbehaving with the master document in a subdirectory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=13
2012-05-23 15:00:54 +02:00
BuildRequires: python-Jinja2
- 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
BuildRequires: python-devel
BuildRequires: python-distribute
- Update to version 1.1.13: * PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII characters correctly. * PR#37: Allow configuring sphinx-apidoc via ``SPHINX_APIDOC_OPTIONS``. * PR#34: Restore Python 2.4 compatibility. * PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to the document class. * #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets. * #859: Fix exception under certain circumstances when not finding appropriate objects to link to. * #860: Do not crash when encountering invalid doctest examples, just emit a warning. * #864: Fix crash with some settings of :confval:`modindex_common_prefix`. * #862: Fix handling of ``-D`` and ``-A`` options on Python 3. * #851: Recognize and warn about circular toctrees, instead of running into recursion errors. * #853: Restore compatibility with docutils trunk. * #852: Fix HtmlHelp index entry links again. * #854: Fix inheritance_diagram raising attribute errors on builtins. * #832: Fix crashes when putting comments or lone terms in a glossary. * #834, #818: Fix HTML help language/encoding mapping for all Sphinx supported languages. * #844: Fix crashes when dealing with Unicode output in doctest extension. * #831: Provide ``--project`` flag in setup_command as advertised. * #875: Fix reading config files under Python 3. * #876: Fix quickstart test under Python 3. * #870: Fix spurious KeyErrors when removing documents. * #892: Fix single-HTML builder misbehaving with the master document in a subdirectory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=13
2012-05-23 15:00:54 +02:00
BuildRequires: python-docutils
# Testsuite build requirements:
BuildRequires: python-Pygments
BuildRequires: python-nose
Requires: python-Jinja2
Requires: python-Pygments
Requires: python-distribute
- Update to version 1.1.13: * PR#40: Fix ``safe_repr`` function to decode bytestrings with non-ASCII characters correctly. * PR#37: Allow configuring sphinx-apidoc via ``SPHINX_APIDOC_OPTIONS``. * PR#34: Restore Python 2.4 compatibility. * PR#36: Make the "bibliography to TOC" fix in LaTeX output specific to the document class. * #695: When the highlight language "python" is specified explicitly, do not try to parse the code to recognize non-Python snippets. * #859: Fix exception under certain circumstances when not finding appropriate objects to link to. * #860: Do not crash when encountering invalid doctest examples, just emit a warning. * #864: Fix crash with some settings of :confval:`modindex_common_prefix`. * #862: Fix handling of ``-D`` and ``-A`` options on Python 3. * #851: Recognize and warn about circular toctrees, instead of running into recursion errors. * #853: Restore compatibility with docutils trunk. * #852: Fix HtmlHelp index entry links again. * #854: Fix inheritance_diagram raising attribute errors on builtins. * #832: Fix crashes when putting comments or lone terms in a glossary. * #834, #818: Fix HTML help language/encoding mapping for all Sphinx supported languages. * #844: Fix crashes when dealing with Unicode output in doctest extension. * #831: Provide ``--project`` flag in setup_command as advertised. * #875: Fix reading config files under Python 3. * #876: Fix quickstart test under Python 3. * #870: Fix spurious KeyErrors when removing documents. * #892: Fix single-HTML builder misbehaving with the master document in a subdirectory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=13
2012-05-23 15:00:54 +02:00
Requires: python-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
Suggests: python-rst2pdf
Provides: python-sphinx = %{version}
Obsoletes: python-sphinx < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%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
%description
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl. It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.
Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.
%package doc
Summary: Documentation for %{name}
Group: Documentation/Other
Requires: %{name} = %{version}
%description doc
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of multiple
reStructuredText sources), written by Georg Brandl. It was originally created
for the new Python documentation, and has excellent facilities for Python
project documentation, but C/C++ is supported as well, and more languages are
planned.
Sphinx uses reStructuredText as its markup language, and many of its strengths
come from the power and straightforwardness of reStructuredText and its parsing
and translating suite, the Docutils.
%prep
%setup -q -n Sphinx-%{version}
sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
- 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
python setup.py build
python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
python setup.py build_sphinx -b man
- 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
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
install -d %{buildroot}%{_mandir}/man1/
install -m 644 build/sphinx/man/sphinx-*.1 %{buildroot}%{_mandir}/man1/
- 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
%find_lang sphinx
%check
nosetests
- 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 -f sphinx.lang
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE README TODO
%{_bindir}/sphinx-*
%{_mandir}/man1/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
%{python_sitelib}/*
%files doc
%defattr(-,root,root,-)
%doc EXAMPLES build/sphinx/html
- 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