From 2fc1a5deebee6663ccd5e7dcd07ee00bac45cc07 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Thu, 16 Apr 2026 16:12:44 +0300 Subject: [PATCH] libgpiod: make Python bindings optional The python3-light dependency gets lugged even with the package disabled, so this commit makes python3-light a conditional dependency, similar to gensio in 0c245fda70d580737ee30cc39d42bcca6ddd7f3e. Signed-off-by: Ernestas Kulik --- libs/libgpiod/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libgpiod/Makefile b/libs/libgpiod/Makefile index 77bee5451e..66e9c77330 100644 --- a/libs/libgpiod/Makefile +++ b/libs/libgpiod/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libgpiod PKG_VERSION:=2.1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/software/libs/libgpiod/ @@ -90,7 +90,7 @@ define Package/python3-gpiod SUBMENU:=Python TITLE:=Python bindings for libgpiod URL:=https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git - DEPENDS:=+python3-light +libgpiod + DEPENDS:=+PACKAGE_python3-gpiod:python3-light +libgpiod endef define Package/python3-gpiod/description