From 0bd2ae3b4fc0fd16300861a55c04ad6d72389d49 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 23 Jan 2022 23:37:25 +0100 Subject: [PATCH] package/python-itsdangerous: bump to version 2.0.1 - python 2 support has been dropped since version 2.0.0 and https://github.com/pallets/itsdangerous/commit/e085f3eedf94fe42391aaa9fc349927f8feaa367 - Update hash of license file (license standardized: https://github.com/pallets/itsdangerous/commit/c880f85ccdaee29adab8b47ad79eb7bdec507b57) - Update indentation in hash file (two spaces) https://itsdangerous.palletsprojects.com/en/2.0.x/changes/#version-2-0-1 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/python-itsdangerous/Config.in | 4 ++-- package/python-itsdangerous/python-itsdangerous.hash | 8 +++++--- package/python-itsdangerous/python-itsdangerous.mk | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package/python-itsdangerous/Config.in b/package/python-itsdangerous/Config.in index 39ec0b7725..72aa9165f8 100644 --- a/package/python-itsdangerous/Config.in +++ b/package/python-itsdangerous/Config.in @@ -1,7 +1,7 @@ config BR2_PACKAGE_PYTHON_ITSDANGEROUS bool "python-itsdangerous" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_ZLIB # runtime help Itsdangerous contains various helpers to pass data to untrusted environments and to get it back safe and sound. diff --git a/package/python-itsdangerous/python-itsdangerous.hash b/package/python-itsdangerous/python-itsdangerous.hash index 0904a91183..dad4ec0800 100644 --- a/package/python-itsdangerous/python-itsdangerous.hash +++ b/package/python-itsdangerous/python-itsdangerous.hash @@ -1,4 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/itsdangerous/json -md5 9b7f5afa7f1e3acfb7786eeca3d99307 itsdangerous-1.1.0.tar.gz -sha256 321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19 itsdangerous-1.1.0.tar.gz -sha256 feb28bfa348d816b0e7dbaeddf18499ee7e8007c67813db8d6ab37c65e046cd4 LICENSE.rst +md5 996b9763d1b4bd0edd6eb86f0a490629 itsdangerous-2.0.1.tar.gz +sha256 9e724d68fc22902a1435351f84c3fb8623f303fffcc566a4cb952df8c572cff0 itsdangerous-2.0.1.tar.gz +# Locally computed sha256 checksums +sha256 63af09891b6be8ad1a4252ed43af0f4efba7fc948e228367bed7f3c5ae0b09d7 LICENSE.rst +sha256 c9362a7258a11c84a8f7e825ccbbb5c425c6fc02368d3aee6494533fb99ba1f4 docs/license.rst diff --git a/package/python-itsdangerous/python-itsdangerous.mk b/package/python-itsdangerous/python-itsdangerous.mk index 9429233703..c53bc6b9ba 100644 --- a/package/python-itsdangerous/python-itsdangerous.mk +++ b/package/python-itsdangerous/python-itsdangerous.mk @@ -4,11 +4,11 @@ # ################################################################################ -PYTHON_ITSDANGEROUS_VERSION = 1.1.0 +PYTHON_ITSDANGEROUS_VERSION = 2.0.1 PYTHON_ITSDANGEROUS_SOURCE = itsdangerous-$(PYTHON_ITSDANGEROUS_VERSION).tar.gz -PYTHON_ITSDANGEROUS_SITE = https://files.pythonhosted.org/packages/68/1a/f27de07a8a304ad5fa817bbe383d1238ac4396da447fa11ed937039fa04b +PYTHON_ITSDANGEROUS_SITE = https://files.pythonhosted.org/packages/58/66/d6c5859dcac92b442626427a8c7a42322068c5cd5d4a463ce78b93f730b7 PYTHON_ITSDANGEROUS_SETUP_TYPE = setuptools PYTHON_ITSDANGEROUS_LICENSE = BSD-3-Clause -PYTHON_ITSDANGEROUS_LICENSE_FILES = LICENSE.rst +PYTHON_ITSDANGEROUS_LICENSE_FILES = LICENSE.rst docs/license.rst $(eval $(python-package))