package/python-pyusb: bump to version 1.1.1

Along with the version bump the following changes were
needed to get the package built:

- since 1.1.1 PyUSB supports only Python3
- change download file name to lowercase
- the package now requires setuptools and setuptools_scm
- change LICENSE checksum as the copyright year changed to 2021

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2021-02-22 16:00:23 +01:00 committed by Peter Korsgaard
parent f3f64705b9
commit af3a264b3b
3 changed files with 9 additions and 8 deletions

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_PYUSB
bool "python-pyusb"
depends on BR2_PACKAGE_PYTHON3
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
select BR2_PACKAGE_LIBUSB

View File

@ -1,5 +1,5 @@
# md5 from https://pypi.python.org/pypi/pyusb/json
md5 c8a571bfdba778555156af3facaea6fc PyUSB-1.0.0.tar.gz
md5 a9db479f1fb914e91d3106e67a13ae09 pyusb-1.1.1.tar.gz
# Locally computed
sha256 5b34ffa74ac34f330bff949c94ee00ec4a9d147234db17ee2eed2a67c0275368 PyUSB-1.0.0.tar.gz
sha256 de177fb928a0eed8d209fddbfa3861379e08b3b41f34ad17a329c2f78199371d LICENSE
sha256 7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38 pyusb-1.1.1.tar.gz
sha256 03e39fdcee9c18f2f9d0c3500a993ddeac050695eb81070ea41347587c76a7fe LICENSE

View File

@ -4,12 +4,12 @@
#
################################################################################
PYTHON_PYUSB_VERSION = 1.0.0
PYTHON_PYUSB_SOURCE = PyUSB-$(PYTHON_PYUSB_VERSION).tar.gz
PYTHON_PYUSB_SITE = https://pypi.python.org/packages/8a/19/66fb48a4905e472f5dfeda3a1bafac369fbf6d6fc5cf55b780864962652d
PYTHON_PYUSB_VERSION = 1.1.1
PYTHON_PYUSB_SOURCE = pyusb-$(PYTHON_PYUSB_VERSION).tar.gz
PYTHON_PYUSB_SITE = https://files.pythonhosted.org/packages/b9/8d/25c4e446a07e918eb39b5af25c4a83a89db95ae44e4ed5a46c3c53b0a4d6
PYTHON_PYUSB_LICENSE = BSD-3-Clause
PYTHON_PYUSB_LICENSE_FILES = LICENSE
PYTHON_PYUSB_SETUP_TYPE = distutils
PYTHON_PYUSB_DEPENDENCIES = libusb
PYTHON_PYUSB_SETUP_TYPE = setuptools
PYTHON_PYUSB_DEPENDENCIES = host-python-setuptools-scm libusb
$(eval $(python-package))