package/python-pycrate: bump to version 0.7.2

The license.txt file is now part of the release tarball, so it is no
longer needed to download it separately, and re-add it to the source
tree.

The https://github.com/P1sec/pycrate/ repository has been archived, so
use the new official location, as referenced by
https://pypi.org/project/pycrate/.

Signed-off-by: Nasser Afshin <afshin.nasser@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Nasser Afshin 2024-04-01 22:56:29 +03:30 committed by Thomas Petazzoni
parent 0215a6d6f6
commit 653bd0d28b
3 changed files with 5 additions and 11 deletions

View File

@ -4,4 +4,4 @@ config BR2_PACKAGE_PYTHON_PYCRATE
A software suite to handle various data and protocol
formats.
https://github.com/P1sec/pycrate/
https://github.com/pycrate-org/pycrate/

View File

@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pycrate/json
md5 bd21fa697ecff7ad93bec4943230d281 pycrate-0.7.0.tar.gz
sha256 c83232f522b5bbc3b3eeaca2cf38ee63cd3c25d0c15f3ba221e6dafa89b9a763 pycrate-0.7.0.tar.gz
md5 37e1bda10f41fe947512e9d5f8289518 pycrate-0.7.2.tar.gz
sha256 8abd3fb9f3e7a2dc62061490f01e99b2a6185e88b1c9bf30db68853b748b8f61 pycrate-0.7.2.tar.gz
# Locally computed sha256 checksums
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 license.txt

View File

@ -4,17 +4,11 @@
#
################################################################################
PYTHON_PYCRATE_VERSION = 0.7.0
PYTHON_PYCRATE_VERSION = 0.7.2
PYTHON_PYCRATE_SOURCE = pycrate-$(PYTHON_PYCRATE_VERSION).tar.gz
PYTHON_PYCRATE_SITE = https://files.pythonhosted.org/packages/a6/a5/aab94e6bb8b3281cc450dde3961b417bd56abde2401955a9a4904df44c68
PYTHON_PYCRATE_SITE = https://files.pythonhosted.org/packages/f4/01/09aac6ea758ca7b7b1b4832c0c39003752ef7b6c1478e6db2f34171db3fe
PYTHON_PYCRATE_SETUP_TYPE = setuptools
PYTHON_PYCRATE_EXTRA_DOWNLOADS = https://raw.githubusercontent.com/P1sec/pycrate/$(PYTHON_PYCRATE_VERSION)/license.txt
PYTHON_PYCRATE_LICENSE = LGPL-2.1+
PYTHON_PYCRATE_LICENSE_FILES = license.txt
define PYTHON_PYCRATE_ADD_LICENSE_FILE
cp $(PYTHON_PYCRATE_DL_DIR)/license.txt $(@D)
endef
PYTHON_PYCRATE_POST_EXTRACT_HOOKS += PYTHON_PYCRATE_ADD_LICENSE_FILE
$(eval $(python-package))