Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cloud-sptheme for
openSUSE:Factory checked in at 2021-05-23 00:06:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloud-sptheme (Old)
and /work/SRC/openSUSE:Factory/.python-cloud-sptheme.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cloud-sptheme"
Sun May 23 00:06:20 2021 rev:3 rq:894956 version:1.10.1.post20200504175005
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-cloud-sptheme/python-cloud-sptheme.changes
2020-09-14 12:31:23.061215580 +0200
+++
/work/SRC/openSUSE:Factory/.python-cloud-sptheme.new.2988/python-cloud-sptheme.changes
2021-05-23 00:06:25.682529785 +0200
@@ -1,0 +2,5 @@
+Sat May 22 11:48:03 UTC 2021 - Sebastian Wagner <[email protected]>
+
+- add patch sphinx-4-compat.patch to fix compatibility with sphinx 4
+
+-------------------------------------------------------------------
New:
----
sphinx-4-compat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cloud-sptheme.spec ++++++
--- /var/tmp/diff_new_pack.ng0lj8/_old 2021-05-23 00:06:26.142527338 +0200
+++ /var/tmp/diff_new_pack.ng0lj8/_new 2021-05-23 00:06:26.142527338 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cloud-sptheme
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
Group: Development/Languages/Python
URL: https://cloud-sptheme.readthedocs.io
Source:
https://files.pythonhosted.org/packages/source/c/cloud_sptheme/cloud_sptheme-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM sphinx-4-compat.patch --
https://foss.heptapod.net/doc-utils/cloud_sptheme/-/issues/45
+Patch0: sphinx-4-compat.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -49,6 +51,7 @@
%prep
%setup -q -n cloud_sptheme-%{version}
+%patch0 -p1
%build
%python_build
++++++ sphinx-4-compat.patch ++++++
diff -r fd3bb2fd06b9 -r be9ef4d9a35a cloud_sptheme/ext/escaped_samp_literals.py
--- a/cloud_sptheme/ext/escaped_samp_literals.py Mon May 04 13:49:45
2020 -0400
+++ b/cloud_sptheme/ext/escaped_samp_literals.py Tue May 11 10:29:38
2021 +0200
@@ -84,12 +84,12 @@
# sphinx entry point
#=============================================================================
def setup(app):
- # register our handler to overrride sphinx.roles.emph_literal_role
+ # register our handler to overrride sphinx.roles.EmphasizedLiteral
from docutils.parsers.rst import roles
import sphinx.roles as mod
names = [
key for key,value in mod.specific_docroles.items()
- if value is mod.emph_literal_role
+ if value is mod.EmphasizedLiteral
]
for name in names:
roles.register_local_role(name, emph_literal_role)