-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpi-tools: add gpiod support #9591
base: libreelec-12.0
Are you sure you want to change the base?
Conversation
PKG_ARCH="arm aarch64" | ||
PKG_LICENSE="LGPLv2.1" | ||
PKG_SITE="https://pypi.org/project/gpiod/" | ||
PKG_URL="https://files.pythonhosted.org/packages/5a/be/9876843be7d8d3e05582de8919077b9084beac5d9791b139653e3048e4fd/gpiod-${PKG_VERSION}.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Your advice is very welcome. I was looking for a more general URL without the hash value of a CDN. Do you know the pattern from the past or is there an overview I missed?
packages/addons/addon-depends/rpi-tools-depends/gpiod/package.mk
Outdated
Show resolved
Hide resolved
NB: This should be submitted to |
- URL changed to be more generic
I will prepare a second PR for the master branch and would leave this one open for a subsequent backport to LE12. |
gpiod are the official Python bindings for libgpiod. libgpiod is already part of the system tools add-on, only these Python bindings are currently missing to be able to use it in Python scripts.
lgpio and gpiozero are easier to use, but currently have some insurmountable problems, as I have tried to explain here:
Feature request: RPi-Tools with official Python bindings for libgpiod