!20 Support for sphinx-0.7.x and docutils-0.20.x
From: @cherry530 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
907c2510da
15
Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch
Normal file
15
Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
index afd56e2..01e0e35 100644
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -44,8 +44,8 @@ zip_safe = False
|
||||||
|
packages = sphinx_rtd_theme
|
||||||
|
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
|
||||||
|
install_requires =
|
||||||
|
- sphinx >=1.6,<6
|
||||||
|
- docutils <0.18
|
||||||
|
+ sphinx >=1.6,<8
|
||||||
|
+ docutils <=0.20
|
||||||
|
tests_require =
|
||||||
|
pytest
|
||||||
|
|
||||||
@ -1,11 +1,13 @@
|
|||||||
Name: python-sphinx_rtd_theme
|
Name: python-sphinx_rtd_theme
|
||||||
Summary: Sphinx theme for readthedocs.org
|
Summary: Sphinx theme for readthedocs.org
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/snide/sphinx_rtd_theme
|
URL: https://github.com/snide/sphinx_rtd_theme
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-setuptools python3-sphinx
|
BuildRequires: python3-devel python3-setuptools python3-sphinx
|
||||||
@ -27,23 +29,21 @@ on both desktop and mobile devices. this theme is used primarily on read the doc
|
|||||||
with any sphinx project. you can find a working demo of the theme in the theme documentation.
|
with any sphinx project. you can find a working demo of the theme in the theme documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -c -p1
|
%autosetup -n sphinx_rtd_theme-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd sphinx_rtd_theme-%{version}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd sphinx_rtd_theme-%{version}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
popd
|
|
||||||
|
|
||||||
%files -n python3-sphinx_rtd_theme
|
%files -n python3-sphinx_rtd_theme
|
||||||
%doc sphinx_rtd_theme-%{version}/README.rst
|
|
||||||
%license sphinx_rtd_theme-%{version}/LICENSE
|
|
||||||
%{python3_sitelib}/sphinx_rtd_theme*
|
%{python3_sitelib}/sphinx_rtd_theme*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 28 2023 xu_ping <707078654@qq.com> 1.1.1-2
|
||||||
|
- Support for sphinx-0.7.x and docutils-0.20.x
|
||||||
|
|
||||||
* Fri Jun 16 2023 xiaotong <tongxiaof@isoftstone.com> 1.1.1-1
|
* Fri Jun 16 2023 xiaotong <tongxiaof@isoftstone.com> 1.1.1-1
|
||||||
- upgrade version to 1.1.1
|
- upgrade version to 1.1.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user