Description: Use python3 instead of python as the interpreter for the examples
 This avoids the numerous Litian warnings example-unusual-interpreter.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2020-11-21

--- plplot-5.15.0+dfsg.orig/examples/python/plplot_logo.py
+++ plplot-5.15.0+dfsg/examples/python/plplot_logo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2008-2016 Alan W. Irwin
 #
--- plplot-5.15.0+dfsg.orig/examples/python/pyqt4_example.py
+++ plplot-5.15.0+dfsg/examples/python/pyqt4_example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # A simple PLplot/PyQt example
 #
--- plplot-5.15.0+dfsg.orig/examples/python/pyqt5_example.py
+++ plplot-5.15.0+dfsg/examples/python/pyqt5_example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # A simple PLplot/PyQt example
 #
--- plplot-5.15.0+dfsg.orig/examples/python/pythondemos.py
+++ plplot-5.15.0+dfsg/examples/python/pythondemos.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/pytkdemo
+++ plplot-5.15.0+dfsg/examples/python/pytkdemo
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*-python-*-
 # Geoffrey Furnish
 #
--- plplot-5.15.0+dfsg.orig/examples/python/test_axis_precision.py
+++ plplot-5.15.0+dfsg/examples/python/test_axis_precision.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/test_circle.py
+++ plplot-5.15.0+dfsg/examples/python/test_circle.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_fill.py
+++ plplot-5.15.0+dfsg/examples/python/test_fill.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Simple test of plfill for the case where the polygon is just outside the
 # window.
 
--- plplot-5.15.0+dfsg.orig/examples/python/test_gradient.py
+++ plplot-5.15.0+dfsg/examples/python/test_gradient.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Simple test of plgradient for a complicated polygon.
 
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_hebrew_diacritic.py
+++ plplot-5.15.0+dfsg/examples/python/test_hebrew_diacritic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 #  Copyright (C) 2010-2016 Alan W. Irwin
 
--- plplot-5.15.0+dfsg.orig/examples/python/test_linebreak.py
+++ plplot-5.15.0+dfsg/examples/python/test_linebreak.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 # Test whether line breaks work for utf8 "Peace" strings.
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_plplot_encodings.py
+++ plplot-5.15.0+dfsg/examples/python/test_plplot_encodings.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 # Test whether utf8 and PLplot #[0x...] unicode encoding give same result.
 # Also test whether #<FCI-COMMAND-STRING/> form works to change font
--- plplot-5.15.0+dfsg.orig/examples/python/test_plsmem.py.in
+++ plplot-5.15.0+dfsg/examples/python/test_plsmem.py.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #  Copyright (C) 2010 Simon Wood
 #  Copyright (C) 2010 Hazen Babcock
--- plplot-5.15.0+dfsg.orig/examples/python/test_style.py
+++ plplot-5.15.0+dfsg/examples/python/test_style.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Test of all line styles and box styles using pllegend.
 
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_superscript_subscript.py
+++ plplot-5.15.0+dfsg/examples/python/test_superscript_subscript.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/test_symbol_clip.py
+++ plplot-5.15.0+dfsg/examples/python/test_symbol_clip.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/test_type1.py
+++ plplot-5.15.0+dfsg/examples/python/test_type1.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright 2010-2016 Alan W. Irwin
 # This file is part of PLplot.
--- plplot-5.15.0+dfsg.orig/examples/python/testh.py
+++ plplot-5.15.0+dfsg/examples/python/testh.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/tutor.py
+++ plplot-5.15.0+dfsg/examples/python/tutor.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # tutor.c
 # Tony Richardson
--- plplot-5.15.0+dfsg.orig/examples/python/x00
+++ plplot-5.15.0+dfsg/examples/python/x00
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2012 Andrew Ross
 # Copyright (C) 2012-2016 Alan W. Irwin
--- plplot-5.15.0+dfsg.orig/examples/python/x01
+++ plplot-5.15.0+dfsg/examples/python/x01
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x02
+++ plplot-5.15.0+dfsg/examples/python/x02
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x03
+++ plplot-5.15.0+dfsg/examples/python/x03
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x04
+++ plplot-5.15.0+dfsg/examples/python/x04
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x05
+++ plplot-5.15.0+dfsg/examples/python/x05
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x06
+++ plplot-5.15.0+dfsg/examples/python/x06
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x07
+++ plplot-5.15.0+dfsg/examples/python/x07
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x08
+++ plplot-5.15.0+dfsg/examples/python/x08
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x09
+++ plplot-5.15.0+dfsg/examples/python/x09
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x10
+++ plplot-5.15.0+dfsg/examples/python/x10
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x11
+++ plplot-5.15.0+dfsg/examples/python/x11
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x12
+++ plplot-5.15.0+dfsg/examples/python/x12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x13
+++ plplot-5.15.0+dfsg/examples/python/x13
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x14
+++ plplot-5.15.0+dfsg/examples/python/x14
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004  Alan W. Irwin
 # Copyright (C) 2004  Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x14.py
+++ plplot-5.15.0+dfsg/examples/python/x14.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #  Copyright (C) 2001-2017 Alan W. Irwin
 
--- plplot-5.15.0+dfsg.orig/examples/python/x15
+++ plplot-5.15.0+dfsg/examples/python/x15
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x16
+++ plplot-5.15.0+dfsg/examples/python/x16
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x17
+++ plplot-5.15.0+dfsg/examples/python/x17
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004  Alan W. Irwin
 # Copyright (C) 2004  Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x17.py
+++ plplot-5.15.0+dfsg/examples/python/x17.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright 2002 Gary Bishop
 # Copyright 2004-2016 Alan W. Irwin
--- plplot-5.15.0+dfsg.orig/examples/python/x18
+++ plplot-5.15.0+dfsg/examples/python/x18
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x19
+++ plplot-5.15.0+dfsg/examples/python/x19
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x20
+++ plplot-5.15.0+dfsg/examples/python/x20
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-0216 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x21
+++ plplot-5.15.0+dfsg/examples/python/x21
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x22
+++ plplot-5.15.0+dfsg/examples/python/x22
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x23
+++ plplot-5.15.0+dfsg/examples/python/x23
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x24
+++ plplot-5.15.0+dfsg/examples/python/x24
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x25
+++ plplot-5.15.0+dfsg/examples/python/x25
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x26
+++ plplot-5.15.0+dfsg/examples/python/x26
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x27
+++ plplot-5.15.0+dfsg/examples/python/x27
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x28
+++ plplot-5.15.0+dfsg/examples/python/x28
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x29
+++ plplot-5.15.0+dfsg/examples/python/x29
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x30
+++ plplot-5.15.0+dfsg/examples/python/x30
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x31
+++ plplot-5.15.0+dfsg/examples/python/x31
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # This is a standalone example since at least one of the tests spans
 # plinit so must be done in the same module.
--- plplot-5.15.0+dfsg.orig/examples/python/x31.py
+++ plplot-5.15.0+dfsg/examples/python/x31.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #  Copyright (C) 2008-2016 Alan W. Irwin
 
--- plplot-5.15.0+dfsg.orig/examples/python/x33
+++ plplot-5.15.0+dfsg/examples/python/x33
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/xtkpy
+++ plplot-5.15.0+dfsg/examples/python/xtkpy
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This is a Python/Tk toolbar to run the Python demos.  Perhpas
 # eventually we will be able to have plframe in a Python/Tk context.
 
