diff options
Diffstat (limited to 'meta-networking/recipes-daemons/opensaf/opensaf/0001-immom_python-convert-to-python3.patch')
-rw-r--r-- | meta-networking/recipes-daemons/opensaf/opensaf/0001-immom_python-convert-to-python3.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/opensaf/opensaf/0001-immom_python-convert-to-python3.patch b/meta-networking/recipes-daemons/opensaf/opensaf/0001-immom_python-convert-to-python3.patch new file mode 100644 index 000000000..f45874680 --- /dev/null +++ b/meta-networking/recipes-daemons/opensaf/opensaf/0001-immom_python-convert-to-python3.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From ffc829603a2c50674c8e04de5221e43f80bfc1b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | ||
3 | Date: Mon, 27 Jan 2020 13:00:53 +0000 | ||
4 | Subject: [PATCH] immom_python: convert to python3 | ||
5 | |||
6 | Convert immom_python to use python3, python2 is EOL and is not supported | ||
7 | by all distributions anymore. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | ||
12 | --- | ||
13 | samples/immsv/immom_python/immom.py | 2 +- | ||
14 | samples/immsv/immom_python/immomexamples.py | 2 +- | ||
15 | samples/immsv/immom_python/immomtest.py | 2 +- | ||
16 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/samples/immsv/immom_python/immom.py b/samples/immsv/immom_python/immom.py | ||
19 | index 4f68625ed..f88197000 100755 | ||
20 | --- a/samples/immsv/immom_python/immom.py | ||
21 | +++ b/samples/immsv/immom_python/immom.py | ||
22 | @@ -1,4 +1,4 @@ | ||
23 | -#! /usr/bin/python | ||
24 | +#!/usr/bin/env python3 | ||
25 | """ | ||
26 | immom -- An IMM Object Manager in Python | ||
27 | |||
28 | diff --git a/samples/immsv/immom_python/immomexamples.py b/samples/immsv/immom_python/immomexamples.py | ||
29 | index 70c579265..bd693c25f 100755 | ||
30 | --- a/samples/immsv/immom_python/immomexamples.py | ||
31 | +++ b/samples/immsv/immom_python/immomexamples.py | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -#! /usr/bin/env python | ||
34 | +#!/usr/bin/env python3 | ||
35 | |||
36 | import immom | ||
37 | |||
38 | diff --git a/samples/immsv/immom_python/immomtest.py b/samples/immsv/immom_python/immomtest.py | ||
39 | index 4b98bea8c..ed2463ba9 100755 | ||
40 | --- a/samples/immsv/immom_python/immomtest.py | ||
41 | +++ b/samples/immsv/immom_python/immomtest.py | ||
42 | @@ -1,4 +1,4 @@ | ||
43 | -#!/usr/bin/env python | ||
44 | +#!/usr/bin/env python3 | ||
45 | # -*- coding: utf-8 -*- | ||
46 | |||
47 | import immom | ||
48 | -- | ||
49 | 2.17.1 | ||
50 | |||