mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
https://www.python.org/downloads/release/python-3142/ https://docs.python.org/release/3.14.2/whatsnew/changelog.html Rebased all patches. Added patch 0010 to fix build error reported by Julien: https://gitlab.com/jolivain/buildroot/-/jobs/12589702787 Kodi added the same patch: https://github.com/xbmc/xbmc/blob/master/tools/depends/target/python3/process-vm-ready.patch Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
67 lines
1.9 KiB
Diff
67 lines
1.9 KiB
Diff
From baef276faa676d1b0faf64a91fa627b5f8fcc5e0 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Date: Wed, 22 Feb 2017 17:31:51 -0800
|
|
Subject: [PATCH] Add an option to disable the curses module
|
|
|
|
Upstream: N/A
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
|
[ Andrey Smirnov: ported to Python 3.6 ]
|
|
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
|
|
[ Adam Duskett: ported to Python 3.10.0 ]
|
|
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
|
[ Vincent Fazio: ported to Python 3.13.2 ]
|
|
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
|
|
[ Bernd Kuhls: ported to Python 3.14.2]
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
---
|
|
Makefile.pre.in | 5 ++++-
|
|
configure.ac | 7 +++++++
|
|
2 files changed, 11 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
index 2c91d0dda71..fb11e416731 100644
|
|
--- a/Makefile.pre.in
|
|
+++ b/Makefile.pre.in
|
|
@@ -2555,7 +2555,6 @@ LIBSUBDIRS= asyncio \
|
|
concurrent concurrent/futures concurrent/interpreters \
|
|
csv \
|
|
ctypes ctypes/macholib \
|
|
- curses \
|
|
dbm \
|
|
email email/mime \
|
|
encodings \
|
|
@@ -2732,6 +2731,10 @@ LIBSUBDIRS += tkinter
|
|
TESTSUBDIRS += test/test_tkinter test/test_ttk
|
|
endif
|
|
|
|
+ifeq (@CURSES@,yes)
|
|
+LIBSUBDIRS += curses
|
|
+endif
|
|
+
|
|
COMPILEALL_OPTS=-j0
|
|
|
|
ifeq (@PYDOC@,yes)
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 840976ec1bd..1d7ba91ccc9 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -4802,6 +4802,13 @@ AC_ARG_ENABLE(sqlite3,
|
|
AS_IF([test "$SQLITE3" = "no"],
|
|
[PY_STDLIB_MOD_SET_NA([_sqlite3])])
|
|
|
|
+AC_SUBST(CURSES)
|
|
+AC_ARG_ENABLE(curses,
|
|
+ AS_HELP_STRING([--disable-curses], [disable curses]),
|
|
+ [ CURSES="${enableval}" ], [ CURSES=yes ])
|
|
+AS_IF([test "$CURSES" = "no"],
|
|
+ [PY_STDLIB_MOD_SET_NA([_curses], [_curses_panel])])
|
|
+
|
|
AC_SUBST(PYDOC)
|
|
|
|
AC_ARG_ENABLE(pydoc,
|
|
--
|
|
2.47.3
|
|
|