diff options
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-Don-t-search-system-for-headers-libraries.patch | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch | 12 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3/12-distutils-prefix-is-inside-staging-area.patch | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3/makerace.patch | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3_3.11.4.bb (renamed from meta/recipes-devtools/python/python3_3.11.3.bb) | 2 |
6 files changed, 14 insertions, 14 deletions
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 c9253832cf..222a567dd5 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 6cb667f37beacd832cb409e5244b3c90dfad32f7 Mon Sep 17 00:00:00 2001 | 1 | From aa8f1709c54557d2b51a9a37d15ccc3de62e90cb 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 |
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 df5179e877..07c6aef9b9 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 86061629f4a179e740a17e53dd2c98ab47af2fe2 Mon Sep 17 00:00:00 2001 | 1 | From 7b0a14e7320078ac891d415cab9b7568e3f52ad8 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 |
@@ -30,18 +30,18 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de> | |||
30 | 1 file changed, 4 insertions(+), 1 deletion(-) | 30 | 1 file changed, 4 insertions(+), 1 deletion(-) |
31 | 31 | ||
32 | diff --git a/Lib/pty.py b/Lib/pty.py | 32 | diff --git a/Lib/pty.py b/Lib/pty.py |
33 | index 8d8ce40..35439c6 100644 | 33 | index fefb63a..4cef056 100644 |
34 | --- a/Lib/pty.py | 34 | --- a/Lib/pty.py |
35 | +++ b/Lib/pty.py | 35 | +++ b/Lib/pty.py |
36 | @@ -154,7 +154,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): | 36 | @@ -184,7 +184,10 @@ def _copy(master_fd, master_read=_read, stdin_read=_read): |
37 | os.write(STDOUT_FILENO, data) | 37 | i_buf = i_buf[n:] |
38 | 38 | ||
39 | if STDIN_FILENO in rfds: | 39 | if stdin_avail and STDIN_FILENO in rfds: |
40 | - data = stdin_read(STDIN_FILENO) | 40 | - data = stdin_read(STDIN_FILENO) |
41 | + try: | 41 | + try: |
42 | + data = stdin_read(STDIN_FILENO) | 42 | + data = stdin_read(STDIN_FILENO) |
43 | + except OSError: | 43 | + except OSError: |
44 | + data = b"" | 44 | + data = b"" |
45 | if not data: | 45 | if not data: |
46 | fds.remove(STDIN_FILENO) | 46 | stdin_avail = False |
47 | else: | 47 | else: |
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 d5b7ce2b95..a0f3d72992 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 4ed481f4928c361970e78f27c4d9be8700af176b Mon Sep 17 00:00:00 2001 | 1 | From 512c617bd00b74b30a80dd56a12391de46e2b6cf 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 |
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 5ee4e4f126..bbdd8b586e 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 4c39252c71d8bca81fdc43753c83a59f8668c619 Mon Sep 17 00:00:00 2001 | 1 | From 843574d5a5b0818e83e20f8c0389d567bd4733fb 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 |
diff --git a/meta/recipes-devtools/python/python3/makerace.patch b/meta/recipes-devtools/python/python3/makerace.patch index 979fc9dc36..c71c1e15de 100644 --- a/meta/recipes-devtools/python/python3/makerace.patch +++ b/meta/recipes-devtools/python/python3/makerace.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4f52aaf2a548b3356c6f1369c62b11335dc27464 Mon Sep 17 00:00:00 2001 | 1 | From dde5cb74f55b6dd39d25cff639d16940d9dad505 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,11 +18,11 @@ 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 7558f0c..8cec819 100644 | 21 | index c6d7e85..205af6c 100644 |
22 | --- a/Makefile.pre.in | 22 | --- a/Makefile.pre.in |
23 | +++ b/Makefile.pre.in | 23 | +++ b/Makefile.pre.in |
24 | @@ -2005,7 +2005,7 @@ TESTSUBDIRS= ctypes/test \ | 24 | @@ -2045,7 +2045,7 @@ TESTSUBDIRS= ctypes/test \ |
25 | unittest/test unittest/test/testmock | 25 | unittest/test/testmock |
26 | 26 | ||
27 | TEST_MODULES=@TEST_MODULES@ | 27 | TEST_MODULES=@TEST_MODULES@ |
28 | -libinstall: all $(srcdir)/Modules/xxmodule.c | 28 | -libinstall: all $(srcdir)/Modules/xxmodule.c |
diff --git a/meta/recipes-devtools/python/python3_3.11.3.bb b/meta/recipes-devtools/python/python3_3.11.4.bb index c7974849b6..6b074c48cf 100644 --- a/meta/recipes-devtools/python/python3_3.11.3.bb +++ b/meta/recipes-devtools/python/python3_3.11.4.bb | |||
@@ -39,7 +39,7 @@ SRC_URI:append:class-native = " \ | |||
39 | file://12-distutils-prefix-is-inside-staging-area.patch \ | 39 | file://12-distutils-prefix-is-inside-staging-area.patch \ |
40 | file://0001-Don-t-search-system-for-headers-libraries.patch \ | 40 | file://0001-Don-t-search-system-for-headers-libraries.patch \ |
41 | " | 41 | " |
42 | SRC_URI[sha256sum] = "8a5db99c961a7ecf27c75956189c9602c968751f11dbeae2b900dbff1c085b5e" | 42 | SRC_URI[sha256sum] = "2f0e409df2ab57aa9fc4cbddfb976af44e4e55bf6f619eee6bc5c2297264a7f6" |
43 | 43 | ||
44 | # exclude pre-releases for both python 2.x and 3.x | 44 | # exclude pre-releases for both python 2.x and 3.x |
45 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" | 45 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" |