git: f12230061148 - main - www/npm-node18: Fix build with python < 3.9

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 12:17:34 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f122300611482f97283419f5f385a5df8628b87f

commit f122300611482f97283419f5f385a5df8628b87f
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-02-06 22:04:32 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-02-07 12:16:59 +0000

    www/npm-node18: Fix build with python < 3.9
    
    Python prior to 3.9 does not support "-o" flag to compileall module.
    
    Approved by:    sunpoet (via e-mail)
---
 www/npm-node18/Makefile  |  14 +++-
 www/npm-node18/pkg-plist | 164 +++++++++++++++++++++++------------------------
 2 files changed, 94 insertions(+), 84 deletions(-)

diff --git a/www/npm-node18/Makefile b/www/npm-node18/Makefile
index b423d386861f..258333830793 100644
--- a/www/npm-node18/Makefile
+++ b/www/npm-node18/Makefile
@@ -29,6 +29,16 @@ PORTSCOUT=	ignore:1
 
 SHEBANG_GLOB=	*.py
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_SUFFIX} > 38
+_PYTHON_OPTFLAG=	-o 0 -o 1
+PLIST_SUB+=		HAS_CPYTHON=""
+.else
+_PYTHON_OPTFLAG=	""
+PLIST_SUB+=		HAS_CPYTHON="@comment "
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/etc/man.d/npm.conf
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp
@@ -38,6 +48,6 @@ post-patch:
 do-install:
 	cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/
 	${ECHO_CMD} 'python=${PYTHON_CMD}' > ${STAGEDIR}${PREFIX}/etc/npmrc
-	${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -o 0 -o 1
+	${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp -f ${STAGEDIR}${PREFIX}/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp ${_PYTHON_OPTFLAG}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/npm-node18/pkg-plist b/www/npm-node18/pkg-plist
index 82149d78f6ae..dc73e867a9a3 100644
--- a/www/npm-node18/pkg-plist
+++ b/www/npm-node18/pkg-plist
@@ -1346,94 +1346,94 @@ lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings_test.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common_test.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml_test.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/flock_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/flock_tool.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input_test.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/mac_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/mac_tool.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/win_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/win_tool.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xml_fix.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xml_fix.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSNew.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSProject.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSSettings_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSToolFile.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUserFile.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSUtil.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/MSVSVersion.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/common_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/easy_xml_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/flock_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/flock_tool.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/input_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/mac_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/mac_tool.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/msvs_emulation.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/ninja_syntax.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/simple_copy.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/win_tool.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/win_tool.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_emulation.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcode_ninja.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xcodeproj_file.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xml_fix.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__pycache__/xml_fix.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/analyzer.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/analyzer.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/android.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/android.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/cmake.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/cmake.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/compile_commands_json.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/compile_commands_json.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/dump_dependency_json.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/dump_dependency_json.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/eclipse.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/eclipse.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypd.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypd.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypsh.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypsh.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs_test.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja_test.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-%%PYTHON_SUFFIX%%.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/analyzer.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/analyzer.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/android.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/android.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/cmake.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/cmake.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/compile_commands_json.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/compile_commands_json.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/dump_dependency_json.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/dump_dependency_json.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/eclipse.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/eclipse.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypd.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypd.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypsh.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/gypsh.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/make.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/msvs_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/ninja_test.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode.cpython-%%PYTHON_SUFFIX%%.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode_test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%HAS_CPYTHON%%lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__pycache__/xcode_test.cpython-%%PYTHON_SUFFIX%%.pyc
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py
 lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py