Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
nodejs14.22397
sle12_python3_compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sle12_python3_compat.patch of Package nodejs14.22397
Index: node-v14.18.2/configure =================================================================== --- node-v14.18.2.orig/configure +++ node-v14.18.2/configure @@ -11,6 +11,7 @@ command -v python3.8 >/dev/null && exec command -v python3.7 >/dev/null && exec python3.7 "$0" "$@" command -v python3.6 >/dev/null && exec python3.6 "$0" "$@" command -v python3.5 >/dev/null && exec python3.5 "$0" "$@" +command -v python3.4 >/dev/null && exec python3.4 "$0" "$@" command -v python3 >/dev/null && exec python3 "$0" "$@" command -v python2.7 >/dev/null && exec python2.7 "$0" "$@" exec python "$0" "$@" @@ -25,7 +26,7 @@ except ImportError: from distutils.spawn import find_executable as which print('Node.js configure: Found Python {0}.{1}.{2}...'.format(*sys.version_info)) -acceptable_pythons = ((3,10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (2, 7)) +acceptable_pythons = ((3,10), (3, 9), (3, 8), (3, 7), (3, 6), (3, 5), (3, 4), (2, 7)) if sys.version_info[:2] in acceptable_pythons: import configure else: Index: node-v14.18.2/deps/npm/node_modules/node-gyp/lib/find-python.js =================================================================== --- node-v14.18.2.orig/deps/npm/node_modules/node-gyp/lib/find-python.js +++ node-v14.18.2/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.6.0 || >=3.5.0', + semverRange: '^2.6.0 || >=3.4.0', // These can be overridden for testing: execFile: cp.execFile,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor