Initial Commit
- initial default booting image
This commit is contained in:
15
package/python-gpiod/Config.in
Normal file
15
package/python-gpiod/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_PYTHON_GPIOD
|
||||
bool "python-gpiod"
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 # libgpiod2
|
||||
depends on !BR2_PACKAGE_LIBGPIOD # libgpiod2
|
||||
select BR2_PACKAGE_LIBGPIOD2
|
||||
help
|
||||
Python bindings for libgpiod (v2+).
|
||||
|
||||
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/bindings/python/
|
||||
|
||||
comment "python-gpiod needs kernel headers >= 5.10"
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10
|
||||
|
||||
comment "python-gpiod is incompatible with libgpiod"
|
||||
depends on BR2_PACKAGE_LIBGPIOD
|
||||
5
package/python-gpiod/python-gpiod.hash
Normal file
5
package/python-gpiod/python-gpiod.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/gpiod/json
|
||||
md5 b9df2fa69d4d7a77b0d5c70ff157a6c9 gpiod-2.5.0.tar.gz
|
||||
sha256 53ae5a1f14d6388c155b591ca0fc0cfa73b44d4f6d8d117e8a9e68f5902d187a gpiod-2.5.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c LICENSE
|
||||
16
package/python-gpiod/python-gpiod.mk
Normal file
16
package/python-gpiod/python-gpiod.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-gpiod
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_GPIOD_VERSION = 2.5.0
|
||||
PYTHON_GPIOD_SOURCE = gpiod-$(PYTHON_GPIOD_VERSION).tar.gz
|
||||
PYTHON_GPIOD_SITE = https://files.pythonhosted.org/packages/fc/c2/c7bc26965855f39ae3e1b09b404a1fdc3b172dac371012c316f5b9b6a314
|
||||
PYTHON_GPIOD_SETUP_TYPE = setuptools
|
||||
PYTHON_GPIOD_LICENSE = LGPL-2.1+
|
||||
PYTHON_GPIOD_LICENSE_FILES = LICENSE
|
||||
PYTHON_GPIOD_DEPENDENCIES = libgpiod2
|
||||
PYTHON_GPIOD_ENV = LINK_SYSTEM_LIBGPIOD=1
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user