Auto sync2gitlab import of python-sphinx-1.7.6-3.el8.src.rpm
This commit is contained in:
		
							parent
							
								
									ca88cc0ca7
								
							
						
					
					
						commit
						1728a70dfb
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | /Sphinx-1.7.6.tar.gz | ||||||
							
								
								
									
										149
									
								
								fix-build-under-fips.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										149
									
								
								fix-build-under-fips.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,149 @@ | |||||||
|  | diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py
 | ||||||
|  | index 8b63352..1a95c77 100644
 | ||||||
|  | --- a/sphinx/builders/html.py
 | ||||||
|  | +++ b/sphinx/builders/html.py
 | ||||||
|  | @@ -14,7 +14,6 @@ import posixpath
 | ||||||
|  |  import re | ||||||
|  |  import sys | ||||||
|  |  import warnings | ||||||
|  | -from hashlib import md5
 | ||||||
|  |  from os import path | ||||||
|  |   | ||||||
|  |  import docutils | ||||||
|  | @@ -40,7 +39,7 @@ from sphinx.highlighting import PygmentsBridge
 | ||||||
|  |  from sphinx.locale import _, __, l_ | ||||||
|  |  from sphinx.search import js_index | ||||||
|  |  from sphinx.theming import HTMLThemeFactory | ||||||
|  | -from sphinx.util import jsonimpl, logging, status_iterator
 | ||||||
|  | +from sphinx.util import jsonimpl, logging, status_iterator, md5
 | ||||||
|  |  from sphinx.util.console import bold, darkgreen  # type: ignore | ||||||
|  |  from sphinx.util.docutils import is_html5_writer_available, new_document | ||||||
|  |  from sphinx.util.fileutil import copy_asset | ||||||
|  | diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
 | ||||||
|  | index 08707b7..9d53a0e 100644
 | ||||||
|  | --- a/sphinx/ext/graphviz.py
 | ||||||
|  | +++ b/sphinx/ext/graphviz.py
 | ||||||
|  | @@ -13,7 +13,6 @@
 | ||||||
|  |  import codecs | ||||||
|  |  import posixpath | ||||||
|  |  import re | ||||||
|  | -from hashlib import sha1
 | ||||||
|  |  from os import path | ||||||
|  |  from subprocess import Popen, PIPE | ||||||
|  |   | ||||||
|  | @@ -25,7 +24,7 @@ from six import text_type
 | ||||||
|  |  import sphinx | ||||||
|  |  from sphinx.errors import SphinxError | ||||||
|  |  from sphinx.locale import _, __ | ||||||
|  | -from sphinx.util import logging
 | ||||||
|  | +from sphinx.util import logging, sha1
 | ||||||
|  |  from sphinx.util.i18n import search_image_for_language | ||||||
|  |  from sphinx.util.osutil import ensuredir, ENOENT, EPIPE, EINVAL | ||||||
|  |   | ||||||
|  | diff --git a/sphinx/ext/imgmath.py b/sphinx/ext/imgmath.py
 | ||||||
|  | index 5f9d7a1..23f89ed 100644
 | ||||||
|  | --- a/sphinx/ext/imgmath.py
 | ||||||
|  | +++ b/sphinx/ext/imgmath.py
 | ||||||
|  | @@ -14,7 +14,6 @@ import posixpath
 | ||||||
|  |  import re | ||||||
|  |  import shutil | ||||||
|  |  import tempfile | ||||||
|  | -from hashlib import sha1
 | ||||||
|  |  from os import path | ||||||
|  |  from subprocess import Popen, PIPE | ||||||
|  |   | ||||||
|  | @@ -26,7 +25,7 @@ from sphinx.errors import SphinxError, ExtensionError
 | ||||||
|  |  from sphinx.ext.mathbase import get_node_equation_number | ||||||
|  |  from sphinx.ext.mathbase import setup_math as mathbase_setup, wrap_displaymath | ||||||
|  |  from sphinx.locale import _ | ||||||
|  | -from sphinx.util import logging
 | ||||||
|  | +from sphinx.util import logging, sha1
 | ||||||
|  |  from sphinx.util.osutil import ensuredir, ENOENT, cd | ||||||
|  |  from sphinx.util.png import read_png_depth, write_png_depth | ||||||
|  |  from sphinx.util.pycompat import sys_encoding | ||||||
|  | diff --git a/sphinx/ext/inheritance_diagram.py b/sphinx/ext/inheritance_diagram.py
 | ||||||
|  | index 14593ac..9576d07 100644
 | ||||||
|  | --- a/sphinx/ext/inheritance_diagram.py
 | ||||||
|  | +++ b/sphinx/ext/inheritance_diagram.py
 | ||||||
|  | @@ -39,7 +39,6 @@ r"""
 | ||||||
|  |  import inspect | ||||||
|  |  import re | ||||||
|  |  import sys | ||||||
|  | -from hashlib import md5
 | ||||||
|  |   | ||||||
|  |  from docutils import nodes | ||||||
|  |  from docutils.parsers.rst import Directive, directives | ||||||
|  | @@ -50,7 +49,7 @@ import sphinx
 | ||||||
|  |  from sphinx.ext.graphviz import render_dot_html, render_dot_latex, \ | ||||||
|  |      render_dot_texinfo, figure_wrapper | ||||||
|  |  from sphinx.pycode import ModuleAnalyzer | ||||||
|  | -from sphinx.util import force_decode
 | ||||||
|  | +from sphinx.util import force_decode, md5
 | ||||||
|  |   | ||||||
|  |  if False: | ||||||
|  |      # For type annotation | ||||||
|  | diff --git a/sphinx/transforms/post_transforms/images.py b/sphinx/transforms/post_transforms/images.py
 | ||||||
|  | index 6dd135e..d1c50bd 100644
 | ||||||
|  | --- a/sphinx/transforms/post_transforms/images.py
 | ||||||
|  | +++ b/sphinx/transforms/post_transforms/images.py
 | ||||||
|  | @@ -10,14 +10,13 @@
 | ||||||
|  |  """ | ||||||
|  |   | ||||||
|  |  import os | ||||||
|  | -from hashlib import sha1
 | ||||||
|  |  from math import ceil | ||||||
|  |   | ||||||
|  |  from docutils import nodes | ||||||
|  |  from six import text_type | ||||||
|  |   | ||||||
|  |  from sphinx.transforms import SphinxTransform | ||||||
|  | -from sphinx.util import epoch_to_rfc1123, rfc1123_to_epoch
 | ||||||
|  | +from sphinx.util import epoch_to_rfc1123, rfc1123_to_epoch, sha1
 | ||||||
|  |  from sphinx.util import logging, requests | ||||||
|  |  from sphinx.util.images import guess_mimetype, get_image_extension, parse_data_uri | ||||||
|  |  from sphinx.util.osutil import ensuredir, movefile | ||||||
|  | diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py
 | ||||||
|  | index dda3fb0..9c1c441 100644
 | ||||||
|  | --- a/sphinx/util/__init__.py
 | ||||||
|  | +++ b/sphinx/util/__init__.py
 | ||||||
|  | @@ -11,6 +11,7 @@
 | ||||||
|  |  from __future__ import absolute_import | ||||||
|  |   | ||||||
|  |  import fnmatch | ||||||
|  | +import hashlib
 | ||||||
|  |  import os | ||||||
|  |  import posixpath | ||||||
|  |  import re | ||||||
|  | @@ -164,6 +165,32 @@ class FilenameUniqDict(dict):
 | ||||||
|  |          # type: (Set[unicode]) -> None | ||||||
|  |          self._existing = state | ||||||
|  |   | ||||||
|  | +def md5(data=b'', **kwargs):
 | ||||||
|  | +    """Wrapper around hashlib.md5
 | ||||||
|  | +    Attempt call with 'usedforsecurity=False' if we get a ValueError, which happens when
 | ||||||
|  | +    OpenSSL FIPS mode is enabled:
 | ||||||
|  | +    ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips
 | ||||||
|  | +    See: https://github.com/sphinx-doc/sphinx/issues/7611
 | ||||||
|  | +    """
 | ||||||
|  | +
 | ||||||
|  | +    try:
 | ||||||
|  | +        return hashlib.md5(data, **kwargs)  # type: ignore
 | ||||||
|  | +    except ValueError:
 | ||||||
|  | +        return hashlib.md5(data, **kwargs, usedforsecurity=False)  # type: ignore
 | ||||||
|  | +
 | ||||||
|  | +
 | ||||||
|  | +def sha1(data=b'', **kwargs):
 | ||||||
|  | +    """Wrapper around hashlib.sha1
 | ||||||
|  | +    Attempt call with 'usedforsecurity=False' if we get a ValueError
 | ||||||
|  | +    See: https://github.com/sphinx-doc/sphinx/issues/7611
 | ||||||
|  | +    """
 | ||||||
|  | +
 | ||||||
|  | +    try:
 | ||||||
|  | +        return hashlib.sha1(data, **kwargs)  # type: ignore
 | ||||||
|  | +    except ValueError:
 | ||||||
|  | +        return hashlib.sha1(data, **kwargs, usedforsecurity=False)  # type: ignore
 | ||||||
|  | +
 | ||||||
|  | +
 | ||||||
|  |   | ||||||
|  |  def copy_static_entry(source, targetdir, builder, context={}, | ||||||
|  |                        exclude_matchers=(), level=0): | ||||||
							
								
								
									
										800
									
								
								python-sphinx.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										800
									
								
								python-sphinx.spec
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,800 @@ | |||||||
|  | # Build without BuildRequires ImageMagick, to skip imgconverter tests | ||||||
|  | %bcond_with imagemagick_tests | ||||||
|  | 
 | ||||||
|  | %global upstream_name Sphinx | ||||||
|  | 
 | ||||||
|  | Name:       python-sphinx | ||||||
|  | Version:    1.7.6 | ||||||
|  | Release:    3%{?dist} | ||||||
|  | Epoch:      1 | ||||||
|  | Summary:    Python documentation generator | ||||||
|  | 
 | ||||||
|  | # Unless otherwise noted, the license for code is BSD | ||||||
|  | # sphinx/util/stemmer.py Public Domain | ||||||
|  | # sphinx/pycode/pgen2 Python | ||||||
|  | # jquery (MIT or GPLv2) | ||||||
|  | License:    BSD and Public Domain and Python and (MIT or GPLv2) | ||||||
|  | URL:        http://sphinx-doc.org/ | ||||||
|  | Source0:    https://files.pythonhosted.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz | ||||||
|  | 
 | ||||||
|  | # Make the test_latex_remote_images an expected failure | ||||||
|  | # since it requires an active internet connection | ||||||
|  | # to fetch images, which is not possible in koji or mock. | ||||||
|  | Patch0: xfail-test_latex_remote_images.patch | ||||||
|  | 
 | ||||||
|  | # Building the documentation of other projects under FIPS mode | ||||||
|  | # might fail in some cases due to the md5 algorithm being disabled. | ||||||
|  | # Backport an upstream fix to resolve that: | ||||||
|  | # https://github.com/sphinx-doc/sphinx/pull/7614 | ||||||
|  | Patch1: fix-build-under-fips.patch | ||||||
|  | 
 | ||||||
|  | BuildArch:     noarch | ||||||
|  | 
 | ||||||
|  | # for fixes | ||||||
|  | BuildRequires: dos2unix | ||||||
|  | 
 | ||||||
|  | # for testing | ||||||
|  | BuildRequires: gettext | ||||||
|  | BuildRequires: texinfo | ||||||
|  | BuildRequires: graphviz | ||||||
|  | %if %{with imagemagick_tests} | ||||||
|  | BuildRequires: ImageMagick | ||||||
|  | %endif | ||||||
|  | BuildRequires: texlive-collection-fontsrecommended | ||||||
|  | BuildRequires: texlive-collection-latex | ||||||
|  | BuildRequires: texlive-dvipng | ||||||
|  | BuildRequires: texlive-dvisvgm | ||||||
|  | BuildRequires: texlive-ucs | ||||||
|  | BuildRequires: tex(cmap.sty) | ||||||
|  | BuildRequires: tex(ecrm1000.tfm) | ||||||
|  | BuildRequires: tex(footnote.sty) | ||||||
|  | BuildRequires: tex(framed.sty) | ||||||
|  | BuildRequires: tex(multirow.sty) | ||||||
|  | BuildRequires: tex(parskip.sty) | ||||||
|  | BuildRequires: tex(titlesec.sty) | ||||||
|  | BuildRequires: tex(threeparttable.sty) | ||||||
|  | BuildRequires: tex(upquote.sty) | ||||||
|  | BuildRequires: tex(wrapfig.sty) | ||||||
|  | BuildRequires: tex(capt-of.sty) | ||||||
|  | BuildRequires: tex(needspace.sty) | ||||||
|  | BuildRequires: tex(eqparbox.sty) | ||||||
|  | BuildRequires: tex(amsmath.sty) | ||||||
|  | BuildRequires: tex(amsthm.sty) | ||||||
|  | BuildRequires: tex(amssymb.sty) | ||||||
|  | BuildRequires: tex(amsfonts.sty) | ||||||
|  | BuildRequires: tex(bm.sty) | ||||||
|  | BuildRequires: tex(palatino.sty) | ||||||
|  | BuildRequires: tex(multirow.sty) | ||||||
|  | BuildRequires: tex(eqparbox.sty) | ||||||
|  | BuildRequires: tex(atbegshi.sty) | ||||||
|  | BuildRequires: tex(anyfontsize.sty) | ||||||
|  | BuildRequires: tex(luatex85.sty) | ||||||
|  | BuildRequires: tex(fncychap.sty) | ||||||
|  | BuildRequires: tex(tabulary.sty) | ||||||
|  | BuildRequires: tex(polyglossia.sty) | ||||||
|  | BuildRequires: tex(ctablestack.sty) | ||||||
|  | BuildRequires: tex(eu1enc.def) | ||||||
|  | 
 | ||||||
|  | BuildRequires: python3-devel | ||||||
|  | BuildRequires: python3-babel | ||||||
|  | BuildRequires: python3-setuptools | ||||||
|  | BuildRequires: python3-docutils | ||||||
|  | BuildRequires: python3-jinja2 | ||||||
|  | BuildRequires: python3-pygments | ||||||
|  | BuildRequires: python3-nose | ||||||
|  | BuildRequires: python3-pytest | ||||||
|  | BuildRequires: python3-mock | ||||||
|  | BuildRequires: python3-html5lib | ||||||
|  | BuildRequires: python3-whoosh | ||||||
|  | BuildRequires: python3-snowballstemmer | ||||||
|  | BuildRequires: python3-six | ||||||
|  | BuildRequires: python3-sphinx_rtd_theme | ||||||
|  | BuildRequires: python3-sphinx-theme-alabaster | ||||||
|  | BuildRequires: python3-sphinxcontrib-websupport | ||||||
|  | BuildRequires: python3-packaging | ||||||
|  | BuildRequires: python3-imagesize | ||||||
|  | BuildRequires: python3-requests | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %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 to translate the new Python | ||||||
|  | documentation, but has now been cleaned up in the hope that it will be | ||||||
|  | useful to many other projects. | ||||||
|  | 
 | ||||||
|  | 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. | ||||||
|  | 
 | ||||||
|  | Although it is still under constant development, the following | ||||||
|  | features are already present, work fine and can be seen "in action" in | ||||||
|  | the Python docs: | ||||||
|  | 
 | ||||||
|  |     * Output formats: HTML (including Windows HTML Help) and LaTeX, | ||||||
|  |       for printable PDF versions | ||||||
|  |     * Extensive cross-references: semantic markup and automatic links | ||||||
|  |       for functions, classes, glossary terms and similar pieces of | ||||||
|  |       information | ||||||
|  |     * Hierarchical structure: easy definition of a document tree, with | ||||||
|  |       automatic links to siblings, parents and children | ||||||
|  |     * Automatic indices: general index as well as a module index | ||||||
|  |     * Code handling: automatic highlighting using the Pygments highlighter | ||||||
|  |     * Various extensions are available, e.g. for automatic testing of | ||||||
|  |       snippets and inclusion of appropriately formatted docstrings. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %package -n    python2-sphinx | ||||||
|  | Summary:       Python documentation generator | ||||||
|  | Requires:      python-sphinx-locale = %{?epoch}:%{version}-%{release} | ||||||
|  | Requires:      python2-babel | ||||||
|  | Requires:      python2-docutils | ||||||
|  | Requires:      python2-jinja2 | ||||||
|  | Requires:      python2-pygments | ||||||
|  | Requires:      python2-mock | ||||||
|  | Requires:      python2-snowballstemmer | ||||||
|  | Requires:      python2-sphinx_rtd_theme | ||||||
|  | Requires:      python2-six | ||||||
|  | Requires:      python2-sphinx-theme-alabaster | ||||||
|  | Requires:      python2-imagesize | ||||||
|  | Requires:      python2-requests | ||||||
|  | Requires:      python2-packaging | ||||||
|  | Requires:      python2-typing | ||||||
|  | Requires: environment(modules) | ||||||
|  | # Needed to get rid of the alternatives config installed in f24 and f25 | ||||||
|  | # versions of the package | ||||||
|  | Requires(pre): /usr/sbin/alternatives | ||||||
|  | Recommends:    graphviz | ||||||
|  | Recommends:    ImageMagick | ||||||
|  | Obsoletes:     python-sphinx <= 1.2.3 | ||||||
|  | Obsoletes:     python-sphinxcontrib-napoleon < 0.5 | ||||||
|  | Provides:      python-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release} | ||||||
|  | Obsoletes:     python2-Sphinx <= 1.3.1-4 | ||||||
|  | Provides:      python2-Sphinx = %{?epoch}:%{version}-%{release} | ||||||
|  | Provides:      python(Sphinx) = %{?epoch}:%{version}-%{release} | ||||||
|  | %{?python_provide:%python_provide python2-sphinx} | ||||||
|  | Conflicts:     python3-sphinx < %{?epoch}:%{version}-%{release} | ||||||
|  | 
 | ||||||
|  | %description -n python2-sphinx | ||||||
|  | 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 to translate the new Python | ||||||
|  | documentation, but has now been cleaned up in the hope that it will be | ||||||
|  | useful to many other projects. | ||||||
|  | 
 | ||||||
|  | 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. | ||||||
|  | 
 | ||||||
|  | Although it is still under constant development, the following | ||||||
|  | features are already present, work fine and can be seen "in action" in | ||||||
|  | the Python docs: | ||||||
|  | 
 | ||||||
|  |     * Output formats: HTML (including Windows HTML Help) and LaTeX, | ||||||
|  |       for printable PDF versions | ||||||
|  |     * Extensive cross-references: semantic markup and automatic links | ||||||
|  |       for functions, classes, glossary terms and similar pieces of | ||||||
|  |       information | ||||||
|  |     * Hierarchical structure: easy definition of a document tree, with | ||||||
|  |       automatic links to siblings, parents and children | ||||||
|  |     * Automatic indices: general index as well as a module index | ||||||
|  |     * Code handling: automatic highlighting using the Pygments highlighter | ||||||
|  |     * Various extensions are available, e.g. for automatic testing of | ||||||
|  |       snippets and inclusion of appropriately formatted docstrings. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %package latex | ||||||
|  | Summary:       LaTeX builder dependencies for %{name} | ||||||
|  | Requires:      python(Sphinx) = %{?epoch}:%{version}-%{release} | ||||||
|  | Requires:      texlive-collection-fontsrecommended | ||||||
|  | Requires:      texlive-collection-latex | ||||||
|  | Requires:      texlive-dvipng | ||||||
|  | Requires:      texlive-dvisvgm | ||||||
|  | Requires:      texlive-ucs | ||||||
|  | Requires:      tex(cmap.sty) | ||||||
|  | Requires:      tex(ecrm1000.tfm) | ||||||
|  | Requires:      tex(footnote.sty) | ||||||
|  | Requires:      tex(framed.sty) | ||||||
|  | Requires:      tex(multirow.sty) | ||||||
|  | Requires:      tex(parskip.sty) | ||||||
|  | Requires:      tex(titlesec.sty) | ||||||
|  | Requires:      tex(threeparttable.sty) | ||||||
|  | Requires:      tex(upquote.sty) | ||||||
|  | Requires:      tex(wrapfig.sty) | ||||||
|  | Requires:      tex(capt-of.sty) | ||||||
|  | Requires:      tex(needspace.sty) | ||||||
|  | Requires:      tex(eqparbox.sty) | ||||||
|  | Requires:      tex(amsmath.sty) | ||||||
|  | Requires:      tex(amsthm.sty) | ||||||
|  | Requires:      tex(amssymb.sty) | ||||||
|  | Requires:      tex(amsfonts.sty) | ||||||
|  | Requires:      tex(bm.sty) | ||||||
|  | Requires:      tex(palatino.sty) | ||||||
|  | Requires:      tex(multirow.sty) | ||||||
|  | Requires:      tex(eqparbox.sty) | ||||||
|  | Requires:      tex(atbegshi.sty) | ||||||
|  | Requires:      tex(anyfontsize.sty) | ||||||
|  | Requires:      tex(luatex85.sty) | ||||||
|  | Requires:      tex(fncychap.sty) | ||||||
|  | Requires:      tex(tabulary.sty) | ||||||
|  | Requires:      tex(polyglossia.sty) | ||||||
|  | Requires:      tex(ctablestack.sty) | ||||||
|  | Requires:      tex(eu1enc.def) | ||||||
|  | Obsoletes:     python3-sphinx-latex < 1.4.4-2 | ||||||
|  | 
 | ||||||
|  | %description latex | ||||||
|  | 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 to translate the new Python | ||||||
|  | documentation, but has now been cleaned up in the hope that it will be | ||||||
|  | useful to many other projects. | ||||||
|  | 
 | ||||||
|  | This package pulls in the TeX dependencies needed by Sphinx's LaTeX | ||||||
|  | builder. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %package -n python3-sphinx | ||||||
|  | Summary:       Python documentation generator | ||||||
|  | Group:         Development/Tools | ||||||
|  | Requires:      python-sphinx-locale = %{?epoch}:%{version}-%{release} | ||||||
|  | Requires:      python3-babel | ||||||
|  | Requires:      python3-docutils | ||||||
|  | Requires:      python3-jinja2 | ||||||
|  | Requires:      python3-pygments | ||||||
|  | Requires:      python3-mock | ||||||
|  | Requires:      python3-snowballstemmer | ||||||
|  | Requires:      python3-sphinx_rtd_theme | ||||||
|  | Requires:      python3-sphinx-theme-alabaster | ||||||
|  | Requires:      python3-sphinxcontrib-websupport | ||||||
|  | Requires:      python3-imagesize | ||||||
|  | Requires:      python3-requests | ||||||
|  | Requires:      python3-six | ||||||
|  | Requires:      python3-packaging | ||||||
|  | Recommends:    graphviz | ||||||
|  | Recommends:    ImageMagick | ||||||
|  | Requires: environment(modules) | ||||||
|  | # Needed to get rid of the alternatives config installed in f24 and f25 | ||||||
|  | # versions of the package | ||||||
|  | Requires(pre): /usr/sbin/alternatives | ||||||
|  | Obsoletes:     python3-sphinxcontrib-napoleon < 0.3.0 | ||||||
|  | Provides:      python3-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release} | ||||||
|  | Provides:      python(Sphinx) = %{?epoch}:%{version}-%{release} | ||||||
|  | %{?python_provide:%python_provide python3-sphinx} | ||||||
|  | Conflicts:     python2-Sphinx < %{?epoch}:%{version}-%{release} | ||||||
|  | 
 | ||||||
|  | %description -n python3-sphinx | ||||||
|  | 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 to translate the new Python | ||||||
|  | documentation, but has now been cleaned up in the hope that it will be | ||||||
|  | useful to many other projects. | ||||||
|  | 
 | ||||||
|  | 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. | ||||||
|  | 
 | ||||||
|  | Although it is still under constant development, the following | ||||||
|  | features are already present, work fine and can be seen "in action" in | ||||||
|  | the Python docs: | ||||||
|  | 
 | ||||||
|  |     * Output formats: HTML (including Windows HTML Help) and LaTeX, | ||||||
|  |       for printable PDF versions | ||||||
|  |     * Extensive cross-references: semantic markup and automatic links | ||||||
|  |       for functions, classes, glossary terms and similar pieces of | ||||||
|  |       information | ||||||
|  |     * Hierarchical structure: easy definition of a document tree, with | ||||||
|  |       automatic links to siblings, parents and children | ||||||
|  |     * Automatic indices: general index as well as a module index | ||||||
|  |     * Code handling: automatic highlighting using the Pygments highlighter | ||||||
|  |     * Various extensions are available, e.g. for automatic testing of | ||||||
|  |       snippets and inclusion of appropriately formatted docstrings. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %package doc | ||||||
|  | Summary:       Documentation for %{name} | ||||||
|  | Group:         Documentation | ||||||
|  | License:       BSD | ||||||
|  | Recommends:    python(Sphinx) = %{?epoch}:%{version}-%{release} | ||||||
|  | 
 | ||||||
|  | %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 to translate the new Python | ||||||
|  | documentation, but has now been cleaned up in the hope that it will be | ||||||
|  | useful to many other projects. | ||||||
|  | 
 | ||||||
|  | This package contains documentation in reST and HTML formats. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %package locale | ||||||
|  | Summary:       Locale files for %{name} | ||||||
|  | Group:         Development/Tools | ||||||
|  | License:       BSD | ||||||
|  | 
 | ||||||
|  | %description locale | ||||||
|  | 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 to translate the new Python | ||||||
|  | documentation, but has now been cleaned up in the hope that it will be | ||||||
|  | useful to many other projects. | ||||||
|  | 
 | ||||||
|  | This package contains locale files for Sphinx | ||||||
|  | 
 | ||||||
|  | %prep | ||||||
|  | %autosetup -n %{upstream_name}-%{version}%{?prerel} -p1 | ||||||
|  | 
 | ||||||
|  | # fix line encoding of bundled jquery.js | ||||||
|  | dos2unix -k ./sphinx/themes/basic/static/jquery.js | ||||||
|  | 
 | ||||||
|  | %if ! %{with imagemagick_tests} | ||||||
|  | rm tests/test_ext_imgconverter.py | ||||||
|  | %endif | ||||||
|  | 
 | ||||||
|  | %build | ||||||
|  | %py3_build | ||||||
|  | 
 | ||||||
|  | export PYTHONPATH=$PWD | ||||||
|  | pushd doc | ||||||
|  | export SPHINXBUILD="%{__python3} ../sphinx/cmd/build.py" | ||||||
|  | make html SPHINXBUILD="$SPHINXBUILD" | ||||||
|  | make man SPHINXBUILD="$SPHINXBUILD" | ||||||
|  | rm -rf _build/html/.buildinfo | ||||||
|  | mv _build/html .. | ||||||
|  | popd | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %install | ||||||
|  | %py3_install | ||||||
|  | 
 | ||||||
|  | # we keep this for backwards compatibility with Fedora: | ||||||
|  | install -d %{buildroot}%{_libexecdir}/python3-sphinx | ||||||
|  | for i in sphinx-{apidoc,autogen,build,quickstart}; do | ||||||
|  |     ln -s $i %{buildroot}%{_bindir}/$i-%{python3_version} | ||||||
|  |     ln -s $i %{buildroot}%{_bindir}/$i-3 | ||||||
|  |     ln -s %{_bindir}/$i %{buildroot}%{_libexecdir}/python3-sphinx/$i | ||||||
|  | done | ||||||
|  | 
 | ||||||
|  | pushd doc | ||||||
|  | # Deliver man pages | ||||||
|  | install -d %{buildroot}%{_mandir}/man1 | ||||||
|  | for f in _build/man/sphinx-*.1; | ||||||
|  | do | ||||||
|  |     cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f) | ||||||
|  | done | ||||||
|  | popd | ||||||
|  | 
 | ||||||
|  | rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store | ||||||
|  | rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx | ||||||
|  | 
 | ||||||
|  | # Deliver rst files | ||||||
|  | rm -rf doc/_build | ||||||
|  | sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile | ||||||
|  | mv doc reST | ||||||
|  | 
 | ||||||
|  | # Move language files to /usr/share; | ||||||
|  | # patch to support this incorporated in 0.6.6 | ||||||
|  | pushd %{buildroot}%{python3_sitelib} | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -not -name __pycache__ -printf "%f "`; | ||||||
|  | do | ||||||
|  |   install -d %{buildroot}%{_datadir}/sphinx/locale/$lang | ||||||
|  |   install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES | ||||||
|  |   mv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \ | ||||||
|  |      %{buildroot}%{_datadir}/sphinx/locale/$lang/ | ||||||
|  |   mv sphinx/locale/$lang/LC_MESSAGES/sphinx.mo \ | ||||||
|  |     %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/ | ||||||
|  |   rm -rf sphinx/locale/$lang | ||||||
|  | done | ||||||
|  | popd | ||||||
|  | 
 | ||||||
|  | %find_lang sphinx | ||||||
|  | 
 | ||||||
|  | # Language files; Since these are javascript, it's not immediately obvious to | ||||||
|  | # find_lang that they need to be marked with a language. | ||||||
|  | (cd %{buildroot} && find . -name 'sphinx.js') | sed -e 's|^.||' | sed -e \ | ||||||
|  |   's:\(.*/locale/\)\([^/_]\+\)\(.*\.js$\):%lang(\2) \1\2\3:' \ | ||||||
|  |   >> sphinx.lang | ||||||
|  | 
 | ||||||
|  | %check | ||||||
|  | # Currently, all linkcheck tests hit external websites.  Since network access | ||||||
|  | # is disabled in koji, we have to disable these. | ||||||
|  | rm tests/test_build_linkcheck.py | ||||||
|  | PYTHON=python3 make test | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %files latex | ||||||
|  | %license LICENSE | ||||||
|  | 
 | ||||||
|  | %files locale -f sphinx.lang | ||||||
|  | %license LICENSE | ||||||
|  | %dir %{_datadir}/sphinx/ | ||||||
|  | %dir %{_datadir}/sphinx/locale | ||||||
|  | %dir %{_datadir}/sphinx/locale/* | ||||||
|  | 
 | ||||||
|  | %files -n python3-sphinx | ||||||
|  | %license LICENSE | ||||||
|  | %doc AUTHORS CHANGES EXAMPLES README.rst | ||||||
|  | %{_bindir}/sphinx-* | ||||||
|  | %{python3_sitelib}/sphinx/ | ||||||
|  | %{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/ | ||||||
|  | %{_libexecdir}/python3-sphinx/ | ||||||
|  | %{_mandir}/man1/sphinx-*.1* | ||||||
|  | 
 | ||||||
|  | %files doc | ||||||
|  | %doc html reST | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | %changelog | ||||||
|  | * Tue Jul 26 2022 Tomas Orsava <torsava@redhat.com> - 1.7.6-3 | ||||||
|  | - Rebuild to include the python-sphinx-latex package in the CodeReady Linux | ||||||
|  |   Builder (CRB) repository | ||||||
|  | Resolves: rhbz#2081785 | ||||||
|  | 
 | ||||||
|  | * Wed Oct 14 2020 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.6-2 | ||||||
|  | - Fix documentation build under FIPS mode | ||||||
|  | Resolves: rhbz#1749346 | ||||||
|  | 
 | ||||||
|  | * Thu Jul 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.6-1 | ||||||
|  | - Update to 1.7.6 | ||||||
|  | 
 | ||||||
|  | * Wed Jun 20 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.5-1 | ||||||
|  | - Remove unused simplejson dependency | ||||||
|  | 
 | ||||||
|  | * Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.5-1 | ||||||
|  | - Update to 1.7.5 (bz#1570451) | ||||||
|  | 
 | ||||||
|  | * Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.2-5 | ||||||
|  | - Remove the python-pytest-cov dependency | ||||||
|  | 
 | ||||||
|  | * Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-4 | ||||||
|  | - Remove python2 subpackage | ||||||
|  | - Require python3-sphinxcontrib-websupport | ||||||
|  | 
 | ||||||
|  | * Thu Jun 07 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-3 | ||||||
|  | - Remove hard dependencies on sphinxcontrib-websupport and sqlalchemy | ||||||
|  | 
 | ||||||
|  | * Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-2 | ||||||
|  | - Conditionalize the ImageMagick build dependency & tests | ||||||
|  | 
 | ||||||
|  | * Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-1 | ||||||
|  | - Update to 1.7.2 (bz#1558968) | ||||||
|  | 
 | ||||||
|  | * Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.1-1 | ||||||
|  | - Update to 1.7.1 (bz#1534802) | ||||||
|  | 
 | ||||||
|  | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.6-2 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Tue Jan 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.6-1 | ||||||
|  | - Update to 1.6.6 (bz#1532435) | ||||||
|  | 
 | ||||||
|  | * Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.6.5-2 | ||||||
|  | - Fix ambiguous Python 2 dependency declarations | ||||||
|  |   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) | ||||||
|  | 
 | ||||||
|  | * Mon Nov 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.5-1 | ||||||
|  | - Update to 1.6.5 (bz#1508237) | ||||||
|  | 
 | ||||||
|  | * Mon Oct 09 2017 Troy Dawson <tdawson@redhat.com> - 1:1.6.4-2 | ||||||
|  | - Cleanup spec file conditionals | ||||||
|  | 
 | ||||||
|  | * Tue Sep 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.4-1 | ||||||
|  | - Update to 1.6.4 (bz#1426928) | ||||||
|  | 
 | ||||||
|  | * Wed Sep 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.3-3 | ||||||
|  | - Provide the epoch tag in order to keep the upgrade path clean. | ||||||
|  | 
 | ||||||
|  | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Thu Jul 20 2017 Charalampos Stratakis <cstratak@redhat.com> - - 1.6.3-1 | ||||||
|  | - Update to 1.6.3 (bz#1426928) | ||||||
|  | 
 | ||||||
|  | * Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2 | ||||||
|  | - Cleanup source files that should not be installed | ||||||
|  | - Fix the __init__.pyc that was byte compiled for the wrong python | ||||||
|  | 
 | ||||||
|  | * Fri Feb 17 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-1 | ||||||
|  | - Update to 1.5.2 | ||||||
|  | - Remove a few latex dependencies that are no longer needed | ||||||
|  | - Remove xapian patch; now in upstream tarball | ||||||
|  | 
 | ||||||
|  | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Tue Jan 31 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-5 | ||||||
|  | - environment-modules is less featureful than Lmod. | ||||||
|  |   - Select the default version in a different way since environment-modules | ||||||
|  |     didn't understand the symlink | ||||||
|  |   - Ignore error messsages in the shell startup script as environment-modules | ||||||
|  |     prints an error message if a module has already been loaded.  The command | ||||||
|  |     is doing the right thing for this case except that it's also printing an | ||||||
|  |     error message. | ||||||
|  | 
 | ||||||
|  | * Thu Jan 26 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-4 | ||||||
|  | - Add recipe for setting the system default to the README.fedora | ||||||
|  | 
 | ||||||
|  | * Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-3 | ||||||
|  | - Move the unversioned executables into the python2 package as they are now | ||||||
|  |   using python2 to run | ||||||
|  | 
 | ||||||
|  | * Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-2 | ||||||
|  | - Add README.fedora so people know how to use environment-modules to switch. | ||||||
|  | - Change the default to be the python2 version to match with the guidelines | ||||||
|  | - Switch to generic environment(modules) instead of Lmod specifically. | ||||||
|  | 
 | ||||||
|  | * Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.5.1-1 | ||||||
|  | - Update to 1.5.1 | ||||||
|  | 
 | ||||||
|  | * Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.9-2 | ||||||
|  | - Remove alternatives.  Alternatives should only be used for a very small | ||||||
|  |   number of packages (system daemons which also have a compatible command line | ||||||
|  |   interface). | ||||||
|  | - Use environment-modules to switch between the python2 and python3 packages | ||||||
|  |   *but* be aware that no amount of manual switching can get this 100% right. | ||||||
|  |   The code has to be fixed upstream, not in packaging. | ||||||
|  | 
 | ||||||
|  | * Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.9-1 | ||||||
|  | - Update to 1.4.9 | ||||||
|  | - Enable python3 tests | ||||||
|  | 
 | ||||||
|  | * Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.8-3 | ||||||
|  | - Rebuild for Python 3.6 | ||||||
|  | - Disable python3 tests for now | ||||||
|  | 
 | ||||||
|  | * Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-2 | ||||||
|  | - Added tex(luatex85.sty) dependency to support TexLive 2016 | ||||||
|  | 
 | ||||||
|  | * Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-1 | ||||||
|  | - Update to 1.4.8 | ||||||
|  | - Alternatives fails for scripts sometimes (bz#1382405) | ||||||
|  | 
 | ||||||
|  | * Sun Sep 4 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-2 | ||||||
|  | - Alternatives fails for man pages due to existing files | ||||||
|  | 
 | ||||||
|  | * Fri Sep 2 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-1 | ||||||
|  | - Update to 1.4.6 (bz#1370810) | ||||||
|  | - Fix unversioned Obsoletes | ||||||
|  | - Add alternatives slaves for man pages | ||||||
|  | 
 | ||||||
|  | * Fri Aug 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.5-1 | ||||||
|  | - Update to 1.4.5 (bz#1356336) | ||||||
|  | - Remove Recommends for latex, locale, and doc subpackages (bz#1366624) | ||||||
|  | - Remove Requires from locale subpackage (bz#1366624) | ||||||
|  | - Set executable scripts via alternatives  (bz#1321413) | ||||||
|  | - Change graphviz Requires to Recommends (bz#1366706) | ||||||
|  | 
 | ||||||
|  | * Sun Jul 03 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-2 | ||||||
|  | - doc and locale no longer specifically require python2-sphinx | ||||||
|  | - Colapsed python3-sphinx-latex into python-latex | ||||||
|  | 
 | ||||||
|  | * Sun Jun 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-1 | ||||||
|  | - Updated to 1.4.4 | ||||||
|  | - Added python-sphinx-locale for common locale files | ||||||
|  | 
 | ||||||
|  | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Fri Nov 27 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-4 | ||||||
|  | - Obsolete napoleon extension, it is now packaged with sphinx (#1286275) | ||||||
|  | - Rename python2-Sphinx to python2-sphinx | ||||||
|  | - Add conflicts to disallow parallel installation of different versions, | ||||||
|  |   which causes file conflicts because of the shared documentation files. | ||||||
|  | 
 | ||||||
|  | * Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-3 | ||||||
|  | - Restore using python2 scripts by default (#1285535) | ||||||
|  | 
 | ||||||
|  | * Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-2 | ||||||
|  | - Fix requirements of python2- subpackage | ||||||
|  | - Provide sphinx-*-{3.5,3} symlinks for each script | ||||||
|  | 
 | ||||||
|  | * Tue Nov 24 2015 Julien Enselme <jujens@jujens.eu> - 1.3.1-1 | ||||||
|  | - Update to 1.3.1 (#1136284) | ||||||
|  | - Update to new guidelines | ||||||
|  | - Make the default executable use python3 | ||||||
|  | 
 | ||||||
|  | * Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.3-5 | ||||||
|  | - Rebuilt for Python3.5 rebuild | ||||||
|  | - add patch to reflect that Python3.5 dropped HTMLParserError | ||||||
|  | 
 | ||||||
|  | * Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-4 | ||||||
|  | - Fix line encoding of bundled jquery.js | ||||||
|  | 
 | ||||||
|  | * Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-3 | ||||||
|  | - Re-introduce LaTeX subpackage, solely for pulling in LaTeX dependencies | ||||||
|  | 
 | ||||||
|  | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-1 | ||||||
|  | - Update to 1.2.3 | ||||||
|  | - Mark license file with %%license instead of %%doc | ||||||
|  | 
 | ||||||
|  | * Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-10 | ||||||
|  | - Complete LaTeX builder deps (fixes bz#882166) | ||||||
|  | - Make test output verbose | ||||||
|  | - Add BRs needed to enable all tests | ||||||
|  | 
 | ||||||
|  | * Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-9 | ||||||
|  | - python3-sphinx package also Provides: python3-sphinx-latex | ||||||
|  | 
 | ||||||
|  | * Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-8 | ||||||
|  | - If a separate LaTeX subpackage is not generated, the main package should have | ||||||
|  |   a virtual Provides: for it (bz#1187989) | ||||||
|  | 
 | ||||||
|  | * Tue Jan 27 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-7 | ||||||
|  | - Disable separate LaTeX builder for now (bz#1185574) | ||||||
|  | 
 | ||||||
|  | * Thu Jan 22 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-6 | ||||||
|  | - Split off LaTeX builder into its own subpackages, to remove TeXLive | ||||||
|  |   dependencies from the main package. | ||||||
|  |   Thanks to Robert Kuska <rkuska@redhat.com> for feedback | ||||||
|  | - Clean up python3-sphinx's locale files, they ended up in the python2 package. | ||||||
|  |   Share the locale files in /usr/share instead | ||||||
|  | 
 | ||||||
|  | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-4 | ||||||
|  | - Don't own the -3 scripts by python 2 package | ||||||
|  | 
 | ||||||
|  | * Thu May 22 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-3 | ||||||
|  | - Add sphinx-*-3 links to scripts | ||||||
|  | Resolves: #1098109 | ||||||
|  | 
 | ||||||
|  | * Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-2 | ||||||
|  | - Rebuild for Python 3.4 | ||||||
|  | 
 | ||||||
|  | * Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-1 | ||||||
|  | - Update to 1.2.2 | ||||||
|  | 
 | ||||||
|  | * Thu Feb 13 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.1-1 | ||||||
|  | - Update to 1.2.1 | ||||||
|  | 
 | ||||||
|  | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Sat Mar  9 2013 Michel Salim <salimma@fedoraproject.org> - 1.1.3-7 | ||||||
|  | - Fix inheritance_diagram quoting bug, exposed by the newer, stricter dot | ||||||
|  | 
 | ||||||
|  | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-6 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Tue Aug 21 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.3-5 | ||||||
|  | - Fix for use of sphinx's manpage writer with docutils-0.10 | ||||||
|  | 
 | ||||||
|  | * Mon Aug  6 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-4 | ||||||
|  | - Rebuild for Python 3.3 | ||||||
|  | 
 | ||||||
|  | * Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.3-3 | ||||||
|  | - remove rhel logic from with_python3 conditional | ||||||
|  | 
 | ||||||
|  | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Thu Apr  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-1 | ||||||
|  | - Update to 1.1.3 | ||||||
|  | 
 | ||||||
|  | * Sun Feb  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.2-5 | ||||||
|  | - Move python3 runtime dependencies to the right subpackage | ||||||
|  | - Properly exclude python3 binaries | ||||||
|  | 
 | ||||||
|  | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Sat Dec 17 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-3 | ||||||
|  | - BR on texlive-latex for LaTeX tests | ||||||
|  | 
 | ||||||
|  | * Thu Dec  8 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-2 | ||||||
|  | - Enable python3 subpackage | ||||||
|  | 
 | ||||||
|  | * Mon Nov 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.2-1 | ||||||
|  | - Update to upstream 1.1.2 | ||||||
|  | 
 | ||||||
|  | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Tue Jan 18 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.7-1 | ||||||
|  | - Update to upstream 1.0.7 | ||||||
|  | 
 | ||||||
|  | * Mon Jan 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.6-1 | ||||||
|  | - Update to upstream 1.0.6 | ||||||
|  | 
 | ||||||
|  | * Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-3 | ||||||
|  | - Fix -doc Makefile to allow regeneration of .rst files | ||||||
|  | 
 | ||||||
|  | * Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-2 | ||||||
|  | - Actually include *.js locale files | ||||||
|  | - Generate manpages | ||||||
|  | 
 | ||||||
|  | * Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1 | ||||||
|  | - Update to 1.0.4 | ||||||
|  | - Remove BuildRoot and %%clean declarations | ||||||
|  | 
 | ||||||
|  | * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0-0.1.b2.1 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild | ||||||
|  | 
 | ||||||
|  | * Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0-0.2.b2 | ||||||
|  | - Update to 1.0 beta 2 | ||||||
|  | - Fixes problem building html documentation in non-English locales | ||||||
|  | 
 | ||||||
|  | * Wed May 26 2010 Michel Salim <salimma@fedoraproject.org> - 1.0-0.1.b1 | ||||||
|  | - Update to 1.0 beta 1 | ||||||
|  | 
 | ||||||
|  | * Tue May 25 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.6-1 | ||||||
|  | - Update to 0.6.6 | ||||||
|  | 
 | ||||||
|  | * Fri May 21 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.5-2 | ||||||
|  | - Few minor tweaks to Gareth's spec file update | ||||||
|  | 
 | ||||||
|  | * Mon May 10 2010 Gareth Armstrong <gareth.armstrong@hp.com> - 0.6.5-1.hp | ||||||
|  | - Update to 0.6.5 | ||||||
|  | - Initial import of python-sphinx from Fedora Rawhide for use in HP CMS | ||||||
|  | - Enforce that Sphinx requires Python 2.4 or later via an explicit BR | ||||||
|  | - Minor tweaks to spec file | ||||||
|  | - Move language files to %%{_datadir}, idea borrowed from Debian's sphinx | ||||||
|  |   package | ||||||
|  | - Deliver man pages for sphinx-build & sphinx-quickstart | ||||||
|  | - Deliver rst documentation files to reST directory in doc sub-package | ||||||
|  | - Add %%check section for Python2 and add BR on python-nose | ||||||
|  | 
 | ||||||
|  | * Wed Jan 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1 | ||||||
|  | - Update to 0.6.4 | ||||||
|  | - Fixes a problem using autodoc with pylons projects. | ||||||
|  | 
 | ||||||
|  | * Fri Sep  4 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.3-1 | ||||||
|  | - Update to 0.6.3 | ||||||
|  | 
 | ||||||
|  | * Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1 | ||||||
|  | - Update to 0.6.2 -- upstream bugfix requested inside bz#512438 | ||||||
|  | 
 | ||||||
|  | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2 | ||||||
|  | - Add a patch to use our own setuptools package | ||||||
|  | 
 | ||||||
|  | * Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1 | ||||||
|  | - Update to 0.6.1 | ||||||
|  | 
 | ||||||
|  | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2 | ||||||
|  | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild | ||||||
|  | 
 | ||||||
|  | * Fri Jan  2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1 | ||||||
|  | - Update to 0.5.1 | ||||||
|  | 
 | ||||||
|  | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-2 | ||||||
|  | - Rebuild for Python 2.6 | ||||||
|  | 
 | ||||||
|  | * Mon Nov 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.5-1 | ||||||
|  | - Update to 0.5 | ||||||
|  | 
 | ||||||
|  | * Fri Oct 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.3-1 | ||||||
|  | - Update to 0.4.3 | ||||||
|  | 
 | ||||||
|  | * Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1 | ||||||
|  | - Fix for EL-5 build. | ||||||
|  | 
 | ||||||
|  | * Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1 | ||||||
|  | - Update to 0.4.2 | ||||||
|  | 
 | ||||||
|  | * Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1 | ||||||
|  | - Update to 0.3 | ||||||
|  | 
 | ||||||
|  | * Fri May  2 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.61950-3 | ||||||
|  | - Split documentation into subpackage | ||||||
|  | - Exclude C files (not built by default anyway) | ||||||
|  | 
 | ||||||
|  | * Wed Apr 16 2008 José Matos <jamatos@fc.up.pt> - 0.1.61950-2 | ||||||
|  | - Build html documentation, include it and include the rst | ||||||
|  |   documentation. | ||||||
|  | 
 | ||||||
|  | * Thu Mar 27 2008 Michel Salim <michel.sylvan@gmail.com> 0.1.61950-1 | ||||||
|  | - Initial package | ||||||
							
								
								
									
										1
									
								
								sources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								sources
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | SHA512 (Sphinx-1.7.6.tar.gz) = 505c4e92c1a09c48a50d8bd0ec86089bd3f0f5352302ae330e2fba6e61316f40c6ec3726e2cfaeb54de0818127a26ef5364ac92bcf254283022c38c4e95d419c | ||||||
							
								
								
									
										13
									
								
								xfail-test_latex_remote_images.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								xfail-test_latex_remote_images.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | |||||||
|  | diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
 | ||||||
|  | index 55f48cd..78ccecd 100644
 | ||||||
|  | --- a/tests/test_build_latex.py
 | ||||||
|  | +++ b/tests/test_build_latex.py
 | ||||||
|  | @@ -1009,7 +1009,7 @@ def test_latex_raw_directive(app, status, warning):
 | ||||||
|  |      assert 'HTML: abc  ghi' in result | ||||||
|  |      assert 'LaTeX: abc def ghi' in result | ||||||
|  |   | ||||||
|  | -
 | ||||||
|  | +@pytest.mark.xfail(reason="this test requires internet connection")
 | ||||||
|  |  @pytest.mark.sphinx('latex', testroot='images') | ||||||
|  |  def test_latex_remote_images(app, status, warning): | ||||||
|  |      app.builder.build_all() | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user