summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.in1
-rwxr-xr-xbuild.sh2
-rw-r--r--package/python-newt/Config.in5
-rw-r--r--package/python-newt/newt.mk9
-rw-r--r--patches/newt/001-python-snack.patch39
5 files changed, 1 insertions, 55 deletions
diff --git a/Config.in b/Config.in
index 9c91f56..eebedeb 100644
--- a/Config.in
+++ b/Config.in
@@ -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"
diff --git a/build.sh b/build.sh
index 0bbd47c..7d7e4f5 100755
--- a/build.sh
+++ b/build.sh
@@ -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();