|
|
|
|
@@ -1,140 +1,108 @@
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
# When bootstrapping sphinx, we don't yet have sphinxcontrib-websupport
|
|
|
|
|
# Without it we have warnings in docs, but it's not a hard dependency
|
|
|
|
|
%bcond_without websupport
|
|
|
|
|
# Also, we don't have all the tests requirements
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
|
|
|
|
|
# Unset -s on python shebang to allow RPM-installed sphinx to be used
|
|
|
|
|
# with user-installed modules (#1903763)
|
|
|
|
|
%global py3_shebang_flags %nil
|
|
|
|
|
|
|
|
|
|
# No internet in Koji
|
|
|
|
|
%bcond_with internet
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 7
|
|
|
|
|
# Build without BuildRequires ImageMagick, to skip imgconverter tests
|
|
|
|
|
%bcond_with imagemagick_tests
|
|
|
|
|
%else
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
|
|
|
|
%bcond_without imagemagick_tests
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Currently, python2 version is always the default: https://fedoraproject.org/wiki/Packaging:Python#Naming
|
|
|
|
|
%if 1
|
|
|
|
|
%global py3_default 0
|
|
|
|
|
%else
|
|
|
|
|
%global py3_default 1
|
|
|
|
|
%endif
|
|
|
|
|
# During texlive updates, sometimes the latex environment is unstable
|
|
|
|
|
%bcond_without latex_tests
|
|
|
|
|
|
|
|
|
|
%global upstream_name Sphinx
|
|
|
|
|
|
|
|
|
|
Name: python-sphinx
|
|
|
|
|
Version: 1.6.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
%global general_version 3.4.3
|
|
|
|
|
#global prerel ...
|
|
|
|
|
%global upstream_version %{general_version}%{?prerel}
|
|
|
|
|
Version: %{general_version}%{?prerel:~%{prerel}}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: Python documentation generator
|
|
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
Source1: python2-sphinx
|
|
|
|
|
Source2: python3-sphinx
|
|
|
|
|
Source3: zz-modules-python-sphinx.sh
|
|
|
|
|
Source4: zz-modules-python-sphinx.csh
|
|
|
|
|
Source5: README.fedora
|
|
|
|
|
# environment-modules file to select whether the py2 or py3 version of
|
|
|
|
|
# python-sphinx execuitables is default
|
|
|
|
|
Source6: default-sphinx-command.in
|
|
|
|
|
# sphinx/util/inspect.py has bits licensed with PSF license v2 (Python)
|
|
|
|
|
# sphinx/themes/haiku/static/haiku.css_t has bits licensed with MIT
|
|
|
|
|
# JS: JQuery, Underscore, css3-mediaqueries are available under MIT
|
|
|
|
|
License: BSD and Python and MIT
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
URL: https://www.sphinx-doc.org/
|
|
|
|
|
Source0: %{pypi_source %{upstream_name} %{upstream_version}}
|
|
|
|
|
|
|
|
|
|
# Allow extra themes to exist. We pull in python3-sphinx-theme-alabaster
|
|
|
|
|
# which causes that test to fail.
|
|
|
|
|
Patch1: sphinx-test_theming.diff
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python2-devel >= 2.4
|
|
|
|
|
BuildRequires: python2-babel
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
BuildRequires: python-docutils
|
|
|
|
|
BuildRequires: python-jinja2
|
|
|
|
|
BuildRequires: python-pygments >= 2.0
|
|
|
|
|
BuildRequires: python-six
|
|
|
|
|
BuildRequires: python2-sphinx_rtd_theme
|
|
|
|
|
BuildRequires: python2-sphinx-theme-alabaster
|
|
|
|
|
BuildRequires: python2-imagesize
|
|
|
|
|
BuildRequires: python2-requests
|
|
|
|
|
BuildRequires: python2-typing
|
|
|
|
|
BuildRequires: python2-sphinxcontrib-websupport
|
|
|
|
|
BuildRequires: environment(modules)
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
|
|
|
|
|
%if %{with websupport}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinxcontrib-websupport
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# for fixes
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
|
|
|
|
|
# for testing
|
|
|
|
|
BuildRequires: python-nose
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python-pytest-cov
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
# tests import _testcapi
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-test
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: texinfo
|
|
|
|
|
BuildRequires: graphviz
|
|
|
|
|
BuildRequires: python-sqlalchemy
|
|
|
|
|
BuildRequires: python2-mock
|
|
|
|
|
BuildRequires: python2-simplejson
|
|
|
|
|
BuildRequires: python-html5lib
|
|
|
|
|
BuildRequires: python-whoosh
|
|
|
|
|
BuildRequires: python2-snowballstemmer
|
|
|
|
|
BuildRequires: python-enum34
|
|
|
|
|
BuildRequires: texinfo
|
|
|
|
|
|
|
|
|
|
%if %{with imagemagick_tests}
|
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
|
# note: no Python3 xapian binding yet
|
|
|
|
|
BuildRequires: xapian-bindings-python
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with latex_tests}
|
|
|
|
|
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(article.cls)
|
|
|
|
|
BuildRequires: tex(capt-of.sty)
|
|
|
|
|
BuildRequires: tex(cmap.sty)
|
|
|
|
|
BuildRequires: tex(color.sty)
|
|
|
|
|
BuildRequires: tex(ctablestack.sty)
|
|
|
|
|
BuildRequires: tex(eu1enc.def)
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
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-pytest-cov
|
|
|
|
|
BuildRequires: python3-sqlalchemy
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
BuildRequires: python3-simplejson
|
|
|
|
|
BuildRequires: python3-html5lib
|
|
|
|
|
BuildRequires: python3-whoosh
|
|
|
|
|
BuildRequires: python3-snowballstemmer
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
|
BuildRequires: python3-sphinx-theme-alabaster
|
|
|
|
|
BuildRequires: python3-imagesize
|
|
|
|
|
BuildRequires: python3-requests
|
|
|
|
|
BuildRequires: python3-sphinxcontrib-websupport
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
BuildRequires: tex(fancyhdr.sty)
|
|
|
|
|
BuildRequires: tex(fancyvrb.sty)
|
|
|
|
|
BuildRequires: tex(fncychap.sty)
|
|
|
|
|
BuildRequires: tex(framed.sty)
|
|
|
|
|
BuildRequires: tex(FreeSerif.otf)
|
|
|
|
|
BuildRequires: tex(geometry.sty)
|
|
|
|
|
BuildRequires: tex(hyperref.sty)
|
|
|
|
|
BuildRequires: tex(kvoptions.sty)
|
|
|
|
|
BuildRequires: tex(luatex85.sty)
|
|
|
|
|
BuildRequires: tex(needspace.sty)
|
|
|
|
|
BuildRequires: tex(parskip.sty)
|
|
|
|
|
BuildRequires: tex(polyglossia.sty)
|
|
|
|
|
BuildRequires: tex(tabulary.sty)
|
|
|
|
|
BuildRequires: tex(titlesec.sty)
|
|
|
|
|
BuildRequires: tex(upquote.sty)
|
|
|
|
|
BuildRequires: tex(utf8x.def)
|
|
|
|
|
BuildRequires: tex(wrapfig.sty)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
@@ -166,38 +134,18 @@ the Python docs:
|
|
|
|
|
snippets and inclusion of appropriately formatted docstrings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python2-sphinx
|
|
|
|
|
%package -n python%{python3_pkgversion}-sphinx
|
|
|
|
|
Summary: Python documentation generator
|
|
|
|
|
Requires: python-sphinx-locale = %{version}-%{release}
|
|
|
|
|
Requires: python2-babel
|
|
|
|
|
Requires: python-docutils
|
|
|
|
|
Requires: python-jinja2
|
|
|
|
|
Requires: python-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-typing
|
|
|
|
|
Requires: python2-sphinxcontrib-websupport
|
|
|
|
|
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 = %{version}-%{release}
|
|
|
|
|
Obsoletes: python2-Sphinx <= 1.3.1-4
|
|
|
|
|
Provides: python2-Sphinx = %{version}-%{release}
|
|
|
|
|
Provides: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python2-sphinx}
|
|
|
|
|
Conflicts: python3-sphinx < %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python2-sphinx
|
|
|
|
|
# Bundled JavaScript
|
|
|
|
|
Provides: bundled(jquery) = 3.5.1
|
|
|
|
|
Provides: bundled(underscore) = 1.3.1
|
|
|
|
|
Provides: bundled(css3-mediaqueries) = 1.0
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-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
|
|
|
|
|
@@ -226,46 +174,44 @@ the Python docs:
|
|
|
|
|
snippets and inclusion of appropriately formatted docstrings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package latex
|
|
|
|
|
Summary: LaTeX builder dependencies for %{name}
|
|
|
|
|
Requires: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
%package -n python%{python3_pkgversion}-sphinx-latex
|
|
|
|
|
Summary: LaTeX builder dependencies for python%{python3_pkgversion}-sphinx
|
|
|
|
|
|
|
|
|
|
Requires: python%{python3_pkgversion}-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(article.cls)
|
|
|
|
|
Requires: tex(capt-of.sty)
|
|
|
|
|
Requires: tex(cmap.sty)
|
|
|
|
|
Requires: tex(color.sty)
|
|
|
|
|
Requires: tex(ctablestack.sty)
|
|
|
|
|
Requires: tex(eu1enc.def)
|
|
|
|
|
Obsoletes: python3-sphinx-latex < 1.4.4-2
|
|
|
|
|
Requires: tex(fancyhdr.sty)
|
|
|
|
|
Requires: tex(fancyvrb.sty)
|
|
|
|
|
Requires: tex(fncychap.sty)
|
|
|
|
|
Requires: tex(framed.sty)
|
|
|
|
|
Requires: tex(FreeSerif.otf)
|
|
|
|
|
Requires: tex(geometry.sty)
|
|
|
|
|
Requires: tex(hyperref.sty)
|
|
|
|
|
Requires: tex(kvoptions.sty)
|
|
|
|
|
Requires: tex(luatex85.sty)
|
|
|
|
|
Requires: tex(needspace.sty)
|
|
|
|
|
Requires: tex(parskip.sty)
|
|
|
|
|
Requires: tex(polyglossia.sty)
|
|
|
|
|
Requires: tex(tabulary.sty)
|
|
|
|
|
Requires: tex(titlesec.sty)
|
|
|
|
|
Requires: tex(upquote.sty)
|
|
|
|
|
Requires: tex(utf8x.def)
|
|
|
|
|
Requires: tex(wrapfig.sty)
|
|
|
|
|
|
|
|
|
|
%description latex
|
|
|
|
|
# No files in this package, automatic provides don't work:
|
|
|
|
|
%py_provides python%{python3_pkgversion}-sphinx-latex
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-sphinx-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
|
|
|
|
|
@@ -277,70 +223,10 @@ This package pulls in the TeX dependencies needed by Sphinx's LaTeX
|
|
|
|
|
builder.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%package -n python3-sphinx
|
|
|
|
|
Summary: Python documentation generator
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
Requires: python-sphinx-locale = %{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-imagesize
|
|
|
|
|
Requires: python3-requests
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: python3-sphinxcontrib-websupport
|
|
|
|
|
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 = %{version}-%{release}
|
|
|
|
|
Provides: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
%{?python_provide:%python_provide python3-sphinx}
|
|
|
|
|
Conflicts: python2-Sphinx < %{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.
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
|
Group: Documentation
|
|
|
|
|
License: BSD
|
|
|
|
|
Requires: python(Sphinx) = %{version}-%{release}
|
|
|
|
|
Recommends: python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
Sphinx is a tool that makes it easy to create intelligent and
|
|
|
|
|
@@ -353,116 +239,74 @@ 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
|
|
|
|
|
|
|
|
|
|
cp %{SOURCE5} .
|
|
|
|
|
|
|
|
|
|
sed '1d' -i sphinx/pycode/pgen2/token.py
|
|
|
|
|
%autosetup -n %{upstream_name}-%{upstream_version} -p1
|
|
|
|
|
|
|
|
|
|
# fix line encoding of bundled jquery.js
|
|
|
|
|
dos2unix -k ./sphinx/themes/basic/static/jquery.js
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
|
cp -a . %{py3dir}
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
%if %{without imagemagick_tests}
|
|
|
|
|
rm tests/test_ext_imgconverter.py
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# Don't measure coverage:
|
|
|
|
|
sed -i '/pytest-cov/d' setup.py
|
|
|
|
|
# Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483
|
|
|
|
|
sed -i '/typed_ast/d' setup.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires %{?with_tests:-x test}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py2_build
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%py3_build
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
export PYTHONPATH=$PWD
|
|
|
|
|
pushd doc
|
|
|
|
|
make html
|
|
|
|
|
make man
|
|
|
|
|
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
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%py3_install
|
|
|
|
|
install -d %{buildroot}%{_libexecdir}/python3-sphinx
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
# For backwards compatibility. Remove with care, if at all
|
|
|
|
|
for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
|
|
|
|
mv %{buildroot}%{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}
|
|
|
|
|
ln -s $i-%{python3_version} %{buildroot}%{_bindir}/$i-3
|
|
|
|
|
ln -s %{_bindir}/$i-3 %{buildroot}%{_libexecdir}/python3-sphinx/$i
|
|
|
|
|
ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}
|
|
|
|
|
ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-3
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# These appear to be incomplete C extensions to speed up parsing. They are not
|
|
|
|
|
# built by setup.py yet. Removing them in %%install so that if sphinx does
|
|
|
|
|
# make use of them, and we don't notice, we only remove these source files
|
|
|
|
|
# after the build has created the .so's
|
|
|
|
|
rm %{buildroot}%{python3_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
%py2_install
|
|
|
|
|
install -d %{buildroot}%{_libexecdir}/python2-sphinx
|
|
|
|
|
for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
|
|
|
|
mv %{buildroot}%{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python2_version}
|
|
|
|
|
ln -s $i-%{python2_version} %{buildroot}%{_bindir}/$i-2
|
|
|
|
|
ln -s %{_bindir}/$i-2 %{buildroot}%{_libexecdir}/python2-sphinx/$i
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# These appear to be incomplete C extensions to speed up parsing. They are not
|
|
|
|
|
# built by setup.py yet. Removing them in %%install so that if sphinx does
|
|
|
|
|
# make use of them, and we don't notice, we only remove these source files
|
|
|
|
|
# after the build has created the .so's
|
|
|
|
|
rm %{buildroot}%{python2_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
|
|
|
|
# Clean up non-python files
|
|
|
|
|
rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store
|
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx
|
|
|
|
|
|
|
|
|
|
pushd doc
|
|
|
|
|
# Deliver man pages
|
|
|
|
|
install -d %{buildroot}%{_mandir}/man1
|
|
|
|
|
for f in _build/man/sphinx-*.1;
|
|
|
|
|
do
|
|
|
|
|
### TODO: these are all the same. Do we really need to ship them three
|
|
|
|
|
### times or is it fine to just ship them as e.g. sphinx-build.1
|
|
|
|
|
cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f)
|
|
|
|
|
cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f | sed -e "s|.1$|-%{python2_version}.1|")
|
|
|
|
|
cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f | sed -e "s|.1$|-%{python3_version}.1|")
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Remove language files, they're identical to the ones from the
|
|
|
|
|
# Python 2 build that will be moved to /usr/share below
|
|
|
|
|
find %{buildroot}%{python3_sitelib}/sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -exec rm -rf '{}' \;
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# Clean up non-python files
|
|
|
|
|
rm -f %{buildroot}%{python2_sitelib}/sphinx/locale/.DS_Store
|
|
|
|
|
rm -rf %{buildroot}%{python2_sitelib}/sphinx/locale/.tx
|
|
|
|
|
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
|
|
|
|
|
rm reST/make.bat
|
|
|
|
|
|
|
|
|
|
# Move language files to /usr/share;
|
|
|
|
|
# patch to support this incorporated in 0.6.6
|
|
|
|
|
pushd %{buildroot}%{python_sitelib}
|
|
|
|
|
pushd %{buildroot}%{python3_sitelib}
|
|
|
|
|
|
|
|
|
|
for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;
|
|
|
|
|
do
|
|
|
|
|
test $lang == __pycache__ && continue
|
|
|
|
|
install -d %{buildroot}%{_datadir}/sphinx/locale/$lang
|
|
|
|
|
install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES
|
|
|
|
|
mv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \
|
|
|
|
|
@@ -473,36 +317,9 @@ do
|
|
|
|
|
done
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_modulesdir}/python-sphinx
|
|
|
|
|
install -m 0644 %{SOURCE1} %{buildroot}%{_modulesdir}/python-sphinx/
|
|
|
|
|
sed -i 's|@python2_sphinx_dir@|%{_libexecdir}/python2-sphinx|' %{buildroot}%{_modulesdir}/python-sphinx/python2-sphinx
|
|
|
|
|
install -m 0644 %{SOURCE2} %{buildroot}%{_modulesdir}/python-sphinx/
|
|
|
|
|
sed -i 's|@python3_sphinx_dir@|%{_libexecdir}/python3-sphinx|' %{buildroot}%{_modulesdir}/python-sphinx/python3-sphinx
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
|
install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
|
|
|
|
|
%if %{py3_default}
|
|
|
|
|
sed 's/@PYTHONVER@/3/' < %{SOURCE6} > %{buildroot}%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
|
|
|
|
|
# These symlinks establish a default for when a package is first installed (and
|
|
|
|
|
# therefore, environment modules is not loaded). The user can immediately
|
|
|
|
|
# switch them by using module swap python-sphinx/python2-sphinx
|
|
|
|
|
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
|
|
|
|
|
ln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
sed 's/@PYTHONVER@/2/' < %{SOURCE6} > %{buildroot}%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
|
|
|
|
|
# These symlinks establish a default for when a package is first installed (and
|
|
|
|
|
# therefore, environment modules is not loaded). The user can immediately
|
|
|
|
|
# switch them by using module swap python-sphinx/python3-sphinx
|
|
|
|
|
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
|
|
|
|
|
ln -s %{_libexecdir}/python2-sphinx/$filename %{buildroot}%{_bindir}/$filename
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
# Create the sphinxcontrib directory, so we can own it
|
|
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=1669790 for rationale
|
|
|
|
|
mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
|
|
|
|
|
|
|
|
|
%find_lang sphinx
|
|
|
|
|
|
|
|
|
|
@@ -513,87 +330,190 @@ done
|
|
|
|
|
>> sphinx.lang
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%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
|
|
|
|
|
LANG=en_US.UTF-8 make test
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
|
# 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
|
|
|
|
|
LANG=en_US.UTF-8 PYTHON=python3 make test
|
|
|
|
|
popd
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
# Currently, all linkcheck tests and test_latex_images need internet
|
|
|
|
|
%pytest \
|
|
|
|
|
%if %{without internet}
|
|
|
|
|
-k "not linkcheck and not test_latex_images" \
|
|
|
|
|
%endif
|
|
|
|
|
;
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%pre -n python2-sphinx
|
|
|
|
|
# python-sphinx as shipped in an update to f24 and f25 used alternatives. So
|
|
|
|
|
# we need to clean up the alternatives configuration until at least f27
|
|
|
|
|
%{_sbindir}/update-alternatives --remove sphinx-build %{_bindir}/sphinx-build-%{python2_version} || :
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%pre -n python3-sphinx
|
|
|
|
|
# python-sphinx as shipped in an update to f24 and f25 used alternatives. So
|
|
|
|
|
# we need to clean up the alternatives configuration until at least f27
|
|
|
|
|
%{_sbindir}/update-alternatives --remove sphinx-build %{_bindir}/sphinx-build-%{python3_version} || :
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files latex
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%files locale -f sphinx.lang
|
|
|
|
|
%files -n python%{python3_pkgversion}-sphinx -f sphinx.lang
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst
|
|
|
|
|
%{_bindir}/sphinx-*
|
|
|
|
|
%{python3_sitelib}/sphinx/
|
|
|
|
|
%dir %{python3_sitelib}/sphinxcontrib/
|
|
|
|
|
%{python3_sitelib}/Sphinx-%{upstream_version}.dist-info/
|
|
|
|
|
%dir %{_datadir}/sphinx/
|
|
|
|
|
%dir %{_datadir}/sphinx/locale
|
|
|
|
|
%dir %{_datadir}/sphinx/locale/*
|
|
|
|
|
%{_mandir}/man1/sphinx-*
|
|
|
|
|
|
|
|
|
|
%files -n python2-sphinx
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst README.fedora
|
|
|
|
|
%{_bindir}/sphinx-*-2*
|
|
|
|
|
%{_bindir}/sphinx-build
|
|
|
|
|
%{_bindir}/sphinx-apidoc
|
|
|
|
|
%{_bindir}/sphinx-autogen
|
|
|
|
|
%{_bindir}/sphinx-quickstart
|
|
|
|
|
%{python2_sitelib}/sphinx/
|
|
|
|
|
%{python2_sitelib}/Sphinx-%{version}-py%{python2_version}.egg-info/
|
|
|
|
|
%exclude %{_mandir}/man1/sphinx-*-%{python3_version}.1*
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_libexecdir}/python2-sphinx/
|
|
|
|
|
%{_modulesdir}/python-sphinx/python2-sphinx
|
|
|
|
|
%if !%{py3_default}
|
|
|
|
|
%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
%endif
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%files -n python%{python3_pkgversion}-sphinx-latex
|
|
|
|
|
# empty, this is a metapackage
|
|
|
|
|
|
|
|
|
|
%files -n python3-sphinx
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS CHANGES EXAMPLES README.rst README.fedora
|
|
|
|
|
%{_bindir}/sphinx-*-3*
|
|
|
|
|
%{python3_sitelib}/sphinx/
|
|
|
|
|
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
%{_mandir}/man1/sphinx-*-%{python3_version}.1*
|
|
|
|
|
%{_libexecdir}/python3-sphinx/
|
|
|
|
|
%{_modulesdir}/python-sphinx/python3-sphinx
|
|
|
|
|
%if %{py3_default}
|
|
|
|
|
%{_modulesdir}/python-sphinx/.version
|
|
|
|
|
%endif
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
|
|
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc html reST
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-1
|
|
|
|
|
- Update to 3.4.3
|
|
|
|
|
- Fixes rhbz#1909494
|
|
|
|
|
|
|
|
|
|
* Sat Dec 05 2020 Mattia Verga <mattia.verga@protonmail.com> - 1:3.3.1-2
|
|
|
|
|
- Unset -s from python shebang
|
|
|
|
|
- Fixes: rhbz#1903763
|
|
|
|
|
|
|
|
|
|
* Mon Nov 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.3.1-1
|
|
|
|
|
- Update to 3.3.1
|
|
|
|
|
- Fixes: rhbz#1893752
|
|
|
|
|
|
|
|
|
|
* Wed Oct 14 2020 Tomas Hrnciar <thrnciar@redhat.com> - 1:3.2.1-2
|
|
|
|
|
- Backport commit to fix python-sphinx with python-pygments v2.7.1
|
|
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.1-1
|
|
|
|
|
- Update to 3.2.1
|
|
|
|
|
- Remove compatibility symbolic links from /usr/libexec/
|
|
|
|
|
- Fixes rhbz#1867294
|
|
|
|
|
|
|
|
|
|
* Fri Aug 07 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.1.2-1
|
|
|
|
|
- Update to 3.1.2
|
|
|
|
|
- Fixes rhbz#1853901
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 30 2020 Charalampos Stratakis <cstratak@redhat.com> - 1:3.1.1-1
|
|
|
|
|
- Update to 3.1.1 (#1783776)
|
|
|
|
|
|
|
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-4
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-3
|
|
|
|
|
- Bootstrap for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.2.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-1
|
|
|
|
|
- Update to 2.2.2 (rhbz#1743018)
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-6
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-5
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-4
|
|
|
|
|
- Bootstrap for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Thu Aug 15 2019 Richard Shaw <hobbes1069@gmail.com> - 1:2.1.2-3
|
|
|
|
|
- Rebuild for Python 3.8.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jun 23 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-1
|
|
|
|
|
- Update to 2.1.2 (#1716158)
|
|
|
|
|
|
|
|
|
|
* Wed Apr 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.1-1
|
|
|
|
|
- Update to 2.0.1 (#1697544)
|
|
|
|
|
- Own the sphinxcontrib directory (#1669790)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 27 2019 Charalampos Stratakis <cstratak@redhat.com> - 1:2.0.0~b2-1
|
|
|
|
|
- Update to 2.0.0b2
|
|
|
|
|
|
|
|
|
|
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.0~b1-1
|
|
|
|
|
- Update to 2.0.0b1
|
|
|
|
|
- Drop Python 2 package
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Sphinx2
|
|
|
|
|
|
|
|
|
|
* Thu Feb 07 2019 Alfredo Moralejo <amoralej@redhat.com> - 1:1.8.4-1
|
|
|
|
|
- Update to 1.8.4.
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.6-2
|
|
|
|
|
- Drop explicit locale setting for python3, use C.UTF-8 for python2
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
|
|
|
|
|
|
|
|
|
* Mon Jul 23 2018 Marcel Plch <mplch@redhat.com> - 1:1.7.6-1
|
|
|
|
|
- Update to 1.7.6
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-6
|
|
|
|
|
- Remove unused dependencies on xapian and simplejson
|
|
|
|
|
|
|
|
|
|
* Thu Jul 5 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.5-5
|
|
|
|
|
- Add patch to fix build if alabaster theme is installed
|
|
|
|
|
- Add patch for #1589868
|
|
|
|
|
|
|
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-4
|
|
|
|
|
- Enable tests
|
|
|
|
|
|
|
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-3
|
|
|
|
|
- Enable websupport
|
|
|
|
|
|
|
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-2
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.5-1
|
|
|
|
|
- Update to 1.7.5 (bz#1570451)
|
|
|
|
|
|
|
|
|
|
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-5
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-4
|
|
|
|
|
- Bootstrap for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-3
|
|
|
|
|
- Bootstrap for Python 3.7
|
|
|
|
|
|
|
|
|
|
* 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)
|
|
|
|
|
|
|
|
|
|
|