diff -rupN cdbs-0.4.130/scripts/waf-unpack cdbs-0.4.130-new/scripts/waf-unpack
--- cdbs-0.4.130/scripts/waf-unpack 2013-12-28 02:55:55.000000000 +0100
+++ cdbs-0.4.130-new/scripts/waf-unpack 2016-03-06 11:40:00.545945872 +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:
@@ -18,6 +18,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+from __future__ import print_function
+
usage = '''
python waf-unpack --waf=WAF_FILE --dest=DEST_FOLDER
@@ -114,11 +116,11 @@ if __name__ == '__main__':
(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')