diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-10-25 22:35:11 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-10-25 22:35:11 +0100 |
| commit | ee5f90b57f3d51ad2c2de8eca2e859df7d9367e5 (patch) | |
| tree | 7d31d6ffdb088ad745d249a2d6963914aa70f524 | |
| parent | 276d18d133cf742c748a5f114eea306b1eee1c39 (diff) | |
Updated to latest buildroot
| -rw-r--r-- | Config.in | 1 | ||||
| -rwxr-xr-x | build.sh | 2 | ||||
| -rw-r--r-- | package/python-newt/Config.in | 5 | ||||
| -rw-r--r-- | package/python-newt/newt.mk | 9 | ||||
| -rw-r--r-- | patches/newt/001-python-snack.patch | 39 |
5 files changed, 1 insertions, 55 deletions
@@ -1,3 +1,2 @@ source "$BR2_EXTERNAL_BASTION_PATH/package/birthday/Config.in" source "$BR2_EXTERNAL_BASTION_PATH/package/byobu/Config.in" -source "$BR2_EXTERNAL_BASTION_PATH/package/python-newt/Config.in" @@ -8,7 +8,7 @@ usage() { echo " - raspberrypi0[w]" } -test -z ${BUILDROOT_DIR} && BUILDROOT_DIR="../buildroot-2026.02/" +test -z ${BUILDROOT_DIR} && BUILDROOT_DIR="../buildroot-2026.08.1/" if [ ! -d ${BUILDROOT_DIR} ]; then usage diff --git a/package/python-newt/Config.in b/package/python-newt/Config.in deleted file mode 100644 index dbe9374..0000000 --- a/package/python-newt/Config.in +++ /dev/null @@ -1,5 +0,0 @@ -config BR2_PACKAGE_NEWT - bool "newt" - help - https://github.com/kaelzhang/python-newt - diff --git a/package/python-newt/newt.mk b/package/python-newt/newt.mk deleted file mode 100644 index 2c45ceb..0000000 --- a/package/python-newt/newt.mk +++ /dev/null @@ -1,9 +0,0 @@ -################################################################################ -# -# newt -# -################################################################################ - -# Use the python configure tool from the staging path: -NEWT_MAKE_ENV += PATH=$(STAGING_DIR)/bin:$$PATH -NEWT_CONF_OPTS += --with-python=python$(PYTHON3_VERSION_MAJOR) diff --git a/patches/newt/001-python-snack.patch b/patches/newt/001-python-snack.patch deleted file mode 100644 index d1a23ba..0000000 --- a/patches/newt/001-python-snack.patch +++ /dev/null @@ -1,39 +0,0 @@ -Update the deprecated functions for python - ---- newt-0.52.23/snack.c.orig 2026-05-27 12:52:32.785944840 +0200 -+++ newt-0.52.23/snack.c 2026-05-27 12:17:34.944987036 +0200 -@@ -456,7 +456,7 @@ static void helpCallbackMarshall(newtCom - PyGILState_STATE _state = PyGILState_Ensure(); - - args = Py_BuildValue("(O)", data); -- result = PyEval_CallObject(helpCallback.cb, args); -+ result = PyObject_CallObject(helpCallback.cb, args); - Py_DECREF (args); - Py_XDECREF(result); - -@@ -473,10 +473,10 @@ static void suspendCallbackMarshall(void - - if (scs->data) { - args = Py_BuildValue("(O)", scs->data); -- result = PyEval_CallObject(scs->cb, args); -+ result = PyObject_CallObject(scs->cb, args); - Py_DECREF (args); - } else -- result = PyEval_CallObject(scs->cb, NULL); -+ result = PyObject_CallObject(scs->cb, NULL); - - if (!result) { - PyErr_Print(); -@@ -498,10 +498,10 @@ static void callbackMarshall(newtCompone - - if (scs->data) { - args = Py_BuildValue("(O)", scs->data); -- result = PyEval_CallObject(scs->cb, args); -+ result = PyObject_CallObject(scs->cb, args); - Py_DECREF (args); - } else -- result = PyEval_CallObject(scs->cb, NULL); -+ result = PyObject_CallObject(scs->cb, NULL); - - if (!result) { - PyErr_Print(); |
