diff options
| author | William Fleurant <meshnet@protonmail.com> | 2023-05-21 03:33:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-21 03:33:54 +0200 |
| commit | e8856b93da72f9d1a8490a59cdba5ecfbe76c84e (patch) | |
| tree | c08228d0fd426cd1e24aea7056ad6528bba74cb0 /cjdns | |
| parent | c9a8f2d03226191111b95890302cb7e1ff18c11e (diff) | |
cjdns: patch of gyp imports support python3.10 (#974)
Diffstat (limited to 'cjdns')
| -rw-r--r-- | cjdns/patches/040-gyp-python_310.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cjdns/patches/040-gyp-python_310.patch b/cjdns/patches/040-gyp-python_310.patch new file mode 100644 index 0000000..abff213 --- /dev/null +++ b/cjdns/patches/040-gyp-python_310.patch @@ -0,0 +1,15 @@ +--- a/node_build/dependencies/libuv/build/gyp/pylib/gyp/common.py ++++ b/node_build/dependencies/libuv/build/gyp/pylib/gyp/common.py +@@ -4,7 +4,11 @@ + + from __future__ import with_statement + +-import collections ++try: ++ # Python 3.10 ++ from six.moves import collections_abc as collections ++except ImportError: ++ import collections + import errno + import filecmp + import os.path |
