Initial Commit
- initial default booting image
This commit is contained in:
15
package/python-hid/Config.in
Normal file
15
package/python-hid/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_PYTHON_HID
|
||||
bool "python-hid"
|
||||
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi
|
||||
select BR2_PACKAGE_HIDAPI
|
||||
help
|
||||
ctypes bindings for hidapi.
|
||||
|
||||
https://github.com/apmorton/pyhidapi
|
||||
|
||||
comment "python-hid needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_PACKAGE_HAS_UDEV || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
5
package/python-hid/python-hid.hash
Normal file
5
package/python-hid/python-hid.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/hid/json
|
||||
md5 57f581cb0c91f68d03f7238787d6e644 hid-1.0.9.tar.gz
|
||||
sha256 f4471f11f0e176d1b0cb1b243e55498cc90347a3aede735655304395694ac182 hid-1.0.9.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 5524b425acacdfedeca3f959980f0cd38b00176ebbb292e4a96c520d6074353d LICENSE
|
||||
14
package/python-hid/python-hid.mk
Normal file
14
package/python-hid/python-hid.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-hid
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_HID_VERSION = 1.0.9
|
||||
PYTHON_HID_SOURCE = hid-$(PYTHON_HID_VERSION).tar.gz
|
||||
PYTHON_HID_SITE = https://files.pythonhosted.org/packages/e9/f8/0357a8aa8874a243e96d08a8568efaf7478293e1a3441ddca18039b690c1
|
||||
PYTHON_HID_SETUP_TYPE = setuptools
|
||||
PYTHON_HID_LICENSE = MIT
|
||||
PYTHON_HID_LICENSE_FILES = LICENSE
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user