summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-05-13 23:21:26 +0200
committerMarek Szuba <marecki@gentoo.org>2021-05-13 23:35:58 +0200
commitc1bc93122e06423e545ceee2377c4beaf8de970b (patch)
tree0a605b635603373de8ded9170cf902880f433e54 /net-libs/nodejs/files
parentsys-apps/gentoo-functions: Stabilize 0.14 ppc, #790038 (diff)
downloadgentoo-c1bc93122e06423e545ceee2377c4beaf8de970b.tar.gz
gentoo-c1bc93122e06423e545ceee2377c4beaf8de970b.tar.bz2
gentoo-c1bc93122e06423e545ceee2377c4beaf8de970b.zip
net-libs/nodejs: support python3_10
The version of jinja bundled with v8 (in all versions currently in the tree) still imports ABCs from collections rather than collections.abc, then again with that patched everything seems to be in order. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-libs/nodejs/files')
-rw-r--r--net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch b/net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch
new file mode 100644
index 000000000000..45be8cb07f8d
--- /dev/null
+++ b/net-libs/nodejs/files/nodejs-12.22.1-jinja_collections_abc.patch
@@ -0,0 +1,11 @@
+--- a/deps/v8/third_party/jinja2/tests.py
++++ b/deps/v8/third_party/jinja2/tests.py
+@@ -10,7 +10,7 @@
+ """
+ import operator
+ import re
+-from collections import Mapping
++from collections.abc import Mapping
+ from jinja2.runtime import Undefined
+ from jinja2._compat import text_type, string_types, integer_types
+ import decimal