From 46b768b53e639cfe4ba7a597f36c09e0f2d3cebc92275216408c8580d177671c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Nov 2021 15:48:16 +0000 Subject: [PATCH] - 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 --- python-sphinx_rtd_theme.changes | 8 ++++++++ python-sphinx_rtd_theme.spec | 6 ++---- sphinx41.patch | 17 ----------------- sphinx_rtd_theme-0.5.2.tar.gz | 3 --- sphinx_rtd_theme-1.0.0.tar.gz | 3 +++ 5 files changed, 13 insertions(+), 24 deletions(-) delete mode 100644 sphinx41.patch delete mode 100644 sphinx_rtd_theme-0.5.2.tar.gz create mode 100644 sphinx_rtd_theme-1.0.0.tar.gz diff --git a/python-sphinx_rtd_theme.changes b/python-sphinx_rtd_theme.changes index e31fc99..7b9e8d0 100644 --- a/python-sphinx_rtd_theme.changes +++ b/python-sphinx_rtd_theme.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 8 15:47:35 UTC 2021 - Dirk Müller + +- 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á diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index d25985c..0203cf0 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -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 diff --git a/sphinx41.patch b/sphinx41.patch deleted file mode 100644 index 55b09ce..0000000 --- a/sphinx41.patch +++ /dev/null @@ -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 - diff --git a/sphinx_rtd_theme-0.5.2.tar.gz b/sphinx_rtd_theme-0.5.2.tar.gz deleted file mode 100644 index 35da663..0000000 --- a/sphinx_rtd_theme-0.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32bd3b5d13dc8186d7a42fc816a23d32e83a4827d7d9882948e7b837c232da5a -size 7606638 diff --git a/sphinx_rtd_theme-1.0.0.tar.gz b/sphinx_rtd_theme-1.0.0.tar.gz new file mode 100644 index 0000000..20ac8dd --- /dev/null +++ b/sphinx_rtd_theme-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eec6d497e4c2195fa0e8b2016b337532b8a699a68bcb22a512870e16925c6a5c +size 2780623