diff -Nru node-crc-3.8.0+ds/debian/changelog node-crc-3.8.0+ds/debian/changelog --- node-crc-3.8.0+ds/debian/changelog 2020-02-25 05:27:03.000000000 +0000 +++ node-crc-3.8.0+ds/debian/changelog 2020-04-03 16:58:14.000000000 +0000 @@ -1,3 +1,9 @@ +node-crc (3.8.0+ds-1ubuntu1) focal; urgency=medium + + * Build using python2. + + -- Matthias Klose Fri, 03 Apr 2020 18:58:14 +0200 + node-crc (3.8.0+ds-1) unstable; urgency=medium * Team upload diff -Nru node-crc-3.8.0+ds/debian/control node-crc-3.8.0+ds/debian/control --- node-crc-3.8.0+ds/debian/control 2020-02-25 04:51:32.000000000 +0000 +++ node-crc-3.8.0+ds/debian/control 2020-04-03 16:56:15.000000000 +0000 @@ -13,7 +13,7 @@ , node-babel-preset-es2015 , node-babel-plugin-transform-runtime , node-regenerator-transform (>= 0.14.1-3~) - , python + , python2 , pkg-js-tools (>= 0.9.20~) Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/js-team/node-crc diff -Nru node-crc-3.8.0+ds/debian/patches/python2.diff node-crc-3.8.0+ds/debian/patches/python2.diff --- node-crc-3.8.0+ds/debian/patches/python2.diff 1970-01-01 00:00:00.000000000 +0000 +++ node-crc-3.8.0+ds/debian/patches/python2.diff 2020-04-03 16:58:02.000000000 +0000 @@ -0,0 +1,57 @@ +Index: b/test/pycrc/crc_opt.py +=================================================================== +--- a/test/pycrc/crc_opt.py ++++ b/test/pycrc/crc_opt.py +@@ -100,17 +100,17 @@ class Options(object): + Parses and validates the options given as arguments + """ + usage = """\ +-python %prog [OPTIONS] ++python2 %prog [OPTIONS] + + To calculate the checksum of a string or hexadecimal data: +- python %prog [model] --check-string "123456789" +- python %prog [model] --check-hexstring "313233343536373839" ++ python2 %prog [model] --check-string "123456789" ++ python2 %prog [model] --check-hexstring "313233343536373839" + + To calculate the checksum of a file: +- python %prog [model] --check-file filename ++ python2 %prog [model] --check-file filename + + To generate the C source code and write it to filename: +- python %prog [model] --generate c -o filename ++ python2 %prog [model] --generate c -o filename + + The model can be defined either with the --model switch or by specifying each + of the following parameters: +Index: b/test/pycrc/pycrc.py +=================================================================== +--- a/test/pycrc/pycrc.py ++++ b/test/pycrc/pycrc.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + # pycrc -- parameterisable CRC calculation utility and C source code generator + # +Index: b/test/pycrc/qm.py +=================================================================== +--- a/test/pycrc/qm.py ++++ b/test/pycrc/qm.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + + # qm.py -- A Quine McCluskey Python implementation + # +Index: b/test/pycrc/test/test.py +=================================================================== +--- a/test/pycrc/test/test.py ++++ b/test/pycrc/test/test.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + # -*- coding: Latin-1 -*- + + # pycrc test application. diff -Nru node-crc-3.8.0+ds/debian/patches/series node-crc-3.8.0+ds/debian/patches/series --- node-crc-3.8.0+ds/debian/patches/series 2020-02-25 05:24:13.000000000 +0000 +++ node-crc-3.8.0+ds/debian/patches/series 2020-04-03 16:56:28.000000000 +0000 @@ -1,2 +1,3 @@ fix-mocha-opts.diff fix-test-for-autopkgtest.diff +python2.diff