mirror of
https://github.com/openwrt/packages.git
synced 2026-06-01 07:21:56 +08:00
python-pyusb: add version 1.3.1
PyUSB provides easy USB access in Python via libusb backend: - Pure Python implementation working with libusb-1.0/0.1.x - Requires Python >= 3.9 - High-level Pythonic interface to USB devices - Supports bulk/interrupt/control/isochronous transfers - Homepage: https://pyusb.github.io/pyusb Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
1c973fff92
commit
0b4980efe0
@@ -0,0 +1,45 @@
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=python-pyusb
|
||||
PKG_VERSION:=1.3.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PYPI_NAME:=pyusb
|
||||
PKG_HASH:=3af070b607467c1c164f49d5b0caabe8ac78dbed9298d703a8dbf9df4052d17e
|
||||
|
||||
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||
PKG_LICENSE:=BSD-3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_BUILD_DEPENDS:=python-setuptools/host python-setuptools-scm/host
|
||||
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
define Package/python3-pyusb
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
SUBMENU:=Python
|
||||
TITLE:=Easy USB access for Python
|
||||
URL:=https://pyusb.github.io/pyusb
|
||||
DEPENDS:=+python3-light \
|
||||
+python3-ctypes \
|
||||
+python3-logging \
|
||||
+libusb-1.0
|
||||
endef
|
||||
|
||||
define Package/python3-pyusb/description
|
||||
PyUSB provides easy USB access for Python. It runs on any platform
|
||||
supported by libusb and offers a high-level, Pythonic interface to
|
||||
USB devices.
|
||||
endef
|
||||
|
||||
$(eval $(call Py3Package,python3-pyusb))
|
||||
$(eval $(call BuildPackage,python3-pyusb))
|
||||
$(eval $(call BuildPackage,python3-pyusb-src))
|
||||
Reference in New Issue
Block a user