first commit: base 2024.08

Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
tao89959
2025-02-12 17:59:29 +08:00
committed by maoxiaochuan
commit f3217a7708
14356 changed files with 572894 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
config BR2_PACKAGE_PYTHON_LIBUSB1
bool "python-libusb1"
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB
help
Pure-python wrapper for libusb-1.0.
http://github.com/vpelletier/python-libusb1
comment "python-libusb1 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/libusb1/json
md5 7b4f094786d1dfc8d011c7649d8ccb97 libusb1-3.1.0.tar.gz
sha256 4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c libusb1-3.1.0.tar.gz
# Locally computed sha256 checksums
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER
+15
View File
@@ -0,0 +1,15 @@
################################################################################
#
# python-libusb1
#
################################################################################
PYTHON_LIBUSB1_VERSION = 3.1.0
PYTHON_LIBUSB1_SOURCE = libusb1-$(PYTHON_LIBUSB1_VERSION).tar.gz
PYTHON_LIBUSB1_SITE = https://files.pythonhosted.org/packages/af/19/53ecbfb96d6832f2272d13b84658c360802fcfff7c0c497ab8f6bf15ac40
PYTHON_LIBUSB1_SETUP_TYPE = setuptools
PYTHON_LIBUSB1_LICENSE = LGPL-2.1+
PYTHON_LIBUSB1_LICENSE_FILES = COPYING.LESSER
PYTHON_LIBUSB1_DEPENDENCIES = libusb
$(eval $(python-package))