Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From d42b23f4fb5d6bd58e92e995fe5befc76efbae0c Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Thu, 27 Apr 2017 15:47:58 +0300 |
| 4 | Subject: [PATCH] Switch all scripts to use Python 3.x |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | Signed-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 | |
| 20 | diff --git a/makePackage b/makePackage |
| 21 | index 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. |
| 30 | diff --git a/opkg-compare-indexes b/opkg-compare-indexes |
| 31 | index 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 | |
| 40 | diff --git a/opkg-graph-deps b/opkg-graph-deps |
| 41 | index 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 | |
| 50 | diff --git a/opkg-list-fields b/opkg-list-fields |
| 51 | index 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 | |
| 60 | diff --git a/opkg-make-index b/opkg-make-index |
| 61 | index 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 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 67 | """ |
| 68 | Utility to create opkg compatible indexes |
| 69 | """ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 70 | |
| 71 | diff --git a/opkg-show-deps b/opkg-show-deps |
| 72 | index 153f21e..4e18b4f 100755 |
| 73 | --- a/opkg-show-deps |
| 74 | +++ b/opkg-show-deps |
| 75 | @@ -1,4 +1,4 @@ |
| 76 | -#!/usr/bin/env python |
| 77 | +#!/usr/bin/env python3 |
| 78 | from __future__ import absolute_import |
| 79 | from __future__ import print_function |
| 80 | |
| 81 | diff --git a/opkg-unbuild b/opkg-unbuild |
| 82 | index 4f36bec..57642c9 100755 |
| 83 | --- a/opkg-unbuild |
| 84 | +++ b/opkg-unbuild |
| 85 | @@ -1,4 +1,4 @@ |
| 86 | -#!/usr/bin/env python |
| 87 | +#!/usr/bin/env python3 |
| 88 | from __future__ import absolute_import |
| 89 | from __future__ import print_function |
| 90 | |
| 91 | diff --git a/opkg-update-index b/opkg-update-index |
| 92 | index 341c1c2..7bff8a1 100755 |
| 93 | --- a/opkg-update-index |
| 94 | +++ b/opkg-update-index |
| 95 | @@ -1,4 +1,4 @@ |
| 96 | -#!/usr/bin/env python |
| 97 | +#!/usr/bin/env python3 |
| 98 | from __future__ import absolute_import |
| 99 | |
| 100 | import sys, os |
| 101 | diff --git a/opkg.py b/opkg.py |
| 102 | index 2ecac8a..7e64de4 100644 |
| 103 | --- a/opkg.py |
| 104 | +++ b/opkg.py |
| 105 | @@ -1,4 +1,4 @@ |
| 106 | -#!/usr/bin/env python |
| 107 | +#!/usr/bin/env python3 |
| 108 | # Copyright (C) 2001 Alexander S. Guy <a7r@andern.org> |
| 109 | # Andern Research Labs |
| 110 | # |
| 111 | -- |
| 112 | 2.11.0 |
| 113 | |