summarylogtreecommitdiffstats
path: root/xrange.patch
diff options
context:
space:
mode:
authorVladimir Gorbunov2018-08-05 13:20:49 +0300
committerVladimir Gorbunov2018-08-05 13:20:49 +0300
commit31f22ade7ee6b1b22c18e3dec9ca0388efdacbb2 (patch)
treefe943069017e1221dc2d855119f05f60a3297320 /xrange.patch
parent10ff86a801e3d1ac065fc85c39daed8eabc33e23 (diff)
downloadaur-31f22ade7ee6b1b22c18e3dec9ca0388efdacbb2.tar.gz
Update to 0.8.1, add python 3 patch
Diffstat (limited to 'xrange.patch')
-rw-r--r--xrange.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/xrange.patch b/xrange.patch
new file mode 100644
index 000000000000..0cdfa49e0952
--- /dev/null
+++ b/xrange.patch
@@ -0,0 +1,26 @@
+diff -ura package.old/svglib/svglib.py package.new/svglib/svglib.py
+--- package.old/svglib/svglib.py 2018-08-05 13:06:04.914558175 +0300
++++ package.new/svglib/svglib.py 2018-08-05 13:06:38.733596856 +0300
+@@ -744,7 +744,7 @@
+ subpath_start = []
+ lastop = ''
+
+- for i in xrange(0, len(normPath), 2):
++ for i in range(0, len(normPath), 2):
+ op, nums = normPath[i:i+2]
+
+ if op in ('m', 'M') and i > 0 and path.operators[-1] != _CLOSEPATH:
+Только в package.new/svglib: svglib.py~
+diff -ura package.old/svglib/utils.py package.new/svglib/utils.py
+--- package.old/svglib/utils.py 2018-08-05 13:06:04.914558175 +0300
++++ package.new/svglib/utils.py 2018-08-05 13:06:49.629953774 +0300
+@@ -196,7 +196,7 @@
+
+ c1 = cos(theta1)
+ s1 = sin(theta1)
+- for i in xrange(nfrag):
++ for i in range(nfrag):
+ c0 = c1
+ s0 = s1
+ theta1 = start_rad + i * frag_rad
+Только в package.new/svglib: utils.py~