Files
MINGW-packages/mingw-w64-python-reportlab/0001-Do-not-specialcase-quote-LIBART_VERSION-on-Windows.patch
Ray Donnelly 27b1a45291 reportlab: Do not specialcase quoting of LIBART_VERSION
This is something we haved patched in distutils instead (as should have been done
many years ago by CPython)
2017-06-21 13:46:10 +01:00

15 lines
761 B
Diff

diff -urN reportlab-3.4.0.orig/setup.py reportlab-3.4.0/setup.py
--- reportlab-3.4.0.orig/setup.py 2017-06-21 05:59:58.000000000 -0500
+++ reportlab-3.4.0/setup.py 2017-06-21 06:00:17.000000000 -0500
@@ -404,7 +404,7 @@
if len(l)>1 and l[0].strip() in K:
D[l[0].strip()] = l[1].strip()
if len(D)==3: break
- return (sys.platform == 'win32' and '\\"%s\\"' or '"%s"') % '.'.join(map(lambda k,D=D: D.get(k,'?'),K))
+ return (sys.platform == 'win32' and '"%s"' or '"%s"') % '.'.join(map(lambda k,D=D: D.get(k,'?'),K))
LIBART_VERSION = libart_version()
infoline('will use package libart %s' % LIBART_VERSION.replace('"',''))
('"',''))