For complete list of changes since 15.x, please see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.0.0 - Import staging 16.x OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs16?expand=0&rev=1
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Index: node-v16.0.0/configure
|
|
===================================================================
|
|
--- node-v16.0.0.orig/configure
|
|
+++ node-v16.0.0/configure
|
|
@@ -18,7 +18,7 @@ import sys
|
|
from distutils.spawn import find_executable
|
|
|
|
print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
|
|
-acceptable_pythons = ((3, 9), (3, 8), (3, 7), (3, 6))
|
|
+acceptable_pythons = ((3, 9), (3, 8), (3, 7), (3, 6), (3, 4))
|
|
if sys.version_info[:2] in acceptable_pythons:
|
|
import configure
|
|
else:
|
|
Index: node-v16.0.0/deps/npm/node_modules/node-gyp/lib/find-python.js
|
|
===================================================================
|
|
--- node-v16.0.0.orig/deps/npm/node_modules/node-gyp/lib/find-python.js
|
|
+++ node-v16.0.0/deps/npm/node_modules/node-gyp/lib/find-python.js
|
|
@@ -18,7 +18,7 @@ PythonFinder.prototype = {
|
|
log: logWithPrefix(log, 'find Python'),
|
|
argsExecutable: ['-c', 'import sys; print(sys.executable);'],
|
|
argsVersion: ['-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);'],
|
|
- semverRange: '2.7.x || >=3.5.0',
|
|
+ semverRange: '2.7.x || >=3.4.0',
|
|
|
|
// These can be overridden for testing:
|
|
execFile: cp.execFile,
|