Subversion Repositories KardasA Overlay

Compare Revisions

Ignore whitespace Rev 73 → Rev 74

/dev-python/4suite/files/4suite-1.0.2-amd64_python2.5.patch
0,0 → 1,11
--- Ft/Lib/DistExt/BuildExt.py.orig 2006-12-29 00:09:54.000000000 +0100
+++ Ft/Lib/DistExt/BuildExt.py 2006-12-29 00:10:37.000000000 +0100
@@ -61,6 +61,8 @@
if (sys.platform.startswith('linux') and
sysconfig.get_config_var('Py_ENABLE_SHARED')):
libpl, ldlibrary = sysconfig.get_config_vars('LIBPL', 'LDLIBRARY')
+ if libpl not in self.library_dirs:
+ libpl = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3], 'config')
if libpl in self.library_dirs:
if not os.path.exists(os.path.join(libpl, ldlibrary)):
self.library_dirs.remove(libpl)
/dev-python/4suite/files/4suite-1.0.2-config.patch
0,0 → 1,14
--- Ft/Lib/DistExt/InstallConfig.py.orig 2008-04-17 13:09:50.000000000 -0700
+++ Ft/Lib/DistExt/InstallConfig.py 2008-04-17 13:12:01.000000000 -0700
@@ -106,7 +106,10 @@
lines = []
for name in CONFIG_KEYS:
value = install_config[CONFIG_MAPPING.get(name, name)]
- lines.append('%-*s = %r' % (maxlen, name.upper(), value))
+ value = '%r' % value
+ if not value.startswith("'/") and name != 'resourcebundle':
+ value = "'/" + value[1:]
+ lines.append('%-*s = %s' % (maxlen, name.upper(), value))
install_config = '\n '.join(lines)
lines = []