commit 972dabfd6f7008585ba4c1bc3a13173263deadc5
Author: Jan Palus <[email protected]>
Date:   Sun Feb 28 23:15:46 2021 +0100

    doc template patch from debian; rel 3

 0002-Use-non-deprecated-template.patch | 23 +++++++++++++++++++++++
 python-urwid.spec                      |  4 +++-
 2 files changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/python-urwid.spec b/python-urwid.spec
index 91a0a15..c9a2fe3 100644
--- a/python-urwid.spec
+++ b/python-urwid.spec
@@ -11,12 +11,13 @@ Summary(hu.UTF-8):  Urwid egy konzolos felhasználói felület 
könyvtár Pythonh
 Summary(pl.UTF-8):     Urwid - biblioteka konsolowego interfejsu użytkownika 
dla Pythona 2
 Name:          python-%{module}
 Version:       2.1.2
-Release:       2
+Release:       3
 License:       LGPL v2.1+
 Group:         Development/Languages/Python
 #Source0Download: http://urwid.org/
 Source0:       
https://pypi.python.org/packages/source/u/urwid/%{module}-%{version}.tar.gz
 # Source0-md5: f7f4e6bed9ba38965dbd619520f39287
+Patch0:                0002-Use-non-deprecated-template.patch
 URL:           http://urwid.org/
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
@@ -72,6 +73,7 @@ Dokumentacja API modułu urwid.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/0002-Use-non-deprecated-template.patch 
b/0002-Use-non-deprecated-template.patch
new file mode 100644
index 0000000..f308f38
--- /dev/null
+++ b/0002-Use-non-deprecated-template.patch
@@ -0,0 +1,23 @@
+From: Jochen Sprickerhof <[email protected]>
+Date: Sun, 9 Aug 2020 17:04:59 +0200
+Subject: Use non deprecated template
+
+defindex.html was deprecated a long time ago, see
+
+https://github.com/python/cpython/commit/7970cd483346dfd7723da214fb27399ecc574095
+
+for example.
+---
+ docs/tools/templates/indexcontent.html | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/docs/tools/templates/indexcontent.html 
b/docs/tools/templates/indexcontent.html
+index b7d2ca6..bd50389 100644
+--- a/docs/tools/templates/indexcontent.html
++++ b/docs/tools/templates/indexcontent.html
+@@ -1,4 +1,4 @@
+-{% extends "!defindex.html" %}
++{% extends "layout.html" %}
+ {% block body %}
+ <h1>Urwid{% if 'dev' in release %} development version{% endif %}</h1>
+ <div style="float: left; width: 500px;">
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-urwid.git/commitdiff/972dabfd6f7008585ba4c1bc3a13173263deadc5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to