Upgrade 4.4.0

Signed-off-by: cherry530 <xuping33@huawei.com>
This commit is contained in:
cherry530 2022-10-27 17:26:16 +08:00
parent 4e2b444e17
commit c4bc0d6e51
3 changed files with 5 additions and 15 deletions

View File

@ -1,12 +1,11 @@
Name: python-sphinx Name: python-sphinx
Version: 4.3.1 Version: 4.4.0
Release: 3 Release: 1
Epoch: 1 Epoch: 1
Summary: Python documentation generator Summary: Python documentation generator
License: BSD and MIT License: BSD and MIT
URL: http://sphinx-doc.org/ URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch1: sphinx-test_theming.diff
BuildArch: noarch BuildArch: noarch
@ -225,6 +224,9 @@ export PATH=%{buildroot}%{_bindir}:$PATH
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Thu Oct 27 2022 xu_ping <xuping33@h-partners.com> - 1:4.4.0-1
- Upgrade 4.4.0
* Wed Jan 12 2022 shixuantong <shixuantong@huawei.com> - 4.3.1-3 * Wed Jan 12 2022 shixuantong <shixuantong@huawei.com> - 4.3.1-3
- revert openEuler-fix-docutils-version-error.patch - revert openEuler-fix-docutils-version-error.patch

View File

@ -1,12 +0,0 @@
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 @@
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'