nodejs: Drop workaround for a Python 2 dependency

The gyp samples directory was removed in version 15.0.0.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2022-01-14 14:22:13 +01:00
committed by Khem Raj
parent 1946eca308
commit 4229bddf42
@@ -157,10 +157,6 @@ do_compile () {
do_install () { do_install () {
oe_runmake install DESTDIR=${D} oe_runmake install DESTDIR=${D}
# wasn't updated since 2009 and is the only thing requiring python2 in runtime
# ERROR: nodejs-12.14.1-r0 do_package_qa: QA Issue: /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples contained in package nodejs-npm requires /usr/bin/python, but no providers found in RDEPENDS:nodejs-npm? [file-rdeps]
rm -f ${D}${exec_prefix}/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples
} }
do_install:append:class-native() { do_install:append:class-native() {