From 54a8746c93bd0bc8db5c197cc55f909cf803dc9a Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Sun, 26 Apr 2026 21:18:25 +0200 Subject: [PATCH] python3-ubus: update to 0.1.3 Bump to version 0.1.3 and drop patch, which is in upstream. Signed-off-by: Erik Larsson --- lang/python/python-ubus/Makefile | 6 +++--- ...e-project-compatible-with-python3.13.patch | 21 ------------------- 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 lang/python/python-ubus/patches/0001-make-project-compatible-with-python3.13.patch diff --git a/lang/python/python-ubus/Makefile b/lang/python/python-ubus/Makefile index af3220f46c8710..41d9973c25c2cf 100644 --- a/lang/python/python-ubus/Makefile +++ b/lang/python/python-ubus/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-ubus -PKG_VERSION:=0.1.2 -PKG_RELEASE:=2 +PKG_VERSION:=0.1.3 +PKG_RELEASE:=1 PYPI_NAME:=ubus -PKG_HASH:=4dc4ef0fbcc8abb7a2354691475a58ff3eb015f1bab3150750729f7f657dd440 +PKG_HASH:=e737ae171b38836c26bc3e50e9c468afd47d9cc8bc01f33a5b569a05e1d8567f PKG_MAINTAINER:=Erik Larsson PKG_LICENSE:=LGPL-2.1-or-later diff --git a/lang/python/python-ubus/patches/0001-make-project-compatible-with-python3.13.patch b/lang/python/python-ubus/patches/0001-make-project-compatible-with-python3.13.patch deleted file mode 100644 index 89d83ae3bdd4a3..00000000000000 --- a/lang/python/python-ubus/patches/0001-make-project-compatible-with-python3.13.patch +++ /dev/null @@ -1,21 +0,0 @@ -From e76b4f915c80d0fdfdd6602593b1f7bd7e078c3b Mon Sep 17 00:00:00 2001 -From: Stepan Henek -Date: Thu, 5 Mar 2026 12:38:21 +0100 -Subject: [PATCH] make project compatible with python3.13 - ---- - ubus_python.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - ---- a/ubus_python.c -+++ b/ubus_python.c -@@ -1078,7 +1078,8 @@ static PyObject *ubus_python_add(PyObjec - if (PyList_Append(python_alloc_list, methods)) { - ubus_remove_object(ctx, &object->object); - free_ubus_object(object); -- PyEval_CallMethod(python_alloc_list, "pop", ""); -+ PyObject *_pop_result = PyObject_CallMethod(python_alloc_list, "pop", NULL); -+ Py_XDECREF(_pop_result); - return NULL; - } -