diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-11 20:41:31 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-10-14 07:16:58 -0700 |
| commit | e8214b76e461f218e1cea278622ec90c232e25c3 (patch) | |
| tree | f2f3b776ba2c2db76ff5ef62df9aa078ca12a8de | |
| parent | 01d24acb40be0ef2630b78a2907f76f0aa48c9d7 (diff) | |
| download | meta-openembedded-e8214b76e461f218e1cea278622ec90c232e25c3.tar.gz | |
nodejs: add a python 3.10 compatibility patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs/0001-jinja-tests.py-add-py-3.10-fix.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-jinja-tests.py-add-py-3.10-fix.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-jinja-tests.py-add-py-3.10-fix.patch new file mode 100644 index 0000000000..b2a2da959d --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-jinja-tests.py-add-py-3.10-fix.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From e1d838089cd461d9efcf4d29d9f18f65994d2d6b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Sun, 3 Oct 2021 22:48:39 +0200 | ||
| 4 | Subject: [PATCH] jinja/tests.py: add py 3.10 fix | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 8 | --- | ||
| 9 | deps/v8/third_party/jinja2/tests.py | 2 +- | ||
| 10 | tools/inspector_protocol/jinja2/tests.py | 2 +- | ||
| 11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/deps/v8/third_party/jinja2/tests.py b/deps/v8/third_party/jinja2/tests.py | ||
| 14 | index 0adc3d4..b14f85f 100644 | ||
| 15 | --- a/deps/v8/third_party/jinja2/tests.py | ||
| 16 | +++ b/deps/v8/third_party/jinja2/tests.py | ||
| 17 | @@ -10,7 +10,7 @@ | ||
| 18 | """ | ||
| 19 | import operator | ||
| 20 | import re | ||
| 21 | -from collections import Mapping | ||
| 22 | +from collections.abc import Mapping | ||
| 23 | from jinja2.runtime import Undefined | ||
| 24 | from jinja2._compat import text_type, string_types, integer_types | ||
| 25 | import decimal | ||
| 26 | diff --git a/tools/inspector_protocol/jinja2/tests.py b/tools/inspector_protocol/jinja2/tests.py | ||
| 27 | index 0adc3d4..b14f85f 100644 | ||
| 28 | --- a/tools/inspector_protocol/jinja2/tests.py | ||
| 29 | +++ b/tools/inspector_protocol/jinja2/tests.py | ||
| 30 | @@ -10,7 +10,7 @@ | ||
| 31 | """ | ||
| 32 | import operator | ||
| 33 | import re | ||
| 34 | -from collections import Mapping | ||
| 35 | +from collections.abc import Mapping | ||
| 36 | from jinja2.runtime import Undefined | ||
| 37 | from jinja2._compat import text_type, string_types, integer_types | ||
| 38 | import decimal | ||
| 39 | -- | ||
| 40 | 2.20.1 | ||
| 41 | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb index e443987216..a64288d8ab 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_14.17.1.bb | |||
| @@ -22,6 +22,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ | |||
| 22 | file://big-endian.patch \ | 22 | file://big-endian.patch \ |
| 23 | file://mips-warnings.patch \ | 23 | file://mips-warnings.patch \ |
| 24 | file://mips-less-memory.patch \ | 24 | file://mips-less-memory.patch \ |
| 25 | file://0001-jinja-tests.py-add-py-3.10-fix.patch \ | ||
| 25 | " | 26 | " |
| 26 | SRC_URI:append:class-target = " \ | 27 | SRC_URI:append:class-target = " \ |
| 27 | file://0002-Using-native-binaries.patch \ | 28 | file://0002-Using-native-binaries.patch \ |
