summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-04-27 10:40:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-28 11:51:42 +0100
commit4c775f712ff0f93cb220e867a76af1470ffd3718 (patch)
tree67d2e38389c9e17f62a0a739f3a3290829efd982 /meta/recipes-devtools
parentb3c193e5d51f99795810e76a3760b79d51016602 (diff)
downloadpoky-4c775f712ff0f93cb220e867a76af1470ffd3718.tar.gz
meson: update 0.61.3 -> 0.62.1
Rebase 0001-python-module-do-not-manipulate-the-environment-when.patch (From OE-Core rev: 65411c5d632adeac5eab322ae1a54ec8b6d3e5af) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch27
-rw-r--r--meta/recipes-devtools/meson/meson_0.62.1.bb (renamed from meta/recipes-devtools/meson/meson_0.61.3.bb)2
2 files changed, 14 insertions, 15 deletions
diff --git a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
index 86abfa9d52..f01a667818 100644
--- a/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
+++ b/meta/recipes-devtools/meson/meson/0001-python-module-do-not-manipulate-the-environment-when.patch
@@ -1,4 +1,4 @@
1From dd5b4a200cd2fdf7fef627c4b6752f90c00b863a Mon Sep 17 00:00:00 2001 1From 2e9582167bf9d3273004edb2637310531f0155ab Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 19 Nov 2018 14:24:26 +0100 3Date: Mon, 19 Nov 2018 14:24:26 +0100
4Subject: [PATCH] python module: do not manipulate the environment when calling 4Subject: [PATCH] python module: do not manipulate the environment when calling
@@ -8,25 +8,24 @@ Upstream-Status: Inappropriate [oe-core specific]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9 9
10--- 10---
11 mesonbuild/modules/python.py | 7 +------ 11 mesonbuild/modules/python.py | 6 +-----
12 1 file changed, 1 insertion(+), 6 deletions(-) 12 1 file changed, 1 insertion(+), 5 deletions(-)
13 13
14diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py 14diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
15index f479ab9..b934bc6 100644 15index 3bbccd1..fda7a25 100644
16--- a/mesonbuild/modules/python.py 16--- a/mesonbuild/modules/python.py
17+++ b/mesonbuild/modules/python.py 17+++ b/mesonbuild/modules/python.py
18@@ -239,10 +239,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', 18@@ -277,9 +277,6 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
19 # If python-X.Y.pc exists in LIBPC, we will try to use it 19 # there is no LIBPC, so we can't search in it
20 def wrap_in_pythons_pc_dir(name: str, env: 'Environment', kwargs: T.Dict[str, T.Any], 20 return NotFoundDependency('python', env)
21 installation: 'PythonInstallation') -> 'ExternalDependency': 21
22- old_pkg_libdir = os.environ.pop('PKG_CONFIG_LIBDIR', None) 22- old_pkg_libdir = os.environ.pop('PKG_CONFIG_LIBDIR', None)
23- old_pkg_path = os.environ.pop('PKG_CONFIG_PATH', None) 23- old_pkg_path = os.environ.pop('PKG_CONFIG_PATH', None)
24- if pkg_libdir: 24- os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
25- os.environ['PKG_CONFIG_LIBDIR'] = pkg_libdir
26 try: 25 try:
27 return PythonPkgConfigDependency(name, env, kwargs, installation) 26 return PythonPkgConfigDependency(name, env, kwargs, installation, True)
28 finally: 27 finally:
29@@ -251,8 +247,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice', 28@@ -288,8 +285,7 @@ def python_factory(env: 'Environment', for_machine: 'MachineChoice',
30 os.environ[name] = value 29 os.environ[name] = value
31 elif name in os.environ: 30 elif name in os.environ:
32 del os.environ[name] 31 del os.environ[name]
@@ -34,5 +33,5 @@ index f479ab9..b934bc6 100644
34- set_env('PKG_CONFIG_PATH', old_pkg_path) 33- set_env('PKG_CONFIG_PATH', old_pkg_path)
35+ pass 34+ pass
36 35
37 candidates.extend([ 36 candidates.append(functools.partial(wrap_in_pythons_pc_dir, pkg_name, env, kwargs, installation))
38 functools.partial(wrap_in_pythons_pc_dir, pkg_name, env, kwargs, installation), 37 # We only need to check both, if a python install has a LIBPC. It might point to the wrong location,
diff --git a/meta/recipes-devtools/meson/meson_0.61.3.bb b/meta/recipes-devtools/meson/meson_0.62.1.bb
index 1c21493f82..dabdcaab01 100644
--- a/meta/recipes-devtools/meson/meson_0.61.3.bb
+++ b/meta/recipes-devtools/meson/meson_0.62.1.bb
@@ -17,7 +17,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
17 file://0001-is_debianlike-always-return-False.patch \ 17 file://0001-is_debianlike-always-return-False.patch \
18 file://0001-Check-for-clang-before-guessing-gcc-or-lcc.patch \ 18 file://0001-Check-for-clang-before-guessing-gcc-or-lcc.patch \
19 " 19 "
20SRC_URI[sha256sum] = "9c884434469471f3fe0cbbceb9b9ea0c8047f19e792940e1df6595741aae251b" 20SRC_URI[sha256sum] = "a0f5caa1e70da12d5e63aa6a9504273759b891af36c8d87de381a4ed1380e845"
21 21
22UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases" 22UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
23UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar" 23UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"