- update to 1.0.0:
* compatibility with docutils 0.17 * sphinx 4.1+ support - drop sphinx41.patch: upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=28
This commit is contained in:
parent
b6b083745a
commit
46b768b53e
@ -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>
|
||||
|
||||
|
@ -26,14 +26,13 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-sphinx_rtd_theme%{psuffix}
|
||||
Version: 0.5.2
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: ReadTheDocs.org theme for Sphinx
|
||||
License: Apache-2.0 AND MIT AND OFL-1.1
|
||||
Group: Development/Languages/Python
|
||||
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
|
||||
Patch0: sphinx41.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
@ -42,7 +41,7 @@ Requires: python-Sphinx
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module docutils < 0.17}
|
||||
BuildRequires: %{python_module docutils < 0.18}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module readthedocs-sphinx-ext}
|
||||
%endif
|
||||
@ -55,7 +54,6 @@ if you're just trying to use it on your project outside of that site.
|
||||
|
||||
%prep
|
||||
%setup -q -n sphinx_rtd_theme-%{version}
|
||||
%patch0 -p1
|
||||
dos2unix OFL-License.txt
|
||||
|
||||
# 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