python3-ubus: update to 0.1.3
authorErik Larsson <redacted>
Sun, 26 Apr 2026 19:18:25 +0000 (21:18 +0200)
committerJosef Schlehofer <redacted>
Tue, 28 Apr 2026 21:12:28 +0000 (23:12 +0200)
Bump to version 0.1.3 and drop patch, which is in upstream.

Signed-off-by: Erik Larsson <redacted>
lang/python/python-ubus/Makefile
lang/python/python-ubus/patches/0001-make-project-compatible-with-python3.13.patch [deleted file]

index af3220f46c8710525436fac880cc697449675018..41d9973c25c2cfa4b4d655f3a6261df059b789ef 100644 (file)
@@ -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 <who+openwrt@cnackers.org>
 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 (file)
index 89d83ae..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-From e76b4f915c80d0fdfdd6602593b1f7bd7e078c3b Mon Sep 17 00:00:00 2001
-From: Stepan Henek <stepan.henek@nic.cz>
-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;
-       }
git clone https://git.99rst.org/PROJECT