Package: minieigen / 0.50.3+dfsg1-13

50_fix_sphinx.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Fix compilation with sphinx 4.2.0
Author: Anton Gladky <gladk@debian.org>
Bug-Debian: https://bugs.debian.org/997061
Bug-Debian: https://bugs.debian.org/997422 
Last-Update: 2021-11-08

Index: minieigen/doc/source/conf.py
===================================================================
--- minieigen.orig/doc/source/conf.py
+++ minieigen/doc/source/conf.py
@@ -24,7 +24,7 @@ import sys, os, re, glob
 for p in ('../../build/lib.*','../../debian/python-minieigen/usr/lib/python*/dist-packages','../../debian/python3-minieigen/usr/lib/python*/dist-packages'):
 	pp=glob.glob(os.path.abspath(p))
 	if pp: sys.path.insert(0,pp[0])
-print sys.path
+print (sys.path)
 
 
 def isBoostFunc(what,obj):
@@ -44,7 +44,7 @@ def fixDocstring(app,what,name,obj,optio
 			lines[i]=l2[i] if i<len(l2) else ''
 
 def fixSignature(app, what, name, obj, options, signature, return_annotation):
-	print what,obj
+	print (what,obj)
 	if what in ('attribute','class'): return signature,None
 	elif isBoostFunc(what,obj):
 		sig=boostFuncSignature(name,obj)[0] or ' (wrapped c++ function)'