Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
407757b365
!57 Upgrade version to 7.0.1
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-07-28 09:47:22 +00:00
cherry530
8c5725cdd5 Upgrade version to 7.0.1
Signed-off-by: cherry530 <707078654@qq.com>
2023-07-28 14:49:11 +08:00
openeuler-ci-bot
3184fa6a8b
!50 Updated jQuery version to 3.6.0
From: @tong_1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-07-20 11:53:44 +00:00
shixuantong
a844ddb26c html: Updated jQuery version from 3.5.1 to 3.6.0 2023-07-20 19:06:17 +08:00
openeuler-ci-bot
467f5aaf00
!41 update to 4.4.0
From: @zhangy1317 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-07-20 07:43:57 +00:00
zhangy1317
ae6e71f19e update to 4.4.0 2022-07-20 09:44:49 +08:00
openeuler-ci-bot
c2d8591c03 !26 update version to 4.3.1
Merge pull request !26 from 桐小哥/master
2021-12-14 12:11:46 +00:00
shixuantong
bada929a12 update version to 4.3.1 2021-12-13 09:26:58 +08:00
openeuler-ci-bot
913e79f543 !17 upgrade sphinx to 3.5.2
From: @li-mingzhou
Reviewed-by: 
Signed-off-by:
2021-08-19 03:28:06 +00:00
lmz
0a59b42f3c update to 3.5.2 2021-08-13 17:14:29 +00:00
4 changed files with 22 additions and 21 deletions

Binary file not shown.

BIN
Sphinx-7.0.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,11 @@
Name: python-sphinx
Version: 3.4.3
Version: 7.0.1
Release: 1
Epoch: 1
Summary: Python documentation generator
License: BSD and Public Domain and Python and (MIT or GPLv2)
License: BSD and MIT
URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch1: sphinx-test_theming.diff
BuildArch: noarch
@ -26,6 +25,8 @@ BuildRequires: python3-sphinxcontrib-jsmath
BuildRequires: python3-sphinxcontrib-qthelp
BuildRequires: python3-sphinxcontrib-serializinghtml
BuildRequires: python3-sphinx-theme-alabaster
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-pytest
BuildRequires: python3-flit-core
BuildRequires: dos2unix
@ -133,10 +134,9 @@ This package contains locale files for Sphinx.
%prep
%autosetup -n Sphinx-%{version} -p1
dos2unix -k ./sphinx/themes/basic/static/jquery.js
%build
%py3_build
%pyproject_build
export PYTHONPATH=$PWD
pushd doc
@ -149,7 +149,7 @@ popd
%install
%py3_install
%pyproject_install sphinx==%{version}
# For backwards compatibility. Remove around Fedora 33 (with care)
install -d %{buildroot}%{_libexecdir}/python3-sphinx
@ -215,9 +215,7 @@ export PATH=%{buildroot}%{_bindir}:$PATH
%license LICENSE
%doc AUTHORS CHANGES EXAMPLES README.rst
%{_bindir}/sphinx-*
%{python3_sitelib}/sphinx/
%dir %{python3_sitelib}/sphinxcontrib/
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
%{python3_sitelib}/sphinx*
%{_libexecdir}/python3-sphinx/
%files help
@ -225,6 +223,21 @@ export PATH=%{buildroot}%{_bindir}:$PATH
%{_mandir}/man1/*
%changelog
* Fri Jul 28 2023 xu_ping <707078654@qq.com> - 1:7.0.1-1
- Upgrade version to 7.0.1
* Thu Jul 20 2023 shixuantong <shixuantong1@huawei.com> - 1:4.4.0-2
- html: Updated jQuery version from 3.5.1 to 3.6.0
* 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
- update version to 4.3.1
* Tue Jul 27 2021 OpenStack_SIG <openstack@openeuler.org> - 3.5.2-1
- update to 3.5.2
* Wed Jan 13 2021 SimpleUpdate Robot <tc@openeuler.org> - 3.4.3-1
- Upgrade to version 3.4.3

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'