diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-05-30 21:31:07 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-05-31 08:59:52 +0200 |
commit | 4490f144069d8cb4c754c5b87efc58c0e06a10ec (patch) | |
tree | 48f52539d1c0bfbc62a57b9c9b2a9c24e948591f /source/d/gyp/gyp-python38.patch | |
parent | f21d902e060d553644989b720ecbdd1b6210f212 (diff) | |
download | current-4490f144069d8cb4c754c5b87efc58c0e06a10ec.tar.gz current-4490f144069d8cb4c754c5b87efc58c0e06a10ec.tar.xz |
Sat May 30 21:31:07 UTC 202020200530213107
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.
Diffstat (limited to 'source/d/gyp/gyp-python38.patch')
-rw-r--r-- | source/d/gyp/gyp-python38.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/d/gyp/gyp-python38.patch b/source/d/gyp/gyp-python38.patch new file mode 100644 index 000000000..36f1da6a8 --- /dev/null +++ b/source/d/gyp/gyp-python38.patch @@ -0,0 +1,19 @@ +commit 7b0a3fd85beb67c990da3fb1b690444a27a6ee42 +Author: Tom Hughes <tom@compton.nu> +Date: Fri Aug 23 09:33:14 2019 +0100 + + Fix python 3.8 warnings + +diff --git a/pylib/gyp/input.py b/pylib/gyp/input.py +index 42c279cf..013231dc 100644 +--- a/pylib/gyp/input.py ++++ b/pylib/gyp/input.py +@@ -1181,7 +1181,7 @@ def LoadVariablesFromVariablesDict(variables, the_dict, the_dict_key): + if variable_name in variables: + # If the variable is already set, don't set it. + continue +- if the_dict_key is 'variables' and variable_name in the_dict: ++ if the_dict_key == 'variables' and variable_name in the_dict: + # If the variable is set without a % in the_dict, and the_dict is a + # variables dict (making |variables| a varaibles sub-dict of a + # variables dict), use the_dict's definition. |