!41 update to 4.4.0

From: @zhangy1317 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
This commit is contained in:
openeuler-ci-bot 2022-07-20 07:43:57 +00:00 committed by Gitee
commit 467f5aaf00
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 4 additions and 14 deletions

View File

@ -1,12 +1,11 @@
Name: python-sphinx Name: python-sphinx
Version: 4.3.1 Version: 4.4.0
Release: 1 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 Jun 16 2022 zhangy1317 <zhangy1317@foxmail.com> - 1:4.4.0-1
- Upgrade version for openstack yoga
* Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 4.3.1-1 * Mon Dec 13 2021 shixuantong <shixuantong@huawei.com> - 4.3.1-1
- update version to 4.3.1 - update version to 4.3.1

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'