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 0c245fda70.

Signed-off-by: Ernestas Kulik <ernestas.k@iconn-networks.com>
This commit is contained in:
Ernestas Kulik
2026-04-16 16:12:44 +03:00
committed by Alexandru Ardelean
parent cc4f8076d9
commit 2fc1a5deeb
+2 -2
View File
@@ -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