I have uploaded NMU to fix this. debdiff is attached.
diff -Nru cdbs-0.4.163+nmu1/debian/changelog cdbs-0.4.163+nmu2/debian/changelog
--- cdbs-0.4.163+nmu1/debian/changelog  2022-09-17 22:20:04.000000000 +0200
+++ cdbs-0.4.163+nmu2/debian/changelog  2022-10-31 18:54:32.000000000 +0100
@@ -1,3 +1,10 @@
+cdbs (0.4.163+nmu2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * scripts/waf-unpack: Convert to Python3 syntax (Closes: #983470).
+
+ -- Bastian Germann <b...@debian.org>  Mon, 31 Oct 2022 18:54:32 +0100
+
 cdbs (0.4.163+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cdbs-0.4.163+nmu1/scripts/waf-unpack 
cdbs-0.4.163+nmu2/scripts/waf-unpack
--- cdbs-0.4.163+nmu1/scripts/waf-unpack        2022-09-17 22:20:04.000000000 
+0200
+++ cdbs-0.4.163+nmu2/scripts/waf-unpack        2022-10-31 18:54:14.000000000 
+0100
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # -*- mode: python; coding: utf-8 -*-
 #
 # Most of this code was stolen from Waf which is:
@@ -115,11 +115,11 @@
        (options, args) = parser.parse_args()
 
        if not options.waf and not options.dest:
-               print '--waf and --dest options are mandatory'
+               print('--waf and --dest options are mandatory')
                parser.print_help()
                sys.exit(1) 
 
-       print 'Unpacking ' + options.waf + ' to ' + options.dest + ' ...'
+       print('Unpacking ' + options.waf + ' to ' + options.dest + ' ...')
        unpack_waf(options.waf, options.dest)
-       print 'Done'
+       print('Done')
 

Reply via email to