From beef64d5ea34577f7539d4323d05a0c59bd612c9 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 9 Jan 2024 01:19:17 -0700 Subject: [PATCH] package/python-hwdata: bump to version 2.4.1 Drop no longer required license file download. Signed-off-by: James Hilliard Signed-off-by: Peter Korsgaard --- package/python-hwdata/python-hwdata.hash | 6 +++--- package/python-hwdata/python-hwdata.mk | 13 ++----------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/package/python-hwdata/python-hwdata.hash b/package/python-hwdata/python-hwdata.hash index 0c7ca31476..57c2dd0003 100644 --- a/package/python-hwdata/python-hwdata.hash +++ b/package/python-hwdata/python-hwdata.hash @@ -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 diff --git a/package/python-hwdata/python-hwdata.mk b/package/python-hwdata/python-hwdata.mk index 5e968ce847..c277eebccc 100644 --- a/package/python-hwdata/python-hwdata.mk +++ b/package/python-hwdata/python-hwdata.mk @@ -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))