Compare commits
52 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a31453064c | ||
|
|
7507893559 | ||
|
|
d24b3b01a9 | ||
|
|
9c0d32b9af | ||
|
|
9104ffe553 | ||
|
|
2da599dd9a | ||
|
|
2fbf62bfba | ||
|
|
a0cc515b74 | ||
|
|
0b87836124 | ||
|
|
be9e7b1508 | ||
|
|
81f3c96c10 | ||
|
|
055cf1292a | ||
|
|
b0978bafd9 | ||
|
|
ca6027ecf0 | ||
|
|
7dfe865724 | ||
|
|
644aef964c | ||
|
|
2e80cab0b5 | ||
|
|
8aeee581aa | ||
|
|
9dc09b9e79 | ||
|
|
f0f09a5087 | ||
|
|
cc7f8dfbf3 | ||
|
|
924f1b1e38 | ||
|
|
0453f9e3b7 | ||
|
|
eb75429039 | ||
|
|
d76c73ce9e | ||
|
|
04e7c13b7b | ||
|
|
1376b3f859 | ||
|
|
25af7978b4 | ||
|
|
2fb9084204 | ||
|
|
12770577f7 | ||
|
|
4459819cfc | ||
|
|
5c12b53641 | ||
|
|
f7572144d2 | ||
|
|
4500554943 | ||
|
|
82817e3a80 | ||
|
|
daad1311b1 | ||
|
|
67bdc19f10 | ||
|
|
bcde98f61b | ||
|
|
9e608a0fa5 | ||
|
|
976a71363d | ||
|
|
5bf9c06479 | ||
|
|
884ff2afc1 | ||
|
|
1d11fd11e2 | ||
|
|
39005de2f4 | ||
|
|
686ccb777b | ||
|
|
e4c8578188 | ||
|
|
95033b7db0 | ||
|
|
1a1e29e5a8 | ||
|
|
19463ebbdd | ||
|
|
23b5cdf21e | ||
|
|
7afb2d61aa | ||
|
|
d237e99bb9 |
19
.gitignore
vendored
19
.gitignore
vendored
@@ -22,3 +22,22 @@
|
||||
/Sphinx-2.1.2.tar.gz
|
||||
/Sphinx-2.2.0.tar.gz
|
||||
/Sphinx-2.2.2.tar.gz
|
||||
/Sphinx-3.1.1.tar.gz
|
||||
/Sphinx-3.1.2.tar.gz
|
||||
/Sphinx-3.2.1.tar.gz
|
||||
/Sphinx-3.3.1.tar.gz
|
||||
/Sphinx-3.4.3.tar.gz
|
||||
/Sphinx-3.5.2.tar.gz
|
||||
/Sphinx-3.5.3.tar.gz
|
||||
/Sphinx-3.5.4.tar.gz
|
||||
/Sphinx-4.0.2.tar.gz
|
||||
/Sphinx-4.1.2.tar.gz
|
||||
/Sphinx-4.2.0.tar.gz
|
||||
/Sphinx-4.3.0.tar.gz
|
||||
/Sphinx-4.3.1.tar.gz
|
||||
/Sphinx-4.4.0.tar.gz
|
||||
/Sphinx-4.5.0.tar.gz
|
||||
/Sphinx-5.0.2.tar.gz
|
||||
/Sphinx-5.1.1.tar.gz
|
||||
/Sphinx-5.2.3.tar.gz
|
||||
/Sphinx-5.3.0.tar.gz
|
||||
|
||||
114
fix-tests-with-pygments-2.14.patch
Normal file
114
fix-tests-with-pygments-2.14.patch
Normal file
@@ -0,0 +1,114 @@
|
||||
From c3bf917fcf18c5211b220a7b294b7e6012c2d510 Mon Sep 17 00:00:00 2001
|
||||
From: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
||||
Date: Sun, 1 Jan 2023 19:17:03 +0000
|
||||
Subject: [PATCH] Fix tests for Pygments 2.14
|
||||
|
||||
Pygments 2.14 was released on 01/01/2023 [0]
|
||||
|
||||
[0]: https://pygments.org/docs/changelog/#version-2-14-0
|
||||
|
||||
---
|
||||
pyproject.toml | 2 +-
|
||||
tests/test_ext_viewcode.py | 27 +++++++++++++++++++--------
|
||||
tests/test_intl.py | 11 +++++++++--
|
||||
3 files changed, 29 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 0e059b5..c02ce20 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -64,7 +64,7 @@ dependencies = [
|
||||
"sphinxcontrib-serializinghtml>=1.1.5",
|
||||
"sphinxcontrib-qthelp",
|
||||
"Jinja2>=3.0",
|
||||
- "Pygments>=2.12",
|
||||
+ "Pygments>=2.13",
|
||||
"docutils>=0.14,<0.20",
|
||||
"snowballstemmer>=2.0",
|
||||
"babel>=2.9",
|
||||
diff --git a/tests/test_ext_viewcode.py b/tests/test_ext_viewcode.py
|
||||
index 7750b8d..6d443d1 100644
|
||||
--- a/tests/test_ext_viewcode.py
|
||||
+++ b/tests/test_ext_viewcode.py
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
import re
|
||||
|
||||
+import pygments
|
||||
import pytest
|
||||
|
||||
|
||||
@@ -31,14 +32,24 @@ def test_viewcode(app, status, warning):
|
||||
|
||||
result = (app.outdir / '_modules/spam/mod1.html').read_text(encoding='utf8')
|
||||
result = re.sub('<span class=".*?">', '<span>', result) # filter pygments classes
|
||||
- assert ('<div class="viewcode-block" id="Class1"><a class="viewcode-back" '
|
||||
- 'href="../../index.html#spam.Class1">[docs]</a>'
|
||||
- '<span>@decorator</span>\n'
|
||||
- '<span>class</span> <span>Class1</span>'
|
||||
- '<span>(</span><span>object</span><span>):</span>\n'
|
||||
- ' <span>"""</span>\n'
|
||||
- '<span> this is Class1</span>\n'
|
||||
- '<span> """</span></div>\n') in result
|
||||
+ if pygments.__version__ >= '2.14.0':
|
||||
+ assert ('<div class="viewcode-block" id="Class1"><a class="viewcode-back" '
|
||||
+ 'href="../../index.html#spam.Class1">[docs]</a>'
|
||||
+ '<span>@decorator</span>\n'
|
||||
+ '<span>class</span> <span>Class1</span>'
|
||||
+ '<span>(</span><span>object</span><span>):</span>\n'
|
||||
+ '<span> </span><span>"""</span>\n'
|
||||
+ '<span> this is Class1</span>\n'
|
||||
+ '<span> """</span></div>\n') in result
|
||||
+ else:
|
||||
+ assert ('<div class="viewcode-block" id="Class1"><a class="viewcode-back" '
|
||||
+ 'href="../../index.html#spam.Class1">[docs]</a>'
|
||||
+ '<span>@decorator</span>\n'
|
||||
+ '<span>class</span> <span>Class1</span>'
|
||||
+ '<span>(</span><span>object</span><span>):</span>\n'
|
||||
+ ' <span>"""</span>\n'
|
||||
+ '<span> this is Class1</span>\n'
|
||||
+ '<span> """</span></div>\n') in result
|
||||
|
||||
|
||||
@pytest.mark.sphinx('epub', testroot='ext-viewcode')
|
||||
diff --git a/tests/test_intl.py b/tests/test_intl.py
|
||||
index 796d95b..0c4b838 100644
|
||||
--- a/tests/test_intl.py
|
||||
+++ b/tests/test_intl.py
|
||||
@@ -6,6 +6,7 @@ Runs the text builder in the test root.
|
||||
import os
|
||||
import re
|
||||
|
||||
+import pygments
|
||||
import docutils
|
||||
import pytest
|
||||
from babel.messages import mofile, pofile
|
||||
@@ -1105,8 +1106,11 @@ def test_additional_targets_should_not_be_translated(app):
|
||||
expected_expr = ("""<span class="n">literal</span>"""
|
||||
"""<span class="o">-</span>"""
|
||||
"""<span class="n">block</span>\n"""
|
||||
- """<span class="k">in</span> """
|
||||
+ """<span class="k">in</span>"""
|
||||
+ """<span class="w"> </span>"""
|
||||
"""<span class="n">list</span>""")
|
||||
+ if pygments.__version__ < '2.14.0':
|
||||
+ expected_expr = expected_expr.replace("""<span class="w"> </span>""", ' ')
|
||||
assert_count(expected_expr, result, 1)
|
||||
|
||||
# doctest block should not be translated but be highlighted
|
||||
@@ -1184,8 +1188,11 @@ def test_additional_targets_should_be_translated(app):
|
||||
expected_expr = ("""<span class="no">LITERAL</span>"""
|
||||
"""<span class="o">-</span>"""
|
||||
"""<span class="no">BLOCK</span>\n"""
|
||||
- """<span class="no">IN</span> """
|
||||
+ """<span class="no">IN</span>"""
|
||||
+ """<span class="w"> </span>"""
|
||||
"""<span class="no">LIST</span>""")
|
||||
+ if pygments.__version__ < '2.14.0':
|
||||
+ expected_expr = expected_expr.replace("""<span class="w"> </span>""", ' ')
|
||||
assert_count(expected_expr, result, 1)
|
||||
|
||||
# doctest block should not be translated but be highlighted
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
# 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 %(echo %py3_shebang_flags | sed s/s//)
|
||||
|
||||
# No internet in Koji
|
||||
%bcond_with internet
|
||||
@@ -15,15 +18,17 @@
|
||||
%bcond_without imagemagick_tests
|
||||
%endif
|
||||
|
||||
# During texlive updates, sometimes the latex environment is unstable
|
||||
%bcond_without latex_tests
|
||||
|
||||
%global upstream_name Sphinx
|
||||
|
||||
Name: python-sphinx
|
||||
%global general_version 2.2.2
|
||||
%global general_version 5.3.0
|
||||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Python documentation generator
|
||||
|
||||
@@ -40,28 +45,19 @@ Source0: %{pypi_source %{upstream_name} %{upstream_version}}
|
||||
# which causes that test to fail.
|
||||
Patch1: sphinx-test_theming.diff
|
||||
|
||||
# Backported upstream commit included in Sphinx 6+ ensures compatibility
|
||||
# with python-pygments 2.14+
|
||||
# https://github.com/sphinx-doc/sphinx/commit/965768bfda2a00ba6
|
||||
Patch2: fix-tests-with-pygments-2.14.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
BuildRequires: python3-babel
|
||||
BuildRequires: python3-docutils
|
||||
BuildRequires: python3-imagesize
|
||||
BuildRequires: python3-jinja2
|
||||
BuildRequires: python3-packaging
|
||||
BuildRequires: python3-pygments
|
||||
BuildRequires: python3-requests
|
||||
BuildRequires: python3-sphinxcontrib-applehelp
|
||||
BuildRequires: python3-sphinxcontrib-devhelp
|
||||
BuildRequires: python3-sphinxcontrib-htmlhelp
|
||||
BuildRequires: python3-sphinxcontrib-jsmath
|
||||
BuildRequires: python3-sphinxcontrib-qthelp
|
||||
BuildRequires: python3-sphinxcontrib-serializinghtml
|
||||
BuildRequires: python3-sphinx-theme-alabaster
|
||||
BuildRequires: make
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
%if %{with websupport}
|
||||
BuildRequires: python3-sphinxcontrib-websupport
|
||||
BuildRequires: python%{python3_pkgversion}-sphinxcontrib-websupport
|
||||
%endif
|
||||
|
||||
# for fixes
|
||||
@@ -69,13 +65,9 @@ BuildRequires: dos2unix
|
||||
|
||||
%if %{with tests}
|
||||
# tests import _testcapi
|
||||
BuildRequires: python3-test
|
||||
|
||||
BuildRequires: python3-html5lib
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-snowballstemmer
|
||||
BuildRequires: python%{python3_pkgversion}-test
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: texinfo
|
||||
@@ -84,6 +76,7 @@ BuildRequires: texinfo
|
||||
BuildRequires: ImageMagick
|
||||
%endif
|
||||
|
||||
%if %{with latex_tests}
|
||||
BuildRequires: texlive-collection-fontsrecommended
|
||||
BuildRequires: texlive-collection-latex
|
||||
BuildRequires: texlive-dvipng
|
||||
@@ -114,6 +107,7 @@ BuildRequires: tex(upquote.sty)
|
||||
BuildRequires: tex(utf8x.def)
|
||||
BuildRequires: tex(wrapfig.sty)
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
@@ -145,28 +139,18 @@ the Python docs:
|
||||
snippets and inclusion of appropriately formatted docstrings.
|
||||
|
||||
|
||||
%package -n python3-sphinx
|
||||
%package -n python%{python3_pkgversion}-sphinx
|
||||
Summary: Python documentation generator
|
||||
|
||||
Recommends: graphviz
|
||||
Recommends: ImageMagick
|
||||
%{?python_provide:%python_provide python3-sphinx}
|
||||
|
||||
# Bundled JavaScript
|
||||
Provides: bundled(jquery) = 3.2.1
|
||||
Provides: bundled(jquery) = 3.5.1
|
||||
Provides: bundled(underscore) = 1.3.1
|
||||
Provides: bundled(css3-mediaqueries) = 1.0
|
||||
|
||||
# Remove in F33
|
||||
Obsoletes: python-sphinx-locale < 1:2
|
||||
Provides: python-sphinx-locale = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: python3-sphinxcontrib-napoleon < 0.3.0
|
||||
Provides: python3-sphinxcontrib-napoleon = %{epoch}:%{version}-%{release}
|
||||
Conflicts: python2-Sphinx < 1:2
|
||||
Conflicts: python2-sphinx < 1:2
|
||||
Provides: python(Sphinx) = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description -n python3-sphinx
|
||||
%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
|
||||
@@ -195,10 +179,10 @@ the Python docs:
|
||||
snippets and inclusion of appropriately formatted docstrings.
|
||||
|
||||
|
||||
%package -n python3-sphinx-latex
|
||||
Summary: LaTeX builder dependencies for python3-sphinx
|
||||
%package -n python%{python3_pkgversion}-sphinx-latex
|
||||
Summary: LaTeX builder dependencies for python%{python3_pkgversion}-sphinx
|
||||
|
||||
Requires: python3-sphinx = %{epoch}:%{version}-%{release}
|
||||
Requires: python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
|
||||
Requires: texlive-collection-fontsrecommended
|
||||
Requires: texlive-collection-latex
|
||||
Requires: texlive-dvipng
|
||||
@@ -229,13 +213,10 @@ Requires: tex(upquote.sty)
|
||||
Requires: tex(utf8x.def)
|
||||
Requires: tex(wrapfig.sty)
|
||||
|
||||
%{?python_provide:%python_provide python3-sphinx-latex}
|
||||
# No files in this package, automatic provides don't work:
|
||||
%py_provides python%{python3_pkgversion}-sphinx-latex
|
||||
|
||||
# Remove in F33
|
||||
Obsoletes: python-sphinx-latex < 1:2
|
||||
Provides: python-sphinx-latex = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description -n python3-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
|
||||
@@ -250,7 +231,7 @@ builder.
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
License: BSD
|
||||
Recommends: python3-sphinx = %{epoch}:%{version}-%{release}
|
||||
Recommends: python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Sphinx is a tool that makes it easy to create intelligent and
|
||||
@@ -260,7 +241,7 @@ 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.
|
||||
This package contains documentation in the HTML format.
|
||||
|
||||
|
||||
%prep
|
||||
@@ -274,28 +255,34 @@ rm tests/test_ext_imgconverter.py
|
||||
%endif
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r %{?with_tests:-x test}
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_wheel
|
||||
|
||||
export PYTHONPATH=$PWD
|
||||
pushd doc
|
||||
export SPHINXBUILD="%{__python3} ../sphinx/cmd/build.py"
|
||||
export SPHINXBUILD="%{python3} ../sphinx/cmd/build.py"
|
||||
make html SPHINXBUILD="$SPHINXBUILD"
|
||||
make man SPHINXBUILD="$SPHINXBUILD"
|
||||
rm -rf _build/html/.buildinfo
|
||||
# Those files are copied to _build/html/_images and loaded to the
|
||||
# html pages from there - we can safely remove the duplicated and unused files
|
||||
rm -rf _build/html/_static/themes _build/html/_static/tutorial
|
||||
rm -f _build/html/_static/more.png _build/html/_static/translation.svg
|
||||
mv _build/html ..
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
# For backwards compatibility. Remove around Fedora 33 (with care)
|
||||
install -d %{buildroot}%{_libexecdir}/python3-sphinx
|
||||
# For backwards compatibility. Remove with care, if at all
|
||||
for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
||||
ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}
|
||||
ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-3
|
||||
ln -s %{_bindir}/$i %{buildroot}%{_libexecdir}/python3-sphinx/$i
|
||||
done
|
||||
|
||||
# Clean up non-python files
|
||||
@@ -311,12 +298,6 @@ do
|
||||
done
|
||||
popd
|
||||
|
||||
# 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}%{python3_sitelib}
|
||||
@@ -349,42 +330,167 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
|
||||
# Currently, all linkcheck tests and test_latex_images need internet
|
||||
%{__python3} -m pytest \
|
||||
# test_build_latex_doc needs internet to download pictures,
|
||||
# but fails also with it enabled, we decided to skip it entirely
|
||||
%pytest \
|
||||
%if %{without internet}
|
||||
-k "not linkcheck and not test_latex_images" \
|
||||
-k "not linkcheck and not test_latex_images and not test_build_latex_doc" \
|
||||
%endif
|
||||
;
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-sphinx -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}-py%{python3_version}.egg-info/
|
||||
%{_libexecdir}/python3-sphinx/
|
||||
%{python3_sitelib}/sphinx-%{upstream_version}.dist-info/
|
||||
%dir %{_datadir}/sphinx/
|
||||
%dir %{_datadir}/sphinx/locale
|
||||
%dir %{_datadir}/sphinx/locale/*
|
||||
%{_mandir}/man1/sphinx-*
|
||||
|
||||
|
||||
%files -n python3-sphinx-latex
|
||||
%files -n python%{python3_pkgversion}-sphinx-latex
|
||||
# empty, this is a metapackage
|
||||
|
||||
|
||||
%files doc
|
||||
%license LICENSE
|
||||
%doc html reST
|
||||
%doc html
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 31 2023 Karolina Surma <ksurma@redhat.com> - 1:5.3.0-3
|
||||
- Fix tests with python-pygments 2.14+
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Nov 08 2022 Karolina Surma <ksurma@redhat.com> - 1:5.3.0-1
|
||||
- Update to 5.3.0
|
||||
- Fixes rhbz#2129546
|
||||
|
||||
* Mon Aug 15 2022 Karolina Surma <ksurma@redhat.com> - 1:5.1.1-1
|
||||
- Update to 5.1.1
|
||||
- Fixes rhbz#2110473
|
||||
- Remove reST documentation from the -doc package, ship only HTML
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jun 21 2022 Karolina Surma <ksurma@redhat.com> - 1:5.0.2-1
|
||||
- Update to 5.0.2
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:4.5.0-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:4.5.0-2
|
||||
- Bootstrap for Python 3.11
|
||||
|
||||
* Fri Apr 01 2022 Karolina Surma <ksurma@redhat.com> - 1:4.5.0-1
|
||||
- Update to 4.5.0
|
||||
- Fixes rhbz#2068924
|
||||
|
||||
* Tue Feb 01 2022 Karolina Surma <ksurma@redhat.com> - 1:4.4.0-1
|
||||
- Update to 4.4.0
|
||||
- Fixes rhbz#2033955
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Nov 29 2021 Karolina Surma <ksurma@redhat.com> - 1:4.3.1-1
|
||||
- Update to 4.3.1
|
||||
- Fixes rhbz#2027059
|
||||
|
||||
* Fri Nov 19 2021 Karolina Surma <ksurma@redhat.com> - 1:4.3.0-1
|
||||
- Update to 4.3.0
|
||||
- Fixes rhbz#2022111
|
||||
|
||||
* Fri Sep 17 2021 Karolina Surma <ksurma@redhat.com> - 1:4.2.0-1
|
||||
- Update to 4.2.0
|
||||
- Fixes rhbz#2003427
|
||||
|
||||
* Thu Sep 16 2021 Karolina Surma <ksurma@redhat.com> - 1:4.1.2-3
|
||||
- Display typing objects correctly with Python 3.10 (fix FTBFS)
|
||||
- Generate correct reference to parent class if class has `_name` attribute
|
||||
- Enable previously deselected test
|
||||
|
||||
* Wed Aug 18 2021 Karolina Surma <ksurma@redhat.com> - 1:4.1.2-2
|
||||
- Patch python-sphinx to work with python-pygments >=2.10
|
||||
|
||||
* Mon Aug 02 2021 Karolina Surma <ksurma@redhat.com> - 1:4.1.2-1
|
||||
- Update to 4.1.2
|
||||
- Fixes rhbz#1979326
|
||||
- Backport commit to fix python-sphinx with Python 3.10-rc1
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.0.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 11 2021 Karolina Surma <ksurma@redhat.com> - 1:4.0.2-1
|
||||
- Update to 4.0.2
|
||||
- Fixes rhbz#1948279
|
||||
|
||||
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1:3.5.4-3
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1:3.5.4-2
|
||||
- Bootstrap for Python 3.10
|
||||
|
||||
* Mon May 10 2021 Karolina Surma <ksurma@redhat.com> - 1:3.5.4-1
|
||||
- Update to 3.5.4
|
||||
- Fixes rhbz#1949477
|
||||
|
||||
* Thu Apr 01 2021 Karolina Surma <ksurma@redhat.com> - 1:3.5.3-1
|
||||
- Update to 3.5.3
|
||||
- Fixes rhbz#1941161
|
||||
|
||||
* Wed Mar 10 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.5.2-1
|
||||
- Update 3.5.2
|
||||
- Fixes rhbz#1928459
|
||||
|
||||
* 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
|
||||
|
||||
|
||||
4
rpminspect.yaml
Normal file
4
rpminspect.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
# exclude XML template (not always valid) from XML validity check:
|
||||
xml:
|
||||
ignore:
|
||||
- /usr/lib/python*/site-packages/sphinx/themes/basic/opensearch.xml
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
SHA512 (Sphinx-2.2.2.tar.gz) = 2aaed5980c6fb3bf1a8b2911bbf5d7b8a2d9356e2e9faad58e9ac93e76f76e0c5f40243774553a719dfe982e5e683821545db56142cd8e3db914e97e363124f1
|
||||
SHA512 (Sphinx-5.3.0.tar.gz) = cd2321409f7566c6333d6fc5c4eb4ed2d07490923b0c8762a31f062d9e5d86bbd9bd2c2bb3b93a00b37f31940173404dba8259de940fe402a248cf66a72cd7ae
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
diff -ru Sphinx-1.7.6/tests/test_theming.py Sphinx-1.7.6_patched/tests/test_theming.py
|
||||
--- Sphinx-1.7.6/tests/test_theming.py 2018-07-16 11:24:40.000000000 +0200
|
||||
+++ Sphinx-1.7.6_patched/tests/test_theming.py 2018-07-20 15:17:35.049263077 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
@@ -25,7 +25,7 @@
|
||||
themes.append('alabaster')
|
||||
|
||||
# test Theme class API
|
||||
- assert set(app.html_themes.keys()) == set(themes)
|
||||
+ assert set(app.html_themes.keys()) >= set(themes)
|
||||
assert app.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
|
||||
assert app.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
|
||||
assert app.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'
|
||||
- assert set(app.registry.html_themes.keys()) == set(themes)
|
||||
+ assert set(app.registry.html_themes.keys()) >= set(themes)
|
||||
assert app.registry.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
|
||||
assert app.registry.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
|
||||
assert app.registry.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'
|
||||
|
||||
Reference in New Issue
Block a user