From: Ernestas Kulik Date: Thu, 16 Apr 2026 13:12:44 +0000 (+0300) Subject: libgpiod: make Python bindings optional X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2fc1a5deebee6663ccd5e7dcd07ee00bac45cc07;p=openwrt-packages.git 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 --- diff --git a/libs/libgpiod/Makefile b/libs/libgpiod/Makefile index 77bee5451..66e9c7733 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