summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Mas <lolando@debian.org>2021-09-28 19:45:25 +0200
committerRoland Mas <lolando@debian.org>2021-09-28 19:46:22 +0200
commita298669bed899f913d7eae9b24d2210c4b373e8a (patch)
treecc4b0b1478a36726191bdfd477053eae650cc73e
parentfa467920bcf96759ddb11b26f30e7d7a06b65d28 (diff)
Improve Python3 compatibility
-rw-r--r--debian/patches/0003-Improve-Python3-compatibility.patch21
-rw-r--r--debian/patches/series1
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0003-Improve-Python3-compatibility.patch b/debian/patches/0003-Improve-Python3-compatibility.patch
new file mode 100644
index 0000000..4379a2b
--- /dev/null
+++ b/debian/patches/0003-Improve-Python3-compatibility.patch
@@ -0,0 +1,21 @@
+From: Roland Mas <lolando@debian.org>
+Date: Tue, 28 Sep 2021 19:35:05 +0200
+Subject: Improve Python3 compatibility
+
+---
+ doc/conf.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/conf.py b/doc/conf.py
+index e50affe..5ea3c2f 100644
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -59,7 +59,7 @@ try:
+ except ImportError:
+ release = '3.X.Y'
+
+-print 'Building Docs for EPICS version %s / Python version %s ' % (release, sys.version)
++print ('Building Docs for EPICS version %s / Python version %s ' % (release, sys.version))
+
+ # The language for content autogenerated by Sphinx. Refer to documentation
+ # for a list of supported languages.
diff --git a/debian/patches/series b/debian/patches/series
index 219d812..3b94c84 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-_find_lib.patch
0002-Disable-clibs-package.patch
+0003-Improve-Python3-compatibility.patch