Compare commits
10 Commits
21591d692a
...
407757b365
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
407757b365 | ||
|
|
8c5725cdd5 | ||
|
|
3184fa6a8b | ||
|
|
a844ddb26c | ||
|
|
467f5aaf00 | ||
|
|
ae6e71f19e | ||
|
|
c2d8591c03 | ||
|
|
bada929a12 | ||
|
|
913e79f543 | ||
|
|
0a59b42f3c |
Binary file not shown.
BIN
Sphinx-7.0.1.tar.gz
Normal file
BIN
Sphinx-7.0.1.tar.gz
Normal file
Binary file not shown.
@ -1,12 +1,11 @@
|
|||||||
Name: python-sphinx
|
Name: python-sphinx
|
||||||
Version: 3.4.3
|
Version: 7.0.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
License: BSD and Public Domain and Python and (MIT or GPLv2)
|
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
|
||||||
|
|
||||||
@ -26,6 +25,8 @@ BuildRequires: python3-sphinxcontrib-jsmath
|
|||||||
BuildRequires: python3-sphinxcontrib-qthelp
|
BuildRequires: python3-sphinxcontrib-qthelp
|
||||||
BuildRequires: python3-sphinxcontrib-serializinghtml
|
BuildRequires: python3-sphinxcontrib-serializinghtml
|
||||||
BuildRequires: python3-sphinx-theme-alabaster
|
BuildRequires: python3-sphinx-theme-alabaster
|
||||||
|
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-pytest
|
||||||
|
BuildRequires: python3-flit-core
|
||||||
|
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
|
|
||||||
@ -133,10 +134,9 @@ This package contains locale files for Sphinx.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n Sphinx-%{version} -p1
|
%autosetup -n Sphinx-%{version} -p1
|
||||||
|
|
||||||
dos2unix -k ./sphinx/themes/basic/static/jquery.js
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
export PYTHONPATH=$PWD
|
export PYTHONPATH=$PWD
|
||||||
pushd doc
|
pushd doc
|
||||||
@ -149,7 +149,7 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install sphinx==%{version}
|
||||||
|
|
||||||
# For backwards compatibility. Remove around Fedora 33 (with care)
|
# For backwards compatibility. Remove around Fedora 33 (with care)
|
||||||
install -d %{buildroot}%{_libexecdir}/python3-sphinx
|
install -d %{buildroot}%{_libexecdir}/python3-sphinx
|
||||||
@ -215,9 +215,7 @@ export PATH=%{buildroot}%{_bindir}:$PATH
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS CHANGES EXAMPLES README.rst
|
%doc AUTHORS CHANGES EXAMPLES README.rst
|
||||||
%{_bindir}/sphinx-*
|
%{_bindir}/sphinx-*
|
||||||
%{python3_sitelib}/sphinx/
|
%{python3_sitelib}/sphinx*
|
||||||
%dir %{python3_sitelib}/sphinxcontrib/
|
|
||||||
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
|
|
||||||
%{_libexecdir}/python3-sphinx/
|
%{_libexecdir}/python3-sphinx/
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -225,6 +223,21 @@ export PATH=%{buildroot}%{_bindir}:$PATH
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 13 2021 SimpleUpdate Robot <tc@openeuler.org> - 3.4.3-1
|
||||||
- Upgrade to version 3.4.3
|
- Upgrade to version 3.4.3
|
||||||
|
|
||||||
|
|||||||
@ -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'
|
|
||||||
Loading…
x
Reference in New Issue
Block a user