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 2022-04-17 23:50:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloud-sptheme (Old)
and /work/SRC/openSUSE:Factory/.python-cloud-sptheme.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cloud-sptheme"
Sun Apr 17 23:50:18 2022 rev:5 rq:970429 version:1.10.1.post20200504175005
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-cloud-sptheme/python-cloud-sptheme.changes
2022-01-27 23:17:30.942750669 +0100
+++
/work/SRC/openSUSE:Factory/.python-cloud-sptheme.new.1941/python-cloud-sptheme.changes
2022-04-17 23:51:55.274478166 +0200
@@ -1,0 +2,5 @@
+Sat Apr 9 09:31:50 UTC 2022 - Sebastian Wagner <[email protected]>
+
+- add 0002-patch-jinja-markup-deprecation.patch to fix compatibility with
Jinja2 3.1
+
+-------------------------------------------------------------------
New:
----
0002-patch-jinja-markup-deprecation.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cloud-sptheme.spec ++++++
--- /var/tmp/diff_new_pack.eWIDjp/_old 2022-04-17 23:51:55.638478665 +0200
+++ /var/tmp/diff_new_pack.eWIDjp/_new 2022-04-17 23:51:55.638478665 +0200
@@ -27,6 +27,9 @@
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
+# PATCH-FIX-UPSTREAM 0002-patch-jinja-markup-deprecation.patch --
https://foss.heptapod.net/doc-utils/cloud_sptheme/-/issues/47
https://github.com/conda-forge/cloud_sptheme-feedstock/pull/12
+Patch1:
https://raw.githubusercontent.com/melund/cloud_sptheme-feedstock/d09095170b329b4f6502479662b9114717a6a230/recipe/0002-patch-jinja-markup-deprecation.patch
+BuildRequires: %{python_module docutils}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -55,6 +58,7 @@
%prep
%setup -q -n cloud_sptheme-%{version}
%patch0 -p1
+%patch1 -p1
%build
%python_build
++++++ 0002-patch-jinja-markup-deprecation.patch ++++++
>From d636ed9e2bdbcfaa6aac141b4c36bae3cb1543ef Mon Sep 17 00:00:00 2001
From: Morten Lund <[email protected]>
Date: Mon, 28 Mar 2022 11:05:18 +0200
Subject: [PATCH] fix markup import
---
cloud_sptheme/ext/index_styling.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cloud_sptheme/ext/index_styling.py
b/cloud_sptheme/ext/index_styling.py
index 8fd8e6d..68c9239 100644
--- a/cloud_sptheme/ext/index_styling.py
+++ b/cloud_sptheme/ext/index_styling.py
@@ -1,7 +1,7 @@
"""cloud_sptheme.ext.index_styling - improves css styling for genindex"""
import logging; log = logging.getLogger(__name__)
import re
-from jinja2 import Markup as literal, escape
+from markupsafe import Markup as literal, escape
from cloud_sptheme import __version__
prefix = r"^(?P<name>.*)\("
--
2.34.1.windows.1