summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils/opkg-utils/0001-Switch-all-scripts-to-use-Python-3.x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils/0001-Switch-all-scripts-to-use-Python-3.x.patch')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils/0001-Switch-all-scripts-to-use-Python-3.x.patch112
1 files changed, 112 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils/0001-Switch-all-scripts-to-use-Python-3.x.patch b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-Switch-all-scripts-to-use-Python-3.x.patch
new file mode 100644
index 0000000000..c36ae2ffda
--- /dev/null
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils/0001-Switch-all-scripts-to-use-Python-3.x.patch
@@ -0,0 +1,112 @@
1From d42b23f4fb5d6bd58e92e995fe5befc76efbae0c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 27 Apr 2017 15:47:58 +0300
4Subject: [PATCH] Switch all scripts to use Python 3.x
5
6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 makePackage | 2 +-
10 opkg-compare-indexes | 2 +-
11 opkg-graph-deps | 2 +-
12 opkg-list-fields | 2 +-
13 opkg-make-index | 2 +-
14 opkg-show-deps | 2 +-
15 opkg-unbuild | 2 +-
16 opkg-update-index | 2 +-
17 opkg.py | 2 +-
18 9 files changed, 9 insertions(+), 9 deletions(-)
19
20diff --git a/makePackage b/makePackage
21index 4bdfc56..02124dd 100755
22--- a/makePackage
23+++ b/makePackage
24@@ -1,4 +1,4 @@
25-#!/usr/bin/python
26+#!/usr/bin/env python3
27
28 # The general algorithm this program follows goes like this:
29 # Run tar to extract control from control.tar.gz from the package.
30diff --git a/opkg-compare-indexes b/opkg-compare-indexes
31index b60d20a..80c1263 100755
32--- a/opkg-compare-indexes
33+++ b/opkg-compare-indexes
34@@ -1,4 +1,4 @@
35-#!/usr/bin/env python
36+#!/usr/bin/env python3
37 from __future__ import absolute_import
38 from __future__ import print_function
39
40diff --git a/opkg-graph-deps b/opkg-graph-deps
41index 6653fd5..f1e376a 100755
42--- a/opkg-graph-deps
43+++ b/opkg-graph-deps
44@@ -1,4 +1,4 @@
45-#!/usr/bin/env python
46+#!/usr/bin/env python3
47 from __future__ import absolute_import
48 from __future__ import print_function
49
50diff --git a/opkg-list-fields b/opkg-list-fields
51index c14a90f..24f7955 100755
52--- a/opkg-list-fields
53+++ b/opkg-list-fields
54@@ -1,4 +1,4 @@
55-#!/usr/bin/env python
56+#!/usr/bin/env python3
57 from __future__ import absolute_import
58 from __future__ import print_function
59
60diff --git a/opkg-make-index b/opkg-make-index
61index 3f757f6..2988f9f 100755
62--- a/opkg-make-index
63+++ b/opkg-make-index
64@@ -1,4 +1,4 @@
65-#!/usr/bin/env python
66+#!/usr/bin/env python3
67 from __future__ import absolute_import
68 from __future__ import print_function
69
70diff --git a/opkg-show-deps b/opkg-show-deps
71index 153f21e..4e18b4f 100755
72--- a/opkg-show-deps
73+++ b/opkg-show-deps
74@@ -1,4 +1,4 @@
75-#!/usr/bin/env python
76+#!/usr/bin/env python3
77 from __future__ import absolute_import
78 from __future__ import print_function
79
80diff --git a/opkg-unbuild b/opkg-unbuild
81index 4f36bec..57642c9 100755
82--- a/opkg-unbuild
83+++ b/opkg-unbuild
84@@ -1,4 +1,4 @@
85-#!/usr/bin/env python
86+#!/usr/bin/env python3
87 from __future__ import absolute_import
88 from __future__ import print_function
89
90diff --git a/opkg-update-index b/opkg-update-index
91index 341c1c2..7bff8a1 100755
92--- a/opkg-update-index
93+++ b/opkg-update-index
94@@ -1,4 +1,4 @@
95-#!/usr/bin/env python
96+#!/usr/bin/env python3
97 from __future__ import absolute_import
98
99 import sys, os
100diff --git a/opkg.py b/opkg.py
101index 2ecac8a..7e64de4 100644
102--- a/opkg.py
103+++ b/opkg.py
104@@ -1,4 +1,4 @@
105-#!/usr/bin/env python
106+#!/usr/bin/env python3
107 # Copyright (C) 2001 Alexander S. Guy <a7r@andern.org>
108 # Andern Research Labs
109 #
110--
1112.11.0
112