From d7235d0abefaeb65c0f90bba7b66d811b11e056b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 9 Aug 2024 11:52:31 +0300 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-itsdangerous_2.1.2.bb | 17 ----------------- .../python/python3-itsdangerous_2.2.0.bb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb b/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb deleted file mode 100644 index 5af1d594b3..0000000000 --- a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.2.bb +++ /dev/null @@ -1,17 +0,0 @@ -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" - -SRC_URI[sha256sum] = "5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a" - -inherit pypi setuptools3 - -CLEANBROKEN = "1" - -RDEPENDS:${PN} += " \ - python3-simplejson \ - python3-netclient \ - python3-compression \ - python3-json \ -" diff --git a/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb b/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb new file mode 100644 index 0000000000..f4d8d52967 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-itsdangerous_2.2.0.bb @@ -0,0 +1,17 @@ +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.txt;md5=4cda9a0ebd516714f360b0e9418cfb37" + +SRC_URI[sha256sum] = "e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173" + +inherit pypi python_setuptools_build_meta + +CLEANBROKEN = "1" + +RDEPENDS:${PN} += " \ + python3-simplejson \ + python3-netclient \ + python3-compression \ + python3-json \ +" -- cgit v1.2.3-54-g00ecf