Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinx_rtd_theme for
openSUSE:Factory checked in at 2021-07-16 22:12:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinx_rtd_theme (Old)
and /work/SRC/openSUSE:Factory/.python-sphinx_rtd_theme.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx_rtd_theme"
Fri Jul 16 22:12:39 2021 rev:13 rq:906027 version:0.5.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinx_rtd_theme/python-sphinx_rtd_theme.changes
2021-04-26 16:38:20.961953862 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinx_rtd_theme.new.2632/python-sphinx_rtd_theme.changes
2021-07-16 22:13:10.130649301 +0200
@@ -1,0 +2,5 @@
+Tue Jul 13 06:56:38 UTC 2021 - Mark??ta Machov?? <[email protected]>
+
+- Add sphinx41.patch to fix build with Sphinx 4.1.0
+
+-------------------------------------------------------------------
New:
----
sphinx41.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinx_rtd_theme.spec ++++++
--- /var/tmp/diff_new_pack.4G49k3/_old 2021-07-16 22:13:10.682645400 +0200
+++ /var/tmp/diff_new_pack.4G49k3/_new 2021-07-16 22:13:10.686645372 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-sphinx_rtd_theme-test
+# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@@ -33,6 +33,7 @@
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
@@ -54,6 +55,7 @@
%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
++++++ sphinx41.patch ++++++
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