diff options
author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2021-12-09 21:33:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 11:27:24 +0000 |
commit | 2faf8fe58480b2e5909a51966e356609abe3f8f8 (patch) | |
tree | e0de7199670f2e678a1721dc0f709f2538d69aae /meta/recipes-devtools | |
parent | 9fc8c38658f123ab2ebd8cc764ed4418b959467f (diff) | |
download | poky-2faf8fe58480b2e5909a51966e356609abe3f8f8.tar.gz |
python3: udpate to 3.10.1
Refreshed patches.
(From OE-Core rev: b82ea986a492791716c3da07a7d728edd17654c9)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
24 files changed, 109 insertions, 108 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch b/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch index 59592821d7..62ef6efc28 100644 --- a/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch +++ b/meta/recipes-devtools/python/python3/0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 039c53dd5baddec3359a05be0bff46a3b32bbb84 Mon Sep 17 00:00:00 2001 | 1 | From 80f872e4573f542d33f91514538755557d566f79 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 25 Jan 2019 19:04:13 +0100 | 3 | Date: Fri, 25 Jan 2019 19:04:13 +0100 |
4 | Subject: [PATCH] Do not add /usr/lib/termcap to linker flags to avoid host | 4 | Subject: [PATCH] Do not add /usr/lib/termcap to linker flags to avoid host |
@@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
12 | 1 file changed, 1 deletion(-) | 12 | 1 file changed, 1 deletion(-) |
13 | 13 | ||
14 | diff --git a/setup.py b/setup.py | 14 | diff --git a/setup.py b/setup.py |
15 | index 20d7f35..ab18ff0 100644 | 15 | index 43e807f..11b5cf5 100644 |
16 | --- a/setup.py | 16 | --- a/setup.py |
17 | +++ b/setup.py | 17 | +++ b/setup.py |
18 | @@ -957,7 +957,6 @@ class PyBuildExt(build_ext): | 18 | @@ -1149,7 +1149,6 @@ class PyBuildExt(build_ext): |
19 | 'termcap'): | 19 | 'termcap'): |
20 | readline_libs.append('termcap') | 20 | readline_libs.append('termcap') |
21 | self.add(Extension('readline', ['readline.c'], | 21 | self.add(Extension('readline', ['readline.c'], |
diff --git a/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch b/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch index 83fd52d87f..d98f243cb1 100644 --- a/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch +++ b/meta/recipes-devtools/python/python3/0001-Do-not-use-the-shell-version-of-python-config-that-w.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 148861fa16f2aaacd518770f337ea54b5182f981 Mon Sep 17 00:00:00 2001 | 1 | From 2406432449784243b7590009d42bd0e871253b2e Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 29 Jan 2019 15:03:01 +0100 | 3 | Date: Tue, 29 Jan 2019 15:03:01 +0100 |
4 | Subject: [PATCH] Do not use the shell version of python-config that was | 4 | Subject: [PATCH] Do not use the shell version of python-config that was |
@@ -9,15 +9,16 @@ outputs directories correctly. | |||
9 | 9 | ||
10 | Upstream-Status: Inappropriate [oe-specific] | 10 | Upstream-Status: Inappropriate [oe-specific] |
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
12 | |||
12 | --- | 13 | --- |
13 | Makefile.pre.in | 9 +++------ | 14 | Makefile.pre.in | 9 +++------ |
14 | 1 file changed, 3 insertions(+), 6 deletions(-) | 15 | 1 file changed, 3 insertions(+), 6 deletions(-) |
15 | 16 | ||
16 | diff --git a/Makefile.pre.in b/Makefile.pre.in | 17 | diff --git a/Makefile.pre.in b/Makefile.pre.in |
17 | index 2d2e11f..cc19942 100644 | 18 | index ee85f35..f0aedb7 100644 |
18 | --- a/Makefile.pre.in | 19 | --- a/Makefile.pre.in |
19 | +++ b/Makefile.pre.in | 20 | +++ b/Makefile.pre.in |
20 | @@ -1431,12 +1431,9 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh | 21 | @@ -1640,12 +1640,9 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh |
21 | sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py | 22 | sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py |
22 | @ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR} | 23 | @ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR} |
23 | LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config | 24 | LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config |
diff --git a/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch b/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch index 46179ba1d1..27a5992880 100644 --- a/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch +++ b/meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cebb772d718a8f798ed5ae311a6e3e61534bea95 Mon Sep 17 00:00:00 2001 | 1 | From df1a5e4bc6c8523eaa33daa2a90707fe6c6bddb6 Mon Sep 17 00:00:00 2001 |
2 | From: Jeremy Puhlman <jpuhlman@mvista.com> | 2 | From: Jeremy Puhlman <jpuhlman@mvista.com> |
3 | Date: Wed, 4 Mar 2020 00:06:42 +0000 | 3 | Date: Wed, 4 Mar 2020 00:06:42 +0000 |
4 | Subject: [PATCH] Don't search system for headers/libraries | 4 | Subject: [PATCH] Don't search system for headers/libraries |
@@ -11,10 +11,10 @@ Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> | |||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | 11 | 1 file changed, 2 insertions(+), 2 deletions(-) |
12 | 12 | ||
13 | diff --git a/setup.py b/setup.py | 13 | diff --git a/setup.py b/setup.py |
14 | index 95e3e11..32a4d42 100644 | 14 | index c190002..5ef368d 100644 |
15 | --- a/setup.py | 15 | --- a/setup.py |
16 | +++ b/setup.py | 16 | +++ b/setup.py |
17 | @@ -840,8 +840,8 @@ class PyBuildExt(build_ext): | 17 | @@ -854,8 +854,8 @@ class PyBuildExt(build_ext): |
18 | add_dir_to_list(self.compiler.include_dirs, | 18 | add_dir_to_list(self.compiler.include_dirs, |
19 | sysconfig.get_config_var("INCLUDEDIR")) | 19 | sysconfig.get_config_var("INCLUDEDIR")) |
20 | 20 | ||
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch index d6aa9501a7..df5179e877 100644 --- a/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch +++ b/meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d8521ee967937184eadc59fff1a30740ad181a98 Mon Sep 17 00:00:00 2001 | 1 | From 86061629f4a179e740a17e53dd2c98ab47af2fe2 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex@linutronix.de> | 2 | From: Alexander Kanavin <alex@linutronix.de> |
3 | Date: Thu, 16 Sep 2021 16:35:37 +0200 | 3 | Date: Thu, 16 Sep 2021 16:35:37 +0200 |
4 | Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O | 4 | Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O |
@@ -24,12 +24,13 @@ So let's treat both channels the same. | |||
24 | 24 | ||
25 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] | 25 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/28388] |
26 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | 26 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
27 | |||
27 | --- | 28 | --- |
28 | Lib/pty.py | 5 ++++- | 29 | Lib/pty.py | 5 ++++- |
29 | 1 file changed, 4 insertions(+), 1 deletion(-) | 30 | 1 file changed, 4 insertions(+), 1 deletion(-) |
30 | 31 | ||
31 | diff --git a/Lib/pty.py b/Lib/pty.py | 32 | diff --git a/Lib/pty.py b/Lib/pty.py |
32 | index 8d8ce40df5..35439c6b96 100644 | 33 | index 8d8ce40..35439c6 100644 |
33 | --- a/Lib/pty.py | 34 | --- a/Lib/pty.py |
34 | +++ b/Lib/pty.py | 35 | +++ b/Lib/pty.py |
35 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): | 36 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): |
@@ -44,6 +45,3 @@ index 8d8ce40df5..35439c6b96 100644 | |||
44 | if not data: | 45 | if not data: |
45 | fds.remove(STDIN_FILENO) | 46 | fds.remove(STDIN_FILENO) |
46 | else: | 47 | else: |
47 | -- | ||
48 | 2.20.1 | ||
49 | |||
diff --git a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch index b72c709130..ad384231a5 100644 --- a/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch +++ b/meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From aceaa16e25a8ab6a00f906c340843999635c8e23 Mon Sep 17 00:00:00 2001 | 1 | From 2d4bde19e0df7244e1cd17c4f4a255d488cb3e56 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex@linutronix.de> | 2 | From: Alexander Kanavin <alex@linutronix.de> |
3 | Date: Fri, 10 Sep 2021 12:28:31 +0200 | 3 | Date: Fri, 10 Sep 2021 12:28:31 +0200 |
4 | Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration | 4 | Subject: [PATCH] Lib/sysconfig.py: use prefix value from build configuration |
@@ -9,12 +9,13 @@ native python. | |||
9 | 9 | ||
10 | Upstream-Status: Inappropriate [oe-core cross builds] | 10 | Upstream-Status: Inappropriate [oe-core cross builds] |
11 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | 11 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
12 | |||
12 | --- | 13 | --- |
13 | Lib/sysconfig.py | 5 +++++ | 14 | Lib/sysconfig.py | 5 +++++ |
14 | 1 file changed, 5 insertions(+) | 15 | 1 file changed, 5 insertions(+) |
15 | 16 | ||
16 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | 17 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py |
17 | index 95b48f6..84f6427 100644 | 18 | index e64bcdc..40c6b3e 100644 |
18 | --- a/Lib/sysconfig.py | 19 | --- a/Lib/sysconfig.py |
19 | +++ b/Lib/sysconfig.py | 20 | +++ b/Lib/sysconfig.py |
20 | @@ -613,6 +613,11 @@ def get_config_vars(*args): | 21 | @@ -613,6 +613,11 @@ def get_config_vars(*args): |
@@ -29,6 +30,3 @@ index 95b48f6..84f6427 100644 | |||
29 | # For backward compatibility, see issue19555 | 30 | # For backward compatibility, see issue19555 |
30 | SO = _CONFIG_VARS.get('EXT_SUFFIX') | 31 | SO = _CONFIG_VARS.get('EXT_SUFFIX') |
31 | if SO is not None: | 32 | if SO is not None: |
32 | -- | ||
33 | 2.20.1 | ||
34 | |||
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch b/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch index ea1efa9cac..2f037ecb09 100644 --- a/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch +++ b/meta/recipes-devtools/python/python3/0001-Makefile-do-not-compile-.pyc-in-parallel.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From c501e121a872cbcef8ffe626c1de173a125be9f8 Mon Sep 17 00:00:00 2001 | 1 | From c960837b8fd83074bab5148236f3d0595468cea4 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Thu, 16 Jan 2020 12:34:20 +0100 | 3 | Date: Thu, 16 Jan 2020 12:34:20 +0100 |
4 | Subject: [PATCH] Makefile: do not compile .pyc in parallel | 4 | Subject: [PATCH] Makefile: do not compile .pyc in parallel |
@@ -17,15 +17,16 @@ https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20211130-yr_o1a8d/pa | |||
17 | 17 | ||
18 | Upstream-Status: Inappropriate [see issues above] | 18 | Upstream-Status: Inappropriate [see issues above] |
19 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 19 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
20 | |||
20 | --- | 21 | --- |
21 | Makefile.pre.in | 12 ++++++------ | 22 | Makefile.pre.in | 12 ++++++------ |
22 | 1 file changed, 6 insertions(+), 6 deletions(-) | 23 | 1 file changed, 6 insertions(+), 6 deletions(-) |
23 | 24 | ||
24 | diff --git a/Makefile.pre.in b/Makefile.pre.in | 25 | diff --git a/Makefile.pre.in b/Makefile.pre.in |
25 | index 1241112..5dfdf44 100644 | 26 | index edd70d4..5e13ba2 100644 |
26 | --- a/Makefile.pre.in | 27 | --- a/Makefile.pre.in |
27 | +++ b/Makefile.pre.in | 28 | +++ b/Makefile.pre.in |
28 | @@ -1457,30 +1457,30 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c | 29 | @@ -1601,30 +1601,30 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c |
29 | fi | 30 | fi |
30 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | 31 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
31 | $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | 32 | $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ |
diff --git a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch index fa7735ff93..e1dabc92a3 100644 --- a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch +++ b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch | |||
@@ -1,19 +1,20 @@ | |||
1 | From cf6a9100902484e4d028ee88742dd2487b014a98 Mon Sep 17 00:00:00 2001 | 1 | From 9f85089cc3a21d5ff235bb37c6c9758f2b70497d Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Wed, 30 Jan 2019 12:41:04 +0100 | 3 | Date: Wed, 30 Jan 2019 12:41:04 +0100 |
4 | Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data | 4 | Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [oe-core specific] | 6 | Upstream-Status: Inappropriate [oe-core specific] |
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
8 | |||
8 | --- | 9 | --- |
9 | Makefile.pre.in | 3 +-- | 10 | Makefile.pre.in | 3 +-- |
10 | 1 file changed, 1 insertion(+), 2 deletions(-) | 11 | 1 file changed, 1 insertion(+), 2 deletions(-) |
11 | 12 | ||
12 | diff --git a/Makefile.pre.in b/Makefile.pre.in | 13 | diff --git a/Makefile.pre.in b/Makefile.pre.in |
13 | index a3a02a7..d5503dd 100644 | 14 | index f0aedb7..edd70d4 100644 |
14 | --- a/Makefile.pre.in | 15 | --- a/Makefile.pre.in |
15 | +++ b/Makefile.pre.in | 16 | +++ b/Makefile.pre.in |
16 | @@ -507,8 +507,7 @@ build_all_generate_profile: | 17 | @@ -519,8 +519,7 @@ build_all_generate_profile: |
17 | $(MAKE) @DEF_MAKE_RULE@ CFLAGS_NODIST="$(CFLAGS_NODIST) $(PGO_PROF_GEN_FLAG)" LDFLAGS_NODIST="$(LDFLAGS_NODIST) $(PGO_PROF_GEN_FLAG)" LIBS="$(LIBS)" | 18 | $(MAKE) @DEF_MAKE_RULE@ CFLAGS_NODIST="$(CFLAGS_NODIST) $(PGO_PROF_GEN_FLAG)" LDFLAGS_NODIST="$(LDFLAGS_NODIST) $(PGO_PROF_GEN_FLAG)" LIBS="$(LIBS)" |
18 | 19 | ||
19 | run_profile_task: | 20 | run_profile_task: |
diff --git a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch index a49d603d47..96c5a3c840 100644 --- a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch +++ b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch | |||
@@ -1,9 +1,8 @@ | |||
1 | From 0b25b66d4f54bd74615c9ff10f3fae8f0d1c548d Mon Sep 17 00:00:00 2001 | 1 | From 7171aeee22a0b7ab57cdf3d1ae15530549f8f92a Mon Sep 17 00:00:00 2001 |
2 | From: Yi Fan Yu <yifan.yu@windriver.com> | 2 | From: Yi Fan Yu <yifan.yu@windriver.com> |
3 | Date: Thu, 1 Apr 2021 13:08:37 -0700 | 3 | Date: Thu, 1 Apr 2021 13:08:37 -0700 |
4 | Subject: [PATCH] Skip failing tests due to load variability on YP AB | 4 | Subject: [PATCH] Skip failing tests due to load variability on YP AB |
5 | 5 | ||
6 | |||
7 | Skip these tests until AB-INT is solved. | 6 | Skip these tests until AB-INT is solved. |
8 | 7 | ||
9 | [YOCTO #14296] | 8 | [YOCTO #14296] |
@@ -11,16 +10,17 @@ Skip these tests until AB-INT is solved. | |||
11 | Upstream-Status: Inappropriate [OE-Specific] | 10 | Upstream-Status: Inappropriate [OE-Specific] |
12 | 11 | ||
13 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> | 12 | Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> |
13 | |||
14 | --- | 14 | --- |
15 | Lib/test/_test_multiprocessing.py | 2 ++ | 15 | Lib/test/_test_multiprocessing.py | 2 ++ |
16 | Lib/test/test_time.py | 1 + | 16 | Lib/test/test_time.py | 1 + |
17 | 2 files changed, 3 insertions(+) | 17 | 2 files changed, 3 insertions(+) |
18 | 18 | ||
19 | diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py | 19 | diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py |
20 | index fd3b430..cda29f6 100644 | 20 | index 3bc5b8f..a6e106d 100644 |
21 | --- a/Lib/test/_test_multiprocessing.py | 21 | --- a/Lib/test/_test_multiprocessing.py |
22 | +++ b/Lib/test/_test_multiprocessing.py | 22 | +++ b/Lib/test/_test_multiprocessing.py |
23 | @@ -568,6 +568,7 @@ def test_close(self): | 23 | @@ -568,6 +568,7 @@ class _TestProcess(BaseTestCase): |
24 | 24 | ||
25 | close_queue(q) | 25 | close_queue(q) |
26 | 26 | ||
@@ -28,7 +28,7 @@ index fd3b430..cda29f6 100644 | |||
28 | def test_many_processes(self): | 28 | def test_many_processes(self): |
29 | if self.TYPE == 'threads': | 29 | if self.TYPE == 'threads': |
30 | self.skipTest('test not appropriate for {}'.format(self.TYPE)) | 30 | self.skipTest('test not appropriate for {}'.format(self.TYPE)) |
31 | @@ -4715,6 +4716,7 @@ def signal_and_sleep(cls, sem, period): | 31 | @@ -4817,6 +4818,7 @@ class TestWait(unittest.TestCase): |
32 | sem.release() | 32 | sem.release() |
33 | time.sleep(period) | 33 | time.sleep(period) |
34 | 34 | ||
@@ -37,10 +37,10 @@ index fd3b430..cda29f6 100644 | |||
37 | from multiprocessing.connection import wait | 37 | from multiprocessing.connection import wait |
38 | 38 | ||
39 | diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py | 39 | diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py |
40 | index 3258298..adcf407 100644 | 40 | index 875615a..aebaa8c 100644 |
41 | --- a/Lib/test/test_time.py | 41 | --- a/Lib/test/test_time.py |
42 | +++ b/Lib/test/test_time.py | 42 | +++ b/Lib/test/test_time.py |
43 | @@ -474,6 +474,7 @@ def test_monotonic(self): | 43 | @@ -474,6 +474,7 @@ class TimeTestCase(unittest.TestCase): |
44 | def test_perf_counter(self): | 44 | def test_perf_counter(self): |
45 | time.perf_counter() | 45 | time.perf_counter() |
46 | 46 | ||
@@ -48,6 +48,3 @@ index 3258298..adcf407 100644 | |||
48 | def test_process_time(self): | 48 | def test_process_time(self): |
49 | # process_time() should not include time spend during a sleep | 49 | # process_time() should not include time spend during a sleep |
50 | start = time.process_time() | 50 | start = time.process_time() |
51 | -- | ||
52 | 2.17.1 | ||
53 | |||
diff --git a/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch b/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch index 793385de91..993ac243fc 100644 --- a/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch +++ b/meta/recipes-devtools/python/python3/0001-Use-FLAG_REF-always-for-interned-strings.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9f63e83b1cec872917647b11155edaffe399d103 Mon Sep 17 00:00:00 2001 | 1 | From d7217b79a4e125d4fcc1087743171b94d91d1121 Mon Sep 17 00:00:00 2001 |
2 | From: Inada Naoki <songofacandy@gmail.com> | 2 | From: Inada Naoki <songofacandy@gmail.com> |
3 | Date: Sat, 14 Jul 2018 00:46:11 +0900 | 3 | Date: Sat, 14 Jul 2018 00:46:11 +0900 |
4 | Subject: [PATCH] Use FLAG_REF always for interned strings | 4 | Subject: [PATCH] Use FLAG_REF always for interned strings |
@@ -11,7 +11,7 @@ Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> | |||
11 | 1 file changed, 7 insertions(+), 2 deletions(-) | 11 | 1 file changed, 7 insertions(+), 2 deletions(-) |
12 | 12 | ||
13 | diff --git a/Python/marshal.c b/Python/marshal.c | 13 | diff --git a/Python/marshal.c b/Python/marshal.c |
14 | index c4538bd..2437160 100644 | 14 | index 4125240..341c9aa 100644 |
15 | --- a/Python/marshal.c | 15 | --- a/Python/marshal.c |
16 | +++ b/Python/marshal.c | 16 | +++ b/Python/marshal.c |
17 | @@ -298,9 +298,14 @@ w_ref(PyObject *v, char *flag, WFILE *p) | 17 | @@ -298,9 +298,14 @@ w_ref(PyObject *v, char *flag, WFILE *p) |
diff --git a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch index c4fae09a5b..fc2241b5b9 100644 --- a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch +++ b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch | |||
@@ -1,7 +1,8 @@ | |||
1 | From 1ad771d86728ee2ed30e202e9768d8d825f96467 Mon Sep 17 00:00:00 2001 | 1 | From 7cfa712eecf02edaefaf0e51f3c8a31933b88db1 Mon Sep 17 00:00:00 2001 |
2 | From: Matthias Schoepfer <matthias.schoepfer@ithinx.io> | 2 | From: Matthias Schoepfer <matthias.schoepfer@ithinx.io> |
3 | Date: Fri, 31 May 2019 15:34:34 +0200 | 3 | Date: Fri, 31 May 2019 15:34:34 +0200 |
4 | Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft | 4 | Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft |
5 | |||
5 | float | 6 | float |
6 | 7 | ||
7 | When (cross) compiling for softfloat mips, __mips_hard_float will not be | 8 | When (cross) compiling for softfloat mips, __mips_hard_float will not be |
@@ -13,18 +14,18 @@ to do this in a more autoconf/autotools manner. | |||
13 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196] | 14 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196] |
14 | Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> | 15 | Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> |
15 | 16 | ||
16 | %% original patch: 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch | 17 | |
17 | --- | 18 | --- |
18 | configure.ac | 175 +++++++-------------------------------------------- | 19 | configure.ac | 175 +++++++-------------------------------------------- |
19 | 1 file changed, 21 insertions(+), 154 deletions(-) | 20 | 1 file changed, 21 insertions(+), 154 deletions(-) |
20 | 21 | ||
21 | diff --git a/configure.ac b/configure.ac | 22 | diff --git a/configure.ac b/configure.ac |
22 | index ede710e..bc81b0b 100644 | 23 | index 299786b..d0db062 100644 |
23 | --- a/configure.ac | 24 | --- a/configure.ac |
24 | +++ b/configure.ac | 25 | +++ b/configure.ac |
25 | @@ -710,160 +710,27 @@ fi | 26 | @@ -718,160 +718,27 @@ then |
26 | MULTIARCH=$($CC --print-multiarch 2>/dev/null) | 27 | fi |
27 | AC_SUBST(MULTIARCH) | 28 | |
28 | 29 | ||
29 | -AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) | 30 | -AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) |
30 | -cat >> conftest.c <<EOF | 31 | -cat >> conftest.c <<EOF |
@@ -202,8 +203,5 @@ index ede710e..bc81b0b 100644 | |||
202 | + ;; | 203 | + ;; |
203 | +esac | 204 | +esac |
204 | 205 | ||
205 | if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then | 206 | if test x$PLATFORM_TRIPLET != xdarwin; then |
206 | if test x$PLATFORM_TRIPLET != x$MULTIARCH; then | 207 | MULTIARCH=$($CC --print-multiarch 2>/dev/null) |
207 | -- | ||
208 | 2.24.1 | ||
209 | |||
diff --git a/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch b/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch index b323ed4dd0..1a1e3e960c 100644 --- a/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch +++ b/meta/recipes-devtools/python/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3a98c2eab187289dc8c55e36738c2c0f4216d906 Mon Sep 17 00:00:00 2001 | 1 | From 8a91a3047222ac533c2ca00b6d27cf6f992e6b11 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Thu, 31 Jan 2019 16:46:30 +0100 | 3 | Date: Thu, 31 Jan 2019 16:46:30 +0100 |
4 | Subject: [PATCH] distutils/sysconfig: append | 4 | Subject: [PATCH] distutils/sysconfig: append |
@@ -14,7 +14,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
14 | 1 file changed, 2 insertions(+) | 14 | 1 file changed, 2 insertions(+) |
15 | 15 | ||
16 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | 16 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py |
17 | index a78c0b1..f5c5efe 100644 | 17 | index 40c6b3e..ac94cc7 100644 |
18 | --- a/Lib/sysconfig.py | 18 | --- a/Lib/sysconfig.py |
19 | +++ b/Lib/sysconfig.py | 19 | +++ b/Lib/sysconfig.py |
20 | @@ -474,6 +474,8 @@ def _init_posix(vars): | 20 | @@ -474,6 +474,8 @@ def _init_posix(vars): |
diff --git a/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch b/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch index bfddc1ad52..6bb85fcb34 100644 --- a/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch +++ b/meta/recipes-devtools/python/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5f9eea2c4f8716830f6c8855a3e10872119fae32 Mon Sep 17 00:00:00 2001 | 1 | From 9f68a27eb34394a00f1011c06900c609f15fb15c Mon Sep 17 00:00:00 2001 |
2 | From: Changqing Li <changqing.li@windriver.com> | 2 | From: Changqing Li <changqing.li@windriver.com> |
3 | Date: Mon, 22 Oct 2018 15:19:51 +0800 | 3 | Date: Mon, 22 Oct 2018 15:19:51 +0800 |
4 | Subject: [PATCH] python3: use cc_basename to replace CC for checking compiler | 4 | Subject: [PATCH] python3: use cc_basename to replace CC for checking compiler |
@@ -27,10 +27,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com> | |||
27 | 1 file changed, 10 insertions(+), 9 deletions(-) | 27 | 1 file changed, 10 insertions(+), 9 deletions(-) |
28 | 28 | ||
29 | diff --git a/configure.ac b/configure.ac | 29 | diff --git a/configure.ac b/configure.ac |
30 | index d60f052..e491e24 100644 | 30 | index 0c06914..299786b 100644 |
31 | --- a/configure.ac | 31 | --- a/configure.ac |
32 | +++ b/configure.ac | 32 | +++ b/configure.ac |
33 | @@ -54,6 +54,7 @@ AC_CONFIG_HEADER(pyconfig.h) | 33 | @@ -61,6 +61,7 @@ AC_CONFIG_HEADER(pyconfig.h) |
34 | AC_CANONICAL_HOST | 34 | AC_CANONICAL_HOST |
35 | AC_SUBST(build) | 35 | AC_SUBST(build) |
36 | AC_SUBST(host) | 36 | AC_SUBST(host) |
@@ -38,7 +38,7 @@ index d60f052..e491e24 100644 | |||
38 | 38 | ||
39 | # pybuilddir.txt will be created by --generate-posix-vars in the Makefile | 39 | # pybuilddir.txt will be created by --generate-posix-vars in the Makefile |
40 | rm -f pybuilddir.txt | 40 | rm -f pybuilddir.txt |
41 | @@ -689,7 +690,7 @@ AC_MSG_RESULT($with_cxx_main) | 41 | @@ -688,7 +689,7 @@ AC_MSG_RESULT($with_cxx_main) |
42 | preset_cxx="$CXX" | 42 | preset_cxx="$CXX" |
43 | if test -z "$CXX" | 43 | if test -z "$CXX" |
44 | then | 44 | then |
@@ -47,7 +47,7 @@ index d60f052..e491e24 100644 | |||
47 | gcc) AC_PATH_TOOL(CXX, [g++], [g++], [notfound]) ;; | 47 | gcc) AC_PATH_TOOL(CXX, [g++], [g++], [notfound]) ;; |
48 | cc) AC_PATH_TOOL(CXX, [c++], [c++], [notfound]) ;; | 48 | cc) AC_PATH_TOOL(CXX, [c++], [c++], [notfound]) ;; |
49 | clang|*/clang) AC_PATH_TOOL(CXX, [clang++], [clang++], [notfound]) ;; | 49 | clang|*/clang) AC_PATH_TOOL(CXX, [clang++], [clang++], [notfound]) ;; |
50 | @@ -975,7 +976,7 @@ rmdir CaseSensitiveTestDir | 50 | @@ -976,7 +977,7 @@ rmdir CaseSensitiveTestDir |
51 | 51 | ||
52 | case $ac_sys_system in | 52 | case $ac_sys_system in |
53 | hp*|HP*) | 53 | hp*|HP*) |
@@ -56,7 +56,7 @@ index d60f052..e491e24 100644 | |||
56 | cc|*/cc) CC="$CC -Ae";; | 56 | cc|*/cc) CC="$CC -Ae";; |
57 | esac;; | 57 | esac;; |
58 | esac | 58 | esac |
59 | @@ -1366,7 +1367,7 @@ else | 59 | @@ -1374,7 +1375,7 @@ else |
60 | fi], | 60 | fi], |
61 | [AC_MSG_RESULT(no)]) | 61 | [AC_MSG_RESULT(no)]) |
62 | if test "$Py_LTO" = 'true' ; then | 62 | if test "$Py_LTO" = 'true' ; then |
@@ -65,7 +65,7 @@ index d60f052..e491e24 100644 | |||
65 | *clang*) | 65 | *clang*) |
66 | AC_SUBST(LLVM_AR) | 66 | AC_SUBST(LLVM_AR) |
67 | AC_PATH_TOOL(LLVM_AR, llvm-ar, '', ${llvm_path}) | 67 | AC_PATH_TOOL(LLVM_AR, llvm-ar, '', ${llvm_path}) |
68 | @@ -1456,7 +1457,7 @@ then | 68 | @@ -1467,7 +1468,7 @@ then |
69 | fi | 69 | fi |
70 | fi | 70 | fi |
71 | LLVM_PROF_ERR=no | 71 | LLVM_PROF_ERR=no |
@@ -74,7 +74,7 @@ index d60f052..e491e24 100644 | |||
74 | *clang*) | 74 | *clang*) |
75 | # Any changes made here should be reflected in the GCC+Darwin case below | 75 | # Any changes made here should be reflected in the GCC+Darwin case below |
76 | PGO_PROF_GEN_FLAG="-fprofile-instr-generate" | 76 | PGO_PROF_GEN_FLAG="-fprofile-instr-generate" |
77 | @@ -1517,7 +1518,7 @@ esac | 77 | @@ -1528,7 +1529,7 @@ esac |
78 | # compiler and platform. BASECFLAGS tweaks need to be made even if the | 78 | # compiler and platform. BASECFLAGS tweaks need to be made even if the |
79 | # user set OPT. | 79 | # user set OPT. |
80 | 80 | ||
@@ -83,7 +83,7 @@ index d60f052..e491e24 100644 | |||
83 | *clang*) | 83 | *clang*) |
84 | cc_is_clang=1 | 84 | cc_is_clang=1 |
85 | ;; | 85 | ;; |
86 | @@ -1653,7 +1654,7 @@ yes) | 86 | @@ -1664,7 +1665,7 @@ yes) |
87 | 87 | ||
88 | # ICC doesn't recognize the option, but only emits a warning | 88 | # ICC doesn't recognize the option, but only emits a warning |
89 | ## XXX does it emit an unused result warning and can it be disabled? | 89 | ## XXX does it emit an unused result warning and can it be disabled? |
@@ -92,7 +92,7 @@ index d60f052..e491e24 100644 | |||
92 | *icc*) | 92 | *icc*) |
93 | ac_cv_disable_unused_result_warning=no | 93 | ac_cv_disable_unused_result_warning=no |
94 | ;; | 94 | ;; |
95 | @@ -1993,7 +1994,7 @@ yes) | 95 | @@ -2018,7 +2019,7 @@ yes) |
96 | ;; | 96 | ;; |
97 | esac | 97 | esac |
98 | 98 | ||
@@ -101,7 +101,7 @@ index d60f052..e491e24 100644 | |||
101 | *icc*) | 101 | *icc*) |
102 | # ICC needs -fp-model strict or floats behave badly | 102 | # ICC needs -fp-model strict or floats behave badly |
103 | CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict" | 103 | CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict" |
104 | @@ -2765,7 +2766,7 @@ then | 104 | @@ -2836,7 +2837,7 @@ then |
105 | then | 105 | then |
106 | LINKFORSHARED="-Wl,--export-dynamic" | 106 | LINKFORSHARED="-Wl,--export-dynamic" |
107 | fi;; | 107 | fi;; |
@@ -110,7 +110,7 @@ index d60f052..e491e24 100644 | |||
110 | *gcc*) | 110 | *gcc*) |
111 | if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null | 111 | if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null |
112 | then | 112 | then |
113 | @@ -5507,7 +5508,7 @@ if test "$have_gcc_asm_for_x87" = yes; then | 113 | @@ -5622,7 +5623,7 @@ if test "$have_gcc_asm_for_x87" = yes; then |
114 | # Some versions of gcc miscompile inline asm: | 114 | # Some versions of gcc miscompile inline asm: |
115 | # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491 | 115 | # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491 |
116 | # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html | 116 | # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html |
diff --git a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch index 2b5a7d308c..4fb63a9b7a 100644 --- a/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch +++ b/meta/recipes-devtools/python/python3/0001-sysconfig.py-use-platlibdir-also-for-purelib.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 93346d1a2f5d4f7085391bc7c1230d85ebe00606 Mon Sep 17 00:00:00 2001 | 1 | From 9162460d81ccc725fb04a14b27d0bf4afcfb69c9 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex@linutronix.de> | 2 | From: Alexander Kanavin <alex@linutronix.de> |
3 | Date: Sun, 12 Sep 2021 21:44:36 +0200 | 3 | Date: Sun, 12 Sep 2021 21:44:36 +0200 |
4 | Subject: [PATCH] sysconfig.py: use platlibdir also for purelib | 4 | Subject: [PATCH] sysconfig.py: use platlibdir also for purelib |
@@ -8,12 +8,13 @@ is not correct. | |||
8 | 8 | ||
9 | Upstream-Status: Inappropriate [oe-core specific] | 9 | Upstream-Status: Inappropriate [oe-core specific] |
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | 10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
11 | |||
11 | --- | 12 | --- |
12 | Lib/sysconfig.py | 2 +- | 13 | Lib/sysconfig.py | 2 +- |
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 15 | ||
15 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py | 16 | diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py |
16 | index b70d392..c418acd 100644 | 17 | index daf9f00..e64bcdc 100644 |
17 | --- a/Lib/sysconfig.py | 18 | --- a/Lib/sysconfig.py |
18 | +++ b/Lib/sysconfig.py | 19 | +++ b/Lib/sysconfig.py |
19 | @@ -27,7 +27,7 @@ _INSTALL_SCHEMES = { | 20 | @@ -27,7 +27,7 @@ _INSTALL_SCHEMES = { |
@@ -25,6 +26,3 @@ index b70d392..c418acd 100644 | |||
25 | 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', | 26 | 'platlib': '{platbase}/{platlibdir}/python{py_version_short}/site-packages', |
26 | 'include': | 27 | 'include': |
27 | '{installed_base}/include/python{py_version_short}{abiflags}', | 28 | '{installed_base}/include/python{py_version_short}{abiflags}', |
28 | -- | ||
29 | 2.20.1 | ||
30 | |||
diff --git a/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch b/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch index 7d684b3c43..371021c0a9 100644 --- a/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch +++ b/meta/recipes-devtools/python/python3/0001-test_ctypes.test_find-skip-without-tools-sdk.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7a2bddfa437be633bb6945d0e6b7d6f27da870ad Mon Sep 17 00:00:00 2001 | 1 | From 13aa6449c47980c7270dad2527c3911517bf34e6 Mon Sep 17 00:00:00 2001 |
2 | From: Tim Orling <timothy.t.orling@intel.com> | 2 | From: Tim Orling <timothy.t.orling@intel.com> |
3 | Date: Fri, 18 Jun 2021 11:56:50 -0700 | 3 | Date: Fri, 18 Jun 2021 11:56:50 -0700 |
4 | Subject: [PATCH] test_ctypes.test_find: skip without tools-sdk | 4 | Subject: [PATCH] test_ctypes.test_find: skip without tools-sdk |
@@ -10,15 +10,16 @@ easiest way to dynamically check for that is looking for | |||
10 | Upstream-Status: Inappropriate [oe-specific] | 10 | Upstream-Status: Inappropriate [oe-specific] |
11 | 11 | ||
12 | Signed-off-by: Tim Orling <timothy.t.orlign@intel.com> | 12 | Signed-off-by: Tim Orling <timothy.t.orlign@intel.com> |
13 | |||
13 | --- | 14 | --- |
14 | Lib/ctypes/test/test_find.py | 2 ++ | 15 | Lib/ctypes/test/test_find.py | 2 ++ |
15 | 1 file changed, 2 insertions(+) | 16 | 1 file changed, 2 insertions(+) |
16 | 17 | ||
17 | diff --git a/Lib/ctypes/test/test_find.py b/Lib/ctypes/test/test_find.py | 18 | diff --git a/Lib/ctypes/test/test_find.py b/Lib/ctypes/test/test_find.py |
18 | index 92ac184..0d009d1 100644 | 19 | index 1ff9d01..59def26 100644 |
19 | --- a/Lib/ctypes/test/test_find.py | 20 | --- a/Lib/ctypes/test/test_find.py |
20 | +++ b/Lib/ctypes/test/test_find.py | 21 | +++ b/Lib/ctypes/test/test_find.py |
21 | @@ -112,10 +112,12 @@ class FindLibraryLinux(unittest.TestCase): | 22 | @@ -113,10 +113,12 @@ class FindLibraryLinux(unittest.TestCase): |
22 | # LD_LIBRARY_PATH) | 23 | # LD_LIBRARY_PATH) |
23 | self.assertEqual(find_library(libname), 'lib%s.so' % libname) | 24 | self.assertEqual(find_library(libname), 'lib%s.so' % libname) |
24 | 25 | ||
diff --git a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch index c3d1e06d00..c762f98307 100644 --- a/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch +++ b/meta/recipes-devtools/python/python3/0001-test_locale.py-correct-the-test-output-format.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b94995e0c694ec9561efec0d1a59b323340e6105 Mon Sep 17 00:00:00 2001 | 1 | From 46856e692377d21be3562f6f90c242f5c9594ae2 Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <mingli.yu@windriver.com> | 2 | From: Mingli Yu <mingli.yu@windriver.com> |
3 | Date: Mon, 5 Aug 2019 15:57:39 +0800 | 3 | Date: Mon, 5 Aug 2019 15:57:39 +0800 |
4 | Subject: [PATCH] test_locale.py: correct the test output format | 4 | Subject: [PATCH] test_locale.py: correct the test output format |
@@ -23,19 +23,19 @@ Before this patch: | |||
23 | 23 | ||
24 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/15132] | 24 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/15132] |
25 | 25 | ||
26 | |||
27 | Rebased for 3.9.4, still not accepted upstream Signed-off-by: Alejandro Hernandez <alejandro@enedino.org> | 26 | Rebased for 3.9.4, still not accepted upstream Signed-off-by: Alejandro Hernandez <alejandro@enedino.org> |
28 | 27 | ||
29 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | 28 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> |
29 | |||
30 | --- | 30 | --- |
31 | Lib/test/test_locale.py | 2 +- | 31 | Lib/test/test_locale.py | 2 +- |
32 | 1 file changed, 1 insertion(+), 1 deletion(-) | 32 | 1 file changed, 1 insertion(+), 1 deletion(-) |
33 | 33 | ||
34 | Index: Python-3.9.4/Lib/test/test_locale.py | 34 | diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py |
35 | =================================================================== | 35 | index f844e62..04df0c2 100644 |
36 | --- Python-3.9.4.orig/Lib/test/test_locale.py | 36 | --- a/Lib/test/test_locale.py |
37 | +++ Python-3.9.4/Lib/test/test_locale.py | 37 | +++ b/Lib/test/test_locale.py |
38 | @@ -562,7 +562,7 @@ class TestMiscellaneous(unittest.TestCas | 38 | @@ -564,7 +564,7 @@ class TestMiscellaneous(unittest.TestCase): |
39 | self.skipTest('test needs Turkish locale') | 39 | self.skipTest('test needs Turkish locale') |
40 | loc = locale.getlocale(locale.LC_CTYPE) | 40 | loc = locale.getlocale(locale.LC_CTYPE) |
41 | if verbose: | 41 | if verbose: |
diff --git a/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch b/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch index 5823273af3..0ead57e465 100644 --- a/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch +++ b/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a2dd127b4163aff6cc35af0d0251321964232ad4 Mon Sep 17 00:00:00 2001 | 1 | From 246c5ffe75a2d494e415d8a7522df9fe22056d41 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Mon, 7 Oct 2019 13:22:14 +0200 | 3 | Date: Mon, 7 Oct 2019 13:22:14 +0200 |
4 | Subject: [PATCH] setup.py: do not report missing dependencies for disabled | 4 | Subject: [PATCH] setup.py: do not report missing dependencies for disabled |
@@ -14,14 +14,14 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
14 | Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> | 14 | Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org> |
15 | 15 | ||
16 | --- | 16 | --- |
17 | setup.py | 4 ++++ | 17 | setup.py | 8 ++++++++ |
18 | 1 file changed, 4 insertions(+) | 18 | 1 file changed, 8 insertions(+) |
19 | 19 | ||
20 | diff --git a/setup.py b/setup.py | 20 | diff --git a/setup.py b/setup.py |
21 | index 7691258..ec3f2a4 100644 | 21 | index 2be4738..62f0e18 100644 |
22 | --- a/setup.py | 22 | --- a/setup.py |
23 | +++ b/setup.py | 23 | +++ b/setup.py |
24 | @@ -408,6 +408,14 @@ class PyBuildExt(build_ext): | 24 | @@ -517,6 +517,14 @@ class PyBuildExt(build_ext): |
25 | print("%-*s %-*s %-*s" % (longest, e, longest, f, | 25 | print("%-*s %-*s %-*s" % (longest, e, longest, f, |
26 | longest, g)) | 26 | longest, g)) |
27 | 27 | ||
diff --git a/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch b/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch index e04a91605c..30d2906439 100644 --- a/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch +++ b/meta/recipes-devtools/python/python3/0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 863c09f640a5dfd33ff22915b0d5fee7bc5df70a Mon Sep 17 00:00:00 2001 | 1 | From 788cd0464ee2b175493a0167ceee8c0045ce323c Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Sun, 16 Feb 2020 17:50:25 +0100 | 3 | Date: Sun, 16 Feb 2020 17:50:25 +0100 |
4 | Subject: [PATCH] configure.ac, setup.py: do not add a curses include path from | 4 | Subject: [PATCH] configure.ac, setup.py: do not add a curses include path from |
@@ -11,16 +11,17 @@ as dnf failures). | |||
11 | 11 | ||
12 | Upstream-Status: Inappropriate [oe-core specific] | 12 | Upstream-Status: Inappropriate [oe-core specific] |
13 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 13 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
14 | |||
14 | --- | 15 | --- |
15 | configure.ac | 6 ------ | 16 | configure.ac | 6 ------ |
16 | setup.py | 2 -- | 17 | setup.py | 2 -- |
17 | 2 files changed, 8 deletions(-) | 18 | 2 files changed, 8 deletions(-) |
18 | 19 | ||
19 | diff --git a/configure.ac b/configure.ac | 20 | diff --git a/configure.ac b/configure.ac |
20 | index 915f475..c911011 100644 | 21 | index e5e3df8..bfdd987 100644 |
21 | --- a/configure.ac | 22 | --- a/configure.ac |
22 | +++ b/configure.ac | 23 | +++ b/configure.ac |
23 | @@ -4828,12 +4828,6 @@ then | 24 | @@ -5092,12 +5092,6 @@ then |
24 | [Define if you have struct stat.st_mtimensec]) | 25 | [Define if you have struct stat.st_mtimensec]) |
25 | fi | 26 | fi |
26 | 27 | ||
@@ -34,10 +35,10 @@ index 915f475..c911011 100644 | |||
34 | 35 | ||
35 | # On Solaris, term.h requires curses.h | 36 | # On Solaris, term.h requires curses.h |
36 | diff --git a/setup.py b/setup.py | 37 | diff --git a/setup.py b/setup.py |
37 | index b0f1541..7208cd0 100644 | 38 | index 62f0e18..c190002 100644 |
38 | --- a/setup.py | 39 | --- a/setup.py |
39 | +++ b/setup.py | 40 | +++ b/setup.py |
40 | @@ -973,8 +973,6 @@ class PyBuildExt(build_ext): | 41 | @@ -1169,8 +1169,6 @@ class PyBuildExt(build_ext): |
41 | panel_library = 'panel' | 42 | panel_library = 'panel' |
42 | if curses_library == 'ncursesw': | 43 | if curses_library == 'ncursesw': |
43 | curses_defines.append(('HAVE_NCURSESW', '1')) | 44 | curses_defines.append(('HAVE_NCURSESW', '1')) |
diff --git a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch index cc64e3ecf7..bb2984cc71 100644 --- a/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch +++ b/meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f6411021856bafedd784748ec33494151e783b51 Mon Sep 17 00:00:00 2001 | 1 | From 99cfdb5f3debd38f50b73a7713161f8b56ce842e Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 14 May 2013 15:00:26 -0700 | 3 | Date: Tue, 14 May 2013 15:00:26 -0700 |
4 | Subject: [PATCH] python3: Add target and native recipes | 4 | Subject: [PATCH] python3: Add target and native recipes |
@@ -12,6 +12,7 @@ Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de> | |||
12 | Signed-off-by: Phil Blundell <philb@gnu.org> | 12 | Signed-off-by: Phil Blundell <philb@gnu.org> |
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 14 | Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> |
15 | |||
15 | --- | 16 | --- |
16 | Lib/distutils/sysconfig.py | 14 +++++++++++--- | 17 | Lib/distutils/sysconfig.py | 14 +++++++++++--- |
17 | 1 file changed, 11 insertions(+), 3 deletions(-) | 18 | 1 file changed, 11 insertions(+), 3 deletions(-) |
@@ -55,6 +56,3 @@ index 3414a76..361d3a1 100644 | |||
55 | "python" + get_python_version()) | 56 | "python" + get_python_version()) |
56 | if standard_lib: | 57 | if standard_lib: |
57 | return libpython | 58 | return libpython |
58 | -- | ||
59 | 2.20.1 | ||
60 | |||
diff --git a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch index 184540e794..2de72b7199 100644 --- a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch +++ b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From ba7202700578d435b07cfdfb7b57e83185752800 Mon Sep 17 00:00:00 2001 | 1 | From 6a23d52c905cd1f6a5944255903ec86ea8b904bb Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Gherzan <andrei@gherzan.ro> | 2 | From: Andrei Gherzan <andrei@gherzan.ro> |
3 | Date: Mon, 28 Jan 2019 15:57:54 +0000 | 3 | Date: Mon, 28 Jan 2019 15:57:54 +0000 |
4 | Subject: [PATCH] _tkinter module needs tk module along with tcl. tk is not yet | 4 | Subject: [PATCH] _tkinter module needs tk module along with tcl. tk is not yet |
@@ -15,10 +15,10 @@ Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | |||
15 | 1 file changed, 2 insertions(+), 2 deletions(-) | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
16 | 16 | ||
17 | diff --git a/setup.py b/setup.py | 17 | diff --git a/setup.py b/setup.py |
18 | index ab18ff0..7691258 100644 | 18 | index 11b5cf5..2be4738 100644 |
19 | --- a/setup.py | 19 | --- a/setup.py |
20 | +++ b/setup.py | 20 | +++ b/setup.py |
21 | @@ -1706,8 +1706,8 @@ class PyBuildExt(build_ext): | 21 | @@ -1895,8 +1895,8 @@ class PyBuildExt(build_ext): |
22 | self.detect_decimal() | 22 | self.detect_decimal() |
23 | self.detect_ctypes() | 23 | self.detect_ctypes() |
24 | self.detect_multiprocessing() | 24 | self.detect_multiprocessing() |
diff --git a/meta/recipes-devtools/python/python3/cgi_py.patch b/meta/recipes-devtools/python/python3/cgi_py.patch index 6c4ba54320..81e6099cfb 100644 --- a/meta/recipes-devtools/python/python3/cgi_py.patch +++ b/meta/recipes-devtools/python/python3/cgi_py.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 62336285cba38017b35cb761c03f0c7e80a671a3 Mon Sep 17 00:00:00 2001 | 1 | From 5b0d1212d661e9a8a36738279fc9109f96eebd25 Mon Sep 17 00:00:00 2001 |
2 | From: Mark Hatle <mark.hatle@windriver.com> | 2 | From: Mark Hatle <mark.hatle@windriver.com> |
3 | Date: Wed, 21 Sep 2011 20:55:33 -0500 | 3 | Date: Wed, 21 Sep 2011 20:55:33 -0500 |
4 | Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment | 4 | Subject: [PATCH] Lib/cgi.py: Update the script as mentioned in the comment |
@@ -12,7 +12,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | |||
12 | 1 file changed, 1 insertion(+), 10 deletions(-) | 12 | 1 file changed, 1 insertion(+), 10 deletions(-) |
13 | 13 | ||
14 | diff --git a/Lib/cgi.py b/Lib/cgi.py | 14 | diff --git a/Lib/cgi.py b/Lib/cgi.py |
15 | index 8cf6687..094c7b4 100755 | 15 | index 6cb8cf2..a873ff3 100755 |
16 | --- a/Lib/cgi.py | 16 | --- a/Lib/cgi.py |
17 | +++ b/Lib/cgi.py | 17 | +++ b/Lib/cgi.py |
18 | @@ -1,13 +1,4 @@ | 18 | @@ -1,13 +1,4 @@ |
diff --git a/meta/recipes-devtools/python/python3/crosspythonpath.patch b/meta/recipes-devtools/python/python3/crosspythonpath.patch index d789ab57d4..5bb25264da 100644 --- a/meta/recipes-devtools/python/python3/crosspythonpath.patch +++ b/meta/recipes-devtools/python/python3/crosspythonpath.patch | |||
@@ -1,4 +1,8 @@ | |||
1 | configure.ac: add CROSSPYTHONPATH into PYTHONPATH for PYTHON_FOR_BUILD | 1 | From baa3a232e64e9bf5ae945366efdb8088ccf9b828 Mon Sep 17 00:00:00 2001 |
2 | From: Ricardo Ribalda <ricardo@ribalda.com> | ||
3 | Date: Tue, 18 Nov 2014 03:35:33 -0500 | ||
4 | Subject: [PATCH] configure.ac: add CROSSPYTHONPATH into PYTHONPATH for | ||
5 | PYTHON_FOR_BUILD | ||
2 | 6 | ||
3 | When building x86->x86 the system will try to execute .so and related items | 7 | When building x86->x86 the system will try to execute .so and related items |
4 | from the default PYTHONPATH. This will fail if the target CPU contains | 8 | from the default PYTHONPATH. This will fail if the target CPU contains |
@@ -10,11 +14,16 @@ Upstream-Status: Inappropriate [OE-Core integration specific] | |||
10 | Credits-to: Mark Hatle <mark.hatle@windriver.com> | 14 | Credits-to: Mark Hatle <mark.hatle@windriver.com> |
11 | Credits-to: Jackie Huang <jackie.huang@windriver.com> | 15 | Credits-to: Jackie Huang <jackie.huang@windriver.com> |
12 | Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> | 16 | Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com> |
17 | |||
18 | --- | ||
19 | configure.ac | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
13 | diff --git a/configure.ac b/configure.ac | 22 | diff --git a/configure.ac b/configure.ac |
14 | index 4ab19a6..7036a53 100644 | 23 | index d0db062..e5e3df8 100644 |
15 | --- a/configure.ac | 24 | --- a/configure.ac |
16 | +++ b/configure.ac | 25 | +++ b/configure.ac |
17 | @@ -76,7 +76,7 @@ if test "$cross_compiling" = yes; then | 26 | @@ -83,7 +83,7 @@ if test "$cross_compiling" = yes; then |
18 | AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) | 27 | AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) |
19 | fi | 28 | fi |
20 | AC_MSG_RESULT($interp) | 29 | AC_MSG_RESULT($interp) |
diff --git a/meta/recipes-devtools/python/python3/makerace.patch b/meta/recipes-devtools/python/python3/makerace.patch index b150c1cb38..2c06784ffc 100644 --- a/meta/recipes-devtools/python/python3/makerace.patch +++ b/meta/recipes-devtools/python/python3/makerace.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8b8583fb4f2bb3421e31ef06d17c04deec431c7e Mon Sep 17 00:00:00 2001 | 1 | From 7cc02dfa593d1350a689d64a7a6f2dc6478afe24 Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Tue, 13 Jul 2021 23:19:29 +0100 | 3 | Date: Tue, 13 Jul 2021 23:19:29 +0100 |
4 | Subject: [PATCH] python3: Fix make race | 4 | Subject: [PATCH] python3: Fix make race |
@@ -18,10 +18,10 @@ Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | |||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
19 | 19 | ||
20 | diff --git a/Makefile.pre.in b/Makefile.pre.in | 20 | diff --git a/Makefile.pre.in b/Makefile.pre.in |
21 | index 69d47a2..c471b60 100644 | 21 | index 5e13ba2..026bffd 100644 |
22 | --- a/Makefile.pre.in | 22 | --- a/Makefile.pre.in |
23 | +++ b/Makefile.pre.in | 23 | +++ b/Makefile.pre.in |
24 | @@ -1528,7 +1528,7 @@ TESTSUBDIRS= ctypes/test \ | 24 | @@ -1527,7 +1527,7 @@ TESTSUBDIRS= ctypes/test \ |
25 | unittest/test unittest/test/testmock | 25 | unittest/test unittest/test/testmock |
26 | 26 | ||
27 | TEST_MODULES=@TEST_MODULES@ | 27 | TEST_MODULES=@TEST_MODULES@ |
diff --git a/meta/recipes-devtools/python/python3/python-config.patch b/meta/recipes-devtools/python/python3/python-config.patch index c53f646af3..4da399e46e 100644 --- a/meta/recipes-devtools/python/python3/python-config.patch +++ b/meta/recipes-devtools/python/python3/python-config.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 57d073c12e7bede29919117b0141df14015eb27f Mon Sep 17 00:00:00 2001 | 1 | From 8632f25ac4e2c53a3c2c8a1b4fc97fc86e8aad5a Mon Sep 17 00:00:00 2001 |
2 | From: Tyler Hall <tylerwhall@gmail.com> | 2 | From: Tyler Hall <tylerwhall@gmail.com> |
3 | Date: Sun, 4 May 2014 20:06:43 -0400 | 3 | Date: Sun, 4 May 2014 20:06:43 -0400 |
4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig | 4 | Subject: [PATCH] python-config: Revert to using distutils.sysconfig |
@@ -16,11 +16,11 @@ Upstream-Status: Inappropriate [Embedded Specific] | |||
16 | Signed-off-by: Tyler Hall <tylerwhall@gmail.com> | 16 | Signed-off-by: Tyler Hall <tylerwhall@gmail.com> |
17 | 17 | ||
18 | --- | 18 | --- |
19 | Misc/python-config.in | 10 +++++----- | 19 | Misc/python-config.in | 12 +++++++----- |
20 | 1 file changed, 5 insertions(+), 5 deletions(-) | 20 | 1 file changed, 7 insertions(+), 5 deletions(-) |
21 | 21 | ||
22 | diff --git a/Misc/python-config.in b/Misc/python-config.in | 22 | diff --git a/Misc/python-config.in b/Misc/python-config.in |
23 | index ebd99da..13e57ae 100644 | 23 | index ebd99da..0492e08 100644 |
24 | --- a/Misc/python-config.in | 24 | --- a/Misc/python-config.in |
25 | +++ b/Misc/python-config.in | 25 | +++ b/Misc/python-config.in |
26 | @@ -6,7 +6,9 @@ | 26 | @@ -6,7 +6,9 @@ |
@@ -34,7 +34,7 @@ index ebd99da..13e57ae 100644 | |||
34 | 34 | ||
35 | valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', | 35 | valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', |
36 | 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir', | 36 | 'ldflags', 'extension-suffix', 'help', 'abiflags', 'configdir', |
37 | @@ -35,14 +35,14 @@ if '--help' in opt_flags: | 37 | @@ -35,14 +37,14 @@ if '--help' in opt_flags: |
38 | 38 | ||
39 | for opt in opt_flags: | 39 | for opt in opt_flags: |
40 | if opt == '--prefix': | 40 | if opt == '--prefix': |
diff --git a/meta/recipes-devtools/python/python3_3.10.0.bb b/meta/recipes-devtools/python/python3_3.10.1.bb index e3300b6495..6115ffe5b3 100644 --- a/meta/recipes-devtools/python/python3_3.10.0.bb +++ b/meta/recipes-devtools/python/python3_3.10.1.bb | |||
@@ -41,7 +41,7 @@ SRC_URI:append:class-native = " \ | |||
41 | file://12-distutils-prefix-is-inside-staging-area.patch \ | 41 | file://12-distutils-prefix-is-inside-staging-area.patch \ |
42 | file://0001-Don-t-search-system-for-headers-libraries.patch \ | 42 | file://0001-Don-t-search-system-for-headers-libraries.patch \ |
43 | " | 43 | " |
44 | SRC_URI[sha256sum] = "5a99f8e7a6a11a7b98b4e75e0d1303d3832cada5534068f69c7b6222a7b1b002" | 44 | SRC_URI[sha256sum] = "a7f1265b6e1a5de1ec5c3ec7019ab53413469934758311e9d240c46e5ae6e177" |
45 | 45 | ||
46 | # exclude pre-releases for both python 2.x and 3.x | 46 | # exclude pre-releases for both python 2.x and 3.x |
47 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" | 47 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" |