mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
0001-change-shebang-to-python3.patch refreshed for 6.1.0 (From OE-Core rev: 14e7455069137ec8ef2866fa3160e92f86fc71d8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
From df0a8c56f03004738599e06a7b5a1d2b67189848 Mon Sep 17 00:00:00 2001
|
|
From: Changqing Li <changqing.li@windriver.com>
|
|
Date: Thu, 23 Apr 2020 09:28:58 +0000
|
|
Subject: [PATCH] change shebang to python3
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
---
|
|
pbr/tests/test_integration.py | 2 +-
|
|
pbr/tests/test_packaging.py | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/pbr/tests/test_integration.py b/pbr/tests/test_integration.py
|
|
index cb4b5e5..4cbfb19 100644
|
|
--- a/pbr/tests/test_integration.py
|
|
+++ b/pbr/tests/test_integration.py
|
|
@@ -171,7 +171,7 @@ class TestInstallWithoutPbr(base.BaseTestCase):
|
|
pkgs = {
|
|
'pkgTest': {
|
|
'setup.py': textwrap.dedent("""\
|
|
- #!/usr/bin/env python
|
|
+ #!/usr/bin/env python3
|
|
import setuptools
|
|
setuptools.setup(
|
|
name = 'pkgTest',
|
|
diff --git a/pbr/tests/test_packaging.py b/pbr/tests/test_packaging.py
|
|
index dddf7ae..bec03ce 100644
|
|
--- a/pbr/tests/test_packaging.py
|
|
+++ b/pbr/tests/test_packaging.py
|
|
@@ -219,7 +219,7 @@ class CreatePackages(fixtures.Fixture):
|
|
|
|
defaults = {
|
|
'setup.py': textwrap.dedent(six.u("""\
|
|
- #!/usr/bin/env python
|
|
+ #!/usr/bin/env python3
|
|
import setuptools
|
|
setuptools.setup(
|
|
setup_requires=['pbr'],
|