File: fix_example_unusual_interpreter.patch

package info (click to toggle)
python-gaphas 5.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,560 kB
  • sloc: python: 5,839; makefile: 17; sh: 2
file content (38 lines) | stat: -rw-r--r-- 938 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: fix example unusual interpreter
Use python3 instead of python

Author: Seyed Mohamad Amin Modaresi <modaresisofthard@proton.me>

Forwarded: no


diff --git a/examples/demo.py b/examples/demo.py
index d02745b..5f74df4 100755
--- a/examples/demo.py
+++ b/examples/demo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # ruff: noqa: E402
 """A simple demo app.
 
diff --git a/examples/demo_profile.py b/examples/demo_profile.py
index 419accb..1cb3ddd 100644
--- a/examples/demo_profile.py
+++ b/examples/demo_profile.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from examples.demo import main
 
diff --git a/examples/simple-box.py b/examples/simple-box.py
index 21f56ab..625a0a4 100755
--- a/examples/simple-box.py
+++ b/examples/simple-box.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # ruff: noqa: E402
 """A simple example containing two boxes and a line."""