Accepting request 930211 from devel:languages:python
- update to 1.0.0: * compatibility with docutils 0.17 * sphinx 4.1+ support - drop sphinx41.patch: upstream OBS-URL: https://build.opensuse.org/request/show/930211 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx_rtd_theme?expand=0&rev=14
This commit is contained in:
commit
5c35ccb88f
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 8 15:47:35 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.0.0:
|
||||||
|
* compatibility with docutils 0.17
|
||||||
|
* sphinx 4.1+ support
|
||||||
|
- drop sphinx41.patch: upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 13 06:56:38 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
Tue Jul 13 06:56:38 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -26,14 +26,13 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-sphinx_rtd_theme%{psuffix}
|
Name: python-sphinx_rtd_theme%{psuffix}
|
||||||
Version: 0.5.2
|
Version: 1.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: ReadTheDocs.org theme for Sphinx
|
Summary: ReadTheDocs.org theme for Sphinx
|
||||||
License: Apache-2.0 AND MIT AND OFL-1.1
|
License: Apache-2.0 AND MIT AND OFL-1.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/snide/sphinx_rtd_theme/
|
URL: https://github.com/snide/sphinx_rtd_theme/
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
||||||
Patch0: sphinx41.patch
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -42,7 +41,7 @@ Requires: python-Sphinx
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
BuildRequires: %{python_module docutils < 0.17}
|
BuildRequires: %{python_module docutils < 0.18}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module readthedocs-sphinx-ext}
|
BuildRequires: %{python_module readthedocs-sphinx-ext}
|
||||||
%endif
|
%endif
|
||||||
@ -55,7 +54,6 @@ if you're just trying to use it on your project outside of that site.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sphinx_rtd_theme-%{version}
|
%setup -q -n sphinx_rtd_theme-%{version}
|
||||||
%patch0 -p1
|
|
||||||
dos2unix OFL-License.txt
|
dos2unix OFL-License.txt
|
||||||
|
|
||||||
# We cannot build the Javascript from source at this time, due to many missing
|
# We cannot build the Javascript from source at this time, due to many missing
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
Index: sphinx_rtd_theme-0.5.2/tests/test_builders.py
|
|
||||||
===================================================================
|
|
||||||
--- sphinx_rtd_theme-0.5.2.orig/tests/test_builders.py
|
|
||||||
+++ sphinx_rtd_theme-0.5.2/tests/test_builders.py
|
|
||||||
@@ -3,7 +3,11 @@ import os
|
|
||||||
import pytest
|
|
||||||
import sphinx
|
|
||||||
from sphinx import addnodes
|
|
||||||
-from sphinx.builders.html import SingleFileHTMLBuilder, DirectoryHTMLBuilder
|
|
||||||
+try:
|
|
||||||
+ from sphinx.builders.html import SingleFileHTMLBuilder, DirectoryHTMLBuilder
|
|
||||||
+except ImportError:
|
|
||||||
+ from sphinx.builders.singlehtml import SingleFileHTMLBuilder
|
|
||||||
+ from sphinx.builders.dirhtml import DirectoryHTMLBuilder
|
|
||||||
|
|
||||||
from .util import build_all
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:32bd3b5d13dc8186d7a42fc816a23d32e83a4827d7d9882948e7b837c232da5a
|
|
||||||
size 7606638
|
|
3
sphinx_rtd_theme-1.0.0.tar.gz
Normal file
3
sphinx_rtd_theme-1.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c
|
||||||
|
size 2780623
|
Loading…
Reference in New Issue
Block a user