python3-itsdangerous: Upgrade 2.1.2 -> 2.2.0

Upgrade to release 2.2.0:

- Drop support for Python 3.7
- Use modern packaging metadata with pyproject.toml instead of
  setup.cfg
- Use flit_core instead of setuptools as build backend
- Deprecate the __version__ attribute. Use feature detection, or
  importlib.metadata.version("itsdangerous"), instead.
- Serializer and the return type of dumps is generic for type
  checking. By default it is Serializer[str] and dumps returns a
  str. If a different serializer argument is given, it will try to
  infer the return type of its dumps method.
- The default hashlib.sha1 may not be available in FIPS builds.
  Don't access it at import time so the developer has time to
  change the default.

License-Update: Renamed from LICENSE.rst to LICENSE.txt

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi 2024-08-09 11:52:31 +03:00 committed by Khem Raj
parent 6f0a41130c
commit d7235d0abe
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -1,11 +1,11 @@
SUMMARY = "Various helpers to pass trusted data to untrusted environments and back."
HOMEPAGE = "http://github.com/mitsuhiko/itsdangerous"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=4cda9a0ebd516714f360b0e9418cfb37"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4cda9a0ebd516714f360b0e9418cfb37"
SRC_URI[sha256sum] = "5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a"
SRC_URI[sha256sum] = "e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173"
inherit pypi setuptools3
inherit pypi python_setuptools_build_meta
CLEANBROKEN = "1"