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-python39.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-python39.patch')
-rw-r--r-- | source/d/gyp/gyp-python39.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/source/d/gyp/gyp-python39.patch b/source/d/gyp/gyp-python39.patch new file mode 100644 index 000000000..cb5f2e1b2 --- /dev/null +++ b/source/d/gyp/gyp-python39.patch @@ -0,0 +1,55 @@ +diff --git a/pylib/gyp/common.py b/pylib/gyp/common.py +index b268d229..03c99cab 100644 +--- a/pylib/gyp/common.py ++++ b/pylib/gyp/common.py +@@ -4,7 +4,6 @@ + + from __future__ import with_statement + +-import collections + import errno + import filecmp + import os.path +@@ -12,6 +11,11 @@ import re + import tempfile + import sys + ++try: ++ from collections.abc import MutableSet ++except ImportError: ++ from collections import MutableSet ++ + + # A minimal memoizing decorator. It'll blow up if the args aren't immutable, + # among other "problems". +@@ -494,7 +498,7 @@ def uniquer(seq, idfun=None): + + + # Based on http://code.activestate.com/recipes/576694/. +-class OrderedSet(collections.MutableSet): ++class OrderedSet(MutableSet): + def __init__(self, iterable=None): + self.end = end = [] + end += [None, end, end] # sentinel node for doubly linked list +diff --git a/pylib/gyp/generator/msvs.py b/pylib/gyp/generator/msvs.py +index 843e7067..327fe8d2 100644 +--- a/pylib/gyp/generator/msvs.py ++++ b/pylib/gyp/generator/msvs.py +@@ -4,7 +4,7 @@ + + from __future__ import print_function + +-import collections ++from collections import OrderedDict + import copy + import ntpath + import os +@@ -195,7 +195,7 @@ def _ConvertSourcesToFilterHierarchy(sources, prefix=None, excluded=None, + if not prefix: prefix = [] + result = [] + excluded_result = [] +- folders = collections.OrderedDict() ++ folders = OrderedDict() + # Gather files into the final result, excluded, or folders. + for s in sources: + if len(s) == 1: |