mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_PYTHON_PYUSB
|
||||
bool "python-pyusb"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
The PyUSB module provides easy access to the Universal
|
||||
Serial Bus (USB) from Python.
|
||||
|
||||
http://sourceforge.net/apps/trac/pyusb/
|
||||
|
||||
comment "python-pyusb needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/pyusb/json
|
||||
md5 880008dff32dac8f58076b4e534492d9 pyusb-1.2.1.tar.gz
|
||||
sha256 a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9 pyusb-1.2.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 03e39fdcee9c18f2f9d0c3500a993ddeac050695eb81070ea41347587c76a7fe LICENSE
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-pyusb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_PYUSB_VERSION = 1.2.1
|
||||
PYTHON_PYUSB_SOURCE = pyusb-$(PYTHON_PYUSB_VERSION).tar.gz
|
||||
PYTHON_PYUSB_SITE = https://files.pythonhosted.org/packages/d9/6e/433a5614132576289b8643fe598dd5d51b16e130fd591564be952e15bb45
|
||||
PYTHON_PYUSB_LICENSE = BSD-3-Clause
|
||||
PYTHON_PYUSB_LICENSE_FILES = LICENSE
|
||||
PYTHON_PYUSB_SETUP_TYPE = setuptools
|
||||
PYTHON_PYUSB_DEPENDENCIES = host-python-setuptools-scm libusb
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user