SOURCES: python-ReportLab-setup.patch (NEW) - block search rl_acce...
sls
sls at pld-linux.org
Fri Nov 16 15:24:33 CET 2007
Author: sls Date: Fri Nov 16 14:24:33 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- block search rl_accel files ("--rl_accel=No" doesn't work properly)
---- Files affected:
SOURCES:
python-ReportLab-setup.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/python-ReportLab-setup.patch
diff -u /dev/null SOURCES/python-ReportLab-setup.patch:1.1
--- /dev/null Fri Nov 16 15:24:33 2007
+++ SOURCES/python-ReportLab-setup.patch Fri Nov 16 15:24:27 2007
@@ -0,0 +1,51 @@
+--- reportlab_2_1/reportlab/setup.py.orig 2007-11-16 15:12:41.267933785 +0100
++++ reportlab_2_1/reportlab/setup.py 2007-11-16 15:13:29.260612201 +0100
+@@ -195,47 +195,9 @@
+ tra = tra in _yesV
+
+ if tra:
+- RL_ACCEL = _find_rl_accel()
+ LIBS = []
+ DATA_FILES = {}
+- if not RL_ACCEL:
+- EXT_MODULES = []
+- print '***************************************************'
+- print '*No rl_accel code found, you can obtain it at *'
+- print '*http://www.reportlab.org/downloads.html#_rl_accel*'
+- print '***************************************************'
+- else:
+- print '################################################'
+- print '#Attempting install of _rl_accel, sgmlop & pyHnj'
+- print '#extensions from',RL_ACCEL
+- print '################################################'
+- fn = pjoin(RL_ACCEL,'lib','hyphen.mashed')
+- if isfile(fn): DATA_FILES[pjoin(package_path, 'lib')] = [fn]
+- EXT_MODULES = [
+- Extension( '_rl_accel',
+- [pjoin(RL_ACCEL,'_rl_accel.c')],
+- include_dirs=[],
+- define_macros=[],
+- library_dirs=[],
+- libraries=LIBS, # libraries to link against
+- ),
+- Extension( 'sgmlop',
+- [pjoin(RL_ACCEL,'sgmlop.c')],
+- include_dirs=[],
+- define_macros=[],
+- library_dirs=[],
+- libraries=LIBS, # libraries to link against
+- ),
+- Extension( 'pyHnj',
+- [pjoin(RL_ACCEL,'pyHnjmodule.c'),
+- pjoin(RL_ACCEL,'hyphen.c'),
+- pjoin(RL_ACCEL,'hnjalloc.c')],
+- include_dirs=[],
+- define_macros=[],
+- library_dirs=[],
+- libraries=LIBS, # libraries to link against
+- ),
+- ]
++ EXT_MODULES = []
+ for fn in _FILES:
+ fn = os.sep.join(fn.split('/'))
+ if isfile(fn):
================================================================
More information about the pld-cvs-commit
mailing list