mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
4490f14406
ap/mpg123-1.26.1-x86_64-1.txz: Upgraded. d/gyp-20200512_caa60026-x86_64-1.txz: Added. l/Mako-1.1.3-x86_64-1.txz: Upgraded. l/imagemagick-7.0.10_15-x86_64-1.txz: Upgraded. l/librsvg-2.48.5-x86_64-1.txz: Upgraded. l/mozilla-nss-3.53-x86_64-1.txz: Upgraded. l/vte-0.60.3-x86_64-1.txz: Upgraded. n/libgpg-error-1.38-x86_64-1.txz: Upgraded. n/libqmi-1.24.14-x86_64-1.txz: Upgraded. extra/pure-alsa-system/mpg123-1.26.1-x86_64-1_alsa.txz: Upgraded.
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
--- a/pylib/gyp/generator/cmake.py
|
|
+++ b/pylib/gyp/generator/cmake.py
|
|
@@ -40,9 +40,9 @@
|
|
|
|
try:
|
|
# maketrans moved to str in python3.
|
|
+ _maketrans = str.maketrans
|
|
+except NameError:
|
|
_maketrans = string.maketrans
|
|
-except NameError:
|
|
- _maketrans = str.maketrans
|
|
|
|
generator_default_variables = {
|
|
'EXECUTABLE_PREFIX': '',
|
|
@@ -281,7 +281,7 @@
|
|
dirs = set(dir for dir in (os.path.dirname(o) for o in outputs) if dir)
|
|
|
|
if int(action.get('process_outputs_as_sources', False)):
|
|
- extra_sources.extend(zip(cmake_outputs, outputs))
|
|
+ extra_sources.extend(list(zip(cmake_outputs, outputs)))
|
|
|
|
# add_custom_command
|
|
output.write('add_custom_command(OUTPUT ')
|
|
@@ -987,7 +987,7 @@
|
|
|
|
# XCode settings
|
|
xcode_settings = config.get('xcode_settings', {})
|
|
- for xcode_setting, xcode_value in xcode_settings.viewitems():
|
|
+ for xcode_setting, xcode_value in xcode_settings.items():
|
|
SetTargetProperty(output, cmake_target_name,
|
|
"XCODE_ATTRIBUTE_%s" % xcode_setting, xcode_value,
|
|
'' if isinstance(xcode_value, str) else ' ')
|
|
|