diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2025-09-11 10:51:14 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-15 17:57:23 +0100 |
| commit | ab4f8bab2b85349e5a5a090821654c5e92708607 (patch) | |
| tree | ee6cbbfc0a11617605065b3e9073ac3c1ea3fbea /meta/recipes-devtools/python | |
| parent | 5d7a1af68f95516ec10bb3ad0bf445cc8a090419 (diff) | |
| download | poky-ab4f8bab2b85349e5a5a090821654c5e92708607.tar.gz | |
python3-pbr: update 6.1.0 -> 7.0.1
Drop 0001-change-shebang-to-python3.patch
(the change is made only to tests which aren't installed,
and probably isn't necessary to begin with as upstream
would've fixed it already).
Merge .inc into .bb.
Switch away from setuptools3 as pyproject.toml now exists.
(From OE-Core rev: c64d44e48519816f319fb48ea067df6861ba6f71)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
| -rw-r--r-- | meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch | 39 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-pbr_6.1.0.bb | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-pbr_7.0.1.bb (renamed from meta/recipes-devtools/python/python-pbr.inc) | 6 |
3 files changed, 3 insertions, 46 deletions
diff --git a/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch b/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch deleted file mode 100644 index 218add1778..0000000000 --- a/meta/recipes-devtools/python/python3-pbr/0001-change-shebang-to-python3.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | From df0a8c56f03004738599e06a7b5a1d2b67189848 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Thu, 23 Apr 2020 09:28:58 +0000 | ||
| 4 | Subject: [PATCH] change shebang to python3 | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 9 | --- | ||
| 10 | pbr/tests/test_integration.py | 2 +- | ||
| 11 | pbr/tests/test_packaging.py | 2 +- | ||
| 12 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/pbr/tests/test_integration.py b/pbr/tests/test_integration.py | ||
| 15 | index cb4b5e5..4cbfb19 100644 | ||
| 16 | --- a/pbr/tests/test_integration.py | ||
| 17 | +++ b/pbr/tests/test_integration.py | ||
| 18 | @@ -171,7 +171,7 @@ class TestInstallWithoutPbr(base.BaseTestCase): | ||
| 19 | pkgs = { | ||
| 20 | 'pkgTest': { | ||
| 21 | 'setup.py': textwrap.dedent("""\ | ||
| 22 | - #!/usr/bin/env python | ||
| 23 | + #!/usr/bin/env python3 | ||
| 24 | import setuptools | ||
| 25 | setuptools.setup( | ||
| 26 | name = 'pkgTest', | ||
| 27 | diff --git a/pbr/tests/test_packaging.py b/pbr/tests/test_packaging.py | ||
| 28 | index dddf7ae..bec03ce 100644 | ||
| 29 | --- a/pbr/tests/test_packaging.py | ||
| 30 | +++ b/pbr/tests/test_packaging.py | ||
| 31 | @@ -219,7 +219,7 @@ class CreatePackages(fixtures.Fixture): | ||
| 32 | |||
| 33 | defaults = { | ||
| 34 | 'setup.py': textwrap.dedent(six.u("""\ | ||
| 35 | - #!/usr/bin/env python | ||
| 36 | + #!/usr/bin/env python3 | ||
| 37 | import setuptools | ||
| 38 | setuptools.setup( | ||
| 39 | setup_requires=['pbr'], | ||
diff --git a/meta/recipes-devtools/python/python3-pbr_6.1.0.bb b/meta/recipes-devtools/python/python3-pbr_6.1.0.bb deleted file mode 100644 index a58b491a82..0000000000 --- a/meta/recipes-devtools/python/python3-pbr_6.1.0.bb +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-pbr.inc | ||
| 3 | |||
| 4 | SRC_URI[sha256sum] = "788183e382e3d1d7707db08978239965e8b9e4e5ed42669bf4758186734d5f24" | ||
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python3-pbr_7.0.1.bb index f08d9fd381..6878fa0967 100644 --- a/meta/recipes-devtools/python/python-pbr.inc +++ b/meta/recipes-devtools/python/python3-pbr_7.0.1.bb | |||
| @@ -5,10 +5,10 @@ SECTION = "devel/python" | |||
| 5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" |
| 7 | 7 | ||
| 8 | SRC_URI += "file://0001-change-shebang-to-python3.patch" | 8 | inherit pypi python_setuptools_build_meta |
| 9 | |||
| 10 | inherit pypi | ||
| 11 | 9 | ||
| 12 | RDEPENDS:${PN} += "python3-pip" | 10 | RDEPENDS:${PN} += "python3-pip" |
| 13 | 11 | ||
| 14 | BBCLASSEXTEND = "native nativesdk" | 12 | BBCLASSEXTEND = "native nativesdk" |
| 13 | |||
| 14 | SRC_URI[sha256sum] = "3ecbcb11d2b8551588ec816b3756b1eb4394186c3b689b17e04850dfc20f7e57" | ||
