package/python-hwdata: bump to version 2.4.1

Drop no longer required license file download.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
James Hilliard 2024-01-09 01:19:17 -07:00 committed by Peter Korsgaard
parent bb803fbd91
commit beef64d5ea
2 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/hwdata/json
md5 dccf3b28d06fb9c6f56875e148356c24 hwdata-2.3.7.tar.gz
sha256 9e5c96be38d9218ffde40834d4ca03344b8dfaed29c8c5afe0030125ea03db03 hwdata-2.3.7.tar.gz
# Locally computed
md5 0344fe7a3e21041c2ef0ed36ee2bef18 hwdata-2.4.1.tar.gz
sha256 9bad80237c81cc091615179d665a3ef1213acca4caa378ff037c81f34538cde9 hwdata-2.4.1.tar.gz
# Locally computed sha256 checksums
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE

View File

@ -4,20 +4,11 @@
#
################################################################################
PYTHON_HWDATA_VERSION = 2.3.7
PYTHON_HWDATA_VERSION = 2.4.1
PYTHON_HWDATA_SOURCE = hwdata-$(PYTHON_HWDATA_VERSION).tar.gz
PYTHON_HWDATA_SITE = https://files.pythonhosted.org/packages/15/26/f5bc1b42129fbcbd1c99c29714af1685fc89e2cf37680a9930d4fcac1808
PYTHON_HWDATA_SITE = https://files.pythonhosted.org/packages/ff/ec/4a6e57d765a63f7e9a8c5348f0bf3f7d39243dc5bc695fa1e887ca5856c8
PYTHON_HWDATA_SETUP_TYPE = setuptools
PYTHON_HWDATA_LICENSE = GPL-2.0+
PYTHON_HWDATA_LICENSE_FILES = LICENSE
# There is no LICENSE file in the PyPi tarball, but it is available in
# upstream git repository:
PYTHON_HWDATA_EXTRA_DOWNLOADS = https://raw.githubusercontent.com/xsuchy/python-hwdata/python-hwdata-$(PYTHON_HWDATA_VERSION)-1/LICENSE
define PYTHON_HWDATA_ADD_LICENSE_FILE
cp $(PYTHON_HWDATA_DL_DIR)/LICENSE $(@D)
endef
PYTHON_HWDATA_POST_EXTRACT_HOOKS += PYTHON_HWDATA_ADD_LICENSE_FILE
$(eval $(python-package))