Source: node-srs Version: 0.4.8+dfsg-4 Severity: serious tags: patch Hello, looks like node-srs is using a scheduled for removal python binary to build. Using python2 works (but the best solution is to port to python3, something I didn't test)
diff -Nru node-srs-0.4.8+dfsg/debian/patches/python2.patch node-srs-0.4.8+dfsg/debian/patches/python2.patch --- node-srs-0.4.8+dfsg/debian/patches/python2.patch 1970-01-01 00:00:00.000000000 +0000 +++ node-srs-0.4.8+dfsg/debian/patches/python2.patch 2020-01-14 22:05:34.000000000 +0000 @@ -0,0 +1,11 @@ +--- node-srs-0.4.8+dfsg.orig/binding.gyp ++++ node-srs-0.4.8+dfsg/binding.gyp +@@ -18,7 +18,7 @@ + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/srs_settings.js' + ], +- 'action': ['python', 'gen_settings.py', '<@(shared_gdal)', '<(SHARED_INTERMEDIATE_DIR)/srs_settings.js'] ++ 'action': ['python2', 'gen_settings.py', '<@(shared_gdal)', '<(SHARED_INTERMEDIATE_DIR)/srs_settings.js'] + } + ], + 'copies': [ diff -Nru node-srs-0.4.8+dfsg/debian/patches/series node-srs-0.4.8+dfsg/debian/patches/series --- node-srs-0.4.8+dfsg/debian/patches/series 2019-01-25 13:18:03.000000000 +0000 +++ node-srs-0.4.8+dfsg/debian/patches/series 2020-01-14 22:05:28.000000000 +0000 @@ -1,2 +1,3 @@ nan3compat.patch no_pre_gyp.patch +python2.patch thanks for considering and upstreaming the following patch Gianfranco